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
16
votes
4 answers

Alternatives to JGroups

I want to create a distributed applications on JVM which has a number of nodes, and need a library which allow me to: Manage cluster/grid membership, i.e. I want to get notifications on leave/join Manage messages between cluster members I have…
Konstantin Solomatov
  • 10,252
  • 8
  • 58
  • 88
16
votes
2 answers

JGroups, Terracotta & Hazelcast

Trying to wrap my head around these 3 projects and they all seem to handle slightly different problems that arise when trying to cluster. But all the documentation for them is sort of written for developers that are already "in the know", and are…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
9
votes
1 answer

JBoss 4.2.2 nodes start to cluster then suspect each other

I have a website running with JBoss 4.2.2 on an existing Red Hat server. I'm setting up a second server so as to have a clustered pair (which will then be load-balanced). However, I can't get them to cluster successfully. The existing server starts…
minamikuni
  • 91
  • 1
  • 2
9
votes
1 answer

EC2 JGroups Discovery

For my current project, we've decided to deploy our application to Amazon's Elastic Computing Cloud on some Linux boxes. We use JGroups for group communication and needed a reliable discovery mechanism that didn't require preconfiguring each…
dgarson
  • 103
  • 1
  • 5
7
votes
1 answer

How to configure DNS_PING work with kubernetes StatefulSet

I would like to setup an inifinispan cluster in a kubernetes environment. DNS_PING is the discovery protocol. It works with pod deployed with DeploymentConfig settings. However, when we switch the settings from DeploymentConfig to StatefulSet, it…
William Wong
  • 319
  • 3
  • 12
7
votes
5 answers

Experience with Java clustering?

Would like to hear from people about their experience with java clustering (ie. implementing HA solutions). aka . terracotta, JGroups etc. It doesn't have to be web apps. Experience writing custom stand alone servers would be great also. UPDATE :…
nso1
  • 595
  • 9
  • 18
7
votes
2 answers

ehcache not replicating in liferay cluster

I have the following setup 1.liferay cluster with 2 machines on AWS 2.unicast clustering replication with JGroups over tcp I have the following parameters in the portal-ext.properties #Setup…
user747858
6
votes
1 answer

How do I integrate EhCache 2.9 & JGroups replication?

http://ehcache.org/generated/2.9.0/html/ehc-all/#page/Ehcache_Documentation_Set%2Fco-use_supported_types.html%23wwconnect_header This documentation from ehcache 2.9 says it will support RMI, JGroups, and JMS. But, clearly, the APIs in ehcache-2.9…
Jason
  • 2,006
  • 3
  • 21
  • 36
6
votes
1 answer

JGroups nodes on EC2 not talking although they see each other

I'm trying to use Hibernate Search so that all writes to the Lucene index from jgroupsSlave nodes are sent to the jgroupsMaster node, and then the Lucene index is shared back to the slaves with Infinispan. Everything works locally, but while the…
dustincg
  • 139
  • 9
6
votes
3 answers

How do I force JGroups which node to make coordinator?

I'm looking for a way to force JGroups to use a specific server as the Coordinator, and if that server isn't present, elect a new Coordinator until that one specified rejoins the cluster and it takes over being the Coordinator. In this case, we have…
Drizzt321
  • 993
  • 13
  • 27
5
votes
2 answers

Warning message repeated in Wildfly after scale-down using KUBE_PING

I am attempting to run Wildfly in HA Full mode on Kubernetes using the KUBE_PING JGroups protocol. Everything starts up fine, and I can scale the cluster up, and the nodes recognize one another without any issues. The problem occurs when I attempt…
5
votes
1 answer

Istio (1.0) intra ReplicaSet routing - support traffic between pods in a Kubernetes Deployment

How does Istio support IP based routing between pods in the same Service (or ReplicaSet to be more specific)? We would like to deploy a Tomcat application with replica > 1 within an Istio mesh. The app runs Infinispan, which is using JGroups to sort…
5
votes
3 answers

org.jgroups.protocols.UDP - failed sending message to null

[hannel,192.168.0.46:40014] 15:08:03,642 - ERROR - org.jgroups.protocols.UDP - failed sending message to null (61 bytes) java.lang.Exception: dest=/225.1.2.46:30446 (64 bytes) at org.jgroups.protocols.UDP._send(UDP.java:333) at…
Nik
  • 255
  • 2
  • 3
  • 12
5
votes
1 answer

JGroups eating memory

I currently have a problem with my jgroups configuration, causing thousands of messages getting stuck in the NAKACK.xmit_table. Actually all of them seem to end up in the xmit_table, and a another dump from a few hours later indicates that they…
Sebastian Ganslandt
  • 965
  • 2
  • 13
  • 26
5
votes
2 answers

Problems with lost packets across jgroups channels on EC2

We have been seeing inconsistent network failures when trying to set up Infinispan on EC2 (large instances) over Jgroups 3.1.0-FINAL running on Amazon's 64-bit linux AMI. An empty cache starts fine and seems to work for a time however once the…
Gray
  • 115,027
  • 24
  • 293
  • 354
1
2 3
24 25