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
5
votes
3 answers

Low latency message queue

Basically I have one master node that distributes tasks between worker nodes. Number of workers could change, that means that the workers could not be hard coded at the server side. Master submits a task to the queue and one of the workers takes…
andrershov
  • 460
  • 3
  • 12
4
votes
3 answers

JGroups Instances communication

I have two machines in which the JGroups is running. The Problem I am facing is, once a Instances is created in one of the machines, few seconds later I start the other Instances. Both of them initiate separatly(Same Cluster) i.e they don not join…
SriHarish
  • 311
  • 1
  • 4
  • 12
4
votes
1 answer

ISPN000313 error in infinispan

I'm new to Infinispan and I'm using Infinispan 8.1.I just wanted to gain some knowledge on this ISPN000313 error code.I have done a lot of research about this error code,but nothing helps me to understand it. I also want to know when this error will…
karthi keyan
  • 213
  • 2
  • 19
4
votes
1 answer

How to group different cache in a cluster

Assume there are four instances of WildFly 8 running on two machines within the same network. Let's name them A, B, C and D. A, B runs on machine1 and C, D on machine2. In case of UDP clustering it's working fine with multicast address. Using TCP I…
johnsi george
  • 208
  • 3
  • 12
4
votes
4 answers

How Fast Might RMI Be?

I have seen the question: Communication between two separate Java desktop applications (answer: JGroups) and I'm thinking about implementing something with JavaGroups or straight RMI but speed is of the essence. I'm not sending large amounts of data…
Dan Rosenstark
  • 68,471
  • 58
  • 283
  • 421
4
votes
3 answers

Removing JGroups startup message : GMS

On startup JGroups 2.7.0. GA writes to System.out a message along the lines of: --------------------------------------------------------- GMS: address is 10.0.3.35:48641 (cluster=blabla) --------------------------------------------------------- I…
Robert Munteanu
  • 67,031
  • 36
  • 206
  • 278
3
votes
3 answers

Jgroup get Physical Address

I have a few server that is mirrored with JGroup. Recently there are some unexpected behavior where it is out of synch and base on the log, the Jgroup will disconnect from time to time. I would like to write a small program within the JGroup code to…
Reusable
  • 1,888
  • 7
  • 27
  • 46
3
votes
1 answer

Replication Timeouts in Infinispan

I'm working with a 10-node Infinispan cluster used as a Hibernate Search backend. Our servers are running TC server 2.5 (tomcat 6.0.32) on Java 1.6_24. We are using jGroups 2.12.1.3 for handling cluster cache writes from each node, and for…
Peter Bratton
  • 6,302
  • 6
  • 39
  • 61
3
votes
1 answer

JGroups: send(null, null, Message)vs send(Address, null, Message)

I've written simple test for using JGroups. There are two simple applications like this import org.jgroups.*; import org.jgroups.conf.ConfiguratorFactory; import org.jgroups.conf.ProtocolConfiguration; import…
Sergii Zagriichuk
  • 5,389
  • 5
  • 28
  • 45
3
votes
0 answers

Infinispan with hanging threads in level 1 clean up

We are trying to upgrade from Wildfly 18 to 22 and are experiencing some trouble with threads left dangling in the jgroups thread group. When the number of threads reaches the default max number (200) everything stops up (naturally). This takes two…
thoredge
  • 12,237
  • 1
  • 40
  • 55
3
votes
1 answer

Can multiple clients of Infinispan replicated cache share the same persistent file store?

Cross posted at https://developer.jboss.org/thread/279735 Suppose we have multiple docker containers (each of which has java webapps, so multiple JVMs essentially), each of which are using the same replicated Infinispan cache either in: Embedded…
PKM
  • 329
  • 4
  • 17
3
votes
1 answer

JGroups GMS Join fails after member reconnects

I'm using JGroups 4.0.15.Final to implement a cluster application. Everything works fine when I startup the two nodes, they got connected and start working. But when I kill / restart one node they wont join together anymore. Note: Their is one…
jWest
  • 71
  • 1
  • 5
3
votes
0 answers

WildFly 11 - JGroups initialization delay

We have a web based application running on WildFly 11 (Migrated from WildFly 9 recently) and we are facing this weird issue when all the nodes in the cluster are started up. Here is how our application is designed to login and show the home…
Balu
  • 938
  • 8
  • 10
3
votes
1 answer

Keycloak Docker Cluster not removing from JDBC_PING database

I've got a Keycloak standalone HA cluster running on a docker host. The cluster uses JDBC Ping to a PostgreSQL database for discovery (as this will eventually be running on ECS so no multicast). The cluster discovery works well and each node will…
Bonnotbh
  • 515
  • 7
  • 24
3
votes
1 answer

Infinispan's JGroups not joining the same cluster in Docker services

(Query section below towards middle) Cross posted at https://developer.jboss.org/message/982355 Environment: Infinispan 9.13, Embedded cache in a cluster with jgroups, Single file store, Using JGroups inside Docker services in a single docker…
PKM
  • 329
  • 4
  • 17
1
2
3
24 25