Questions tagged [jgroups]

JGroups is a Java networking library that supports reliable group communication over UDP (IP Multicast) or TCP.

JGroups is a toolkit for reliable messaging. It can be used to create clusters whose nodes can send messages to each other.

The most powerful feature of JGroups is its flexible protocol stack, which allows developers to adapt it to exactly match their application requirements and network characteristics.

JGroups comes with a large number of protocols, for example:

  • Transport protocols: (IP Multicast) or
  • Fragmentation of large messages
  • Reliable unicast and multicast message transmission
  • Failure detection: crashed nodes are excluded from the membership
  • Flow control to prevent slow receivers to get overrun by fast senders
  • Ordering protocols: FIFO, Total Order
  • Membership
  • Encryption
  • Compression
368 questions
0
votes
1 answer

jboss with s3ping in ec2

Am trying to get s3ping discovery method working in jboss as 7. I have deployed a sample web app which is clustered. As of now i have a single node. But in the near future i ill be adding more nodes in the cluster.. I have modified the file…
sarath
  • 1
  • 1
0
votes
1 answer

JGroups UDP for membership but TCP for messaging?

We're prototyping a jgroups-based cluster node messaging system that will replace one that was JDBC-based. There are a lot of folks in my organization who are concerned about adding more multicast traffic to an already busy network, so I'm getting…
Scott
  • 888
  • 7
  • 21
0
votes
1 answer

JGroups on Receive ClassNotFoundException

So I am trying to send a message across the cluster, the message will contain a User object which is a Serializable class. When I send a String or an int it works perfectly, the message is sent without a problem and all channels on the cluster…
0
votes
2 answers

Will time-consuming RPC block the heartbeat and so cause timeout in JGroups?

I'm using TCP protocol in my jgroups program and set FD_ALL.timeout to 12000ms FD_ALL.interval=4000ms. sending code like MessageDispatcher.sendMessage(message, new RequestOptions(ResponseMode.GET_ALL, 4000)) RequestHandler code like this: public…
BlackJoker
  • 3,099
  • 2
  • 20
  • 27
0
votes
1 answer

Cluster Not forming with UDP multicasting

Hi I ran 2 instances of infinispan server 6.0.0.CR1 using default Jgroups-UDP config and i dont see cluster formation. I updated the Default Jgroups UDP config interface to point to machine IP instead of Loop back Address.
remo
  • 487
  • 3
  • 10
  • 22
0
votes
1 answer

JGroups with JBoss application server

Where can I find a basic example of code for using Jgroups with JBoss application server. Jboss application server (version 7 or 6) ships with JGroups (used for custering). I simply want to reuse this jgroups module in order to do server to server…
0
votes
0 answers

Getting issue when using JGroups in Fuse ESB 7.1.0

I am using Infinispan which uses JGroups When I run my code on a Windows platform it works fine. But when runnning on Linux I get the following exception: failed sending discovery request at java.net.PlainDatagramSocketImpl.send(Native…
0
votes
1 answer

How to install jGroups for NetBeans 6.7.1

Newbie question - I am using NetBeans 6.7.1 (just installed it) and wanted to write an application using jGroups ... From the sample I need to import org.jgroups.*, but in NetBeans I get the following error: package org.jgroups does not exist So,…
Shaitan00
  • 1,311
  • 2
  • 12
  • 23
0
votes
1 answer

JGroups does not work on different machines

I made a connector to a cluster by jgroups. My instances of connectors do work right and get others messages when they are running on a same machine, but they do not catch others messages when they are running on tow different machines. My JGroups…
Saeed
  • 7,262
  • 14
  • 43
  • 63
0
votes
1 answer

Lock.tryLock() in suspecting node are hanging forever after false Failure Detection

We are using jgroups-3.0.3.Final as a cluster wide locking implementation in a cluster of two nodes. Our JGroups settings(simplified) is as follows:
zxeka
  • 43
  • 3
0
votes
1 answer

Jgroups multicast file transfer

I try to do a multicast file tranfer with jgroups. It works when I put a sleep between each messages. When I remove this sleep, my received file has the same size but it is not openable (order is maybe not respected). I read my file with…
0
votes
1 answer

JGroups function to list available Groups or Clusters

I have a series of clients which communicate with each other using JGroups library, they basically create a communication channel attached to a cluster name: communicationChannel = new…
dendini
  • 3,842
  • 9
  • 37
  • 74
0
votes
1 answer

JGroups ReplicatedHashMap with Partial State Transfer

I'm looking to extend the JGroups ReplicatedHashMap demo with additional functionality - the ability to support named submaps to be replicated across different instances within the same cluster. The basic idea is that not all clients need to have a…
Syllepsis
  • 449
  • 4
  • 13
0
votes
1 answer

Can JGroups be utilized to form the Java equivalent of COMET/Long-Polling?

In webdev-land, COMET/Lojg-Polling allows the server to maintain an open connection with each client and push data to each client as it becomes available. JGroups seems like it can be made to do the same thing between a client Swing application and…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
0
votes
1 answer

Notifying DB change across Java EE apps

I have a web-app communicating to an EJB service to retrieve data and show it to clients. The DB for both web-app and EJB service are different. I cache whatever data I retrieve from the EJB service using ehcache in my web-app. Now, whenever the…
Arun
  • 311
  • 3
  • 7
  • 15
1 2 3
24
25