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

JGroups equivalent library in C++

at work we have been using JGroups and I have to say that I really like it, however, at home I primarily build with C/C++. I'm wondering if anyone knows of any good/solid ports of JGroups to C++ or any other equivalent software library for C++. I'm…
Kenny Cason
  • 12,109
  • 11
  • 47
  • 72
3
votes
1 answer

Can JGroups be exported to Iran?

Would I be able to use JGroups library in an application that would go to Iran? I've found some encryption related code: org.jgroups.protocols.ENCRYPT.class A more precise question, is the code above using or providing any encryption algorithm? If…
mb3_48900
  • 167
  • 1
  • 10
3
votes
1 answer

Sending a message to JGroup cluster from external resource

I would like to send a message to the nodes in my JGroup cluster, not via one of the nodes, but from an external resource. Is it possible?
danieln
  • 4,795
  • 10
  • 42
  • 64
3
votes
1 answer

Converting object array to string array

I have an item class that contains data such as itemName, price, etc and I add to it when a seller wants to sell something, like so: public void sellItem(String itemName, double Price) throws java.rmi.RemoteException, Exception { items.add(new…
Papantonia
  • 111
  • 10
3
votes
1 answer

Using custom thread pool and executors in Jgroups

if we look inside DefaultThreadFactory of Jgroups the following code is present protected Thread newThread(Runnable r,String name,String addr,String cluster_name) { String thread_name=getNewThreadName(name, addr, cluster_name); …
user666
  • 1,104
  • 12
  • 20
3
votes
0 answers

Infinispan synchronization timeout exception

I'm afraid I'm a little bit of a noob at this, but here goes. I have an issue with Infinispan and timeout during synch. I'm running two instances of JBoss AS7 with Infinispan 5.2.7-FINAL. TCP for synch. Sometimes when deleting an entry from a cache…
3
votes
1 answer

Configuring address and ports for JGroups

When using JGroups, with a component such as Infinispan, it is possible to configure the ports and addresses that JGroups will use. http://www.jgroups.org/manual/html/user-advanced.html For example:
Breako Breako
  • 6,353
  • 14
  • 40
  • 59
3
votes
1 answer

Setting JGroups's Protocol Log level for a given protocol instance

I've got a JGroups setup with more than one JGroups protocol stack (e.g. one for the application server, here JBoss EAP5, and one for a custom application). I'm looking to set a JGroups's Protocol log Level to a given level, but for a given protocol…
Julien Kronegg
  • 4,968
  • 1
  • 47
  • 60
3
votes
1 answer

Distributed cache using infinispan on tomcat fails to start

I'm trying to use infinispan as a distributed cache on my application. I'm using it as a second level cache for hibernate using spring and JPA. Infinispan is configured to work in distributed clustered mode using this infinispan-config.xml
DuduO
  • 31
  • 5
3
votes
1 answer

Tomcat waiting for join jgroups cluster

I uses EHCache + JGroups to replicate the cache of my webapps on 3 tomcat instances.
juliusdev
  • 763
  • 3
  • 8
  • 13
2
votes
1 answer

ClassNotFoundException While Deserializing in OSGi Bundles

In an OSGi bundle (called net.beaconcontroller.cluster), I have a org.jgroups.blocks.ReplicatedHashMap of type . The problem is, during dispatching (that is, deserialization of ControllerInfo on the…
Volkan Yazıcı
  • 1,530
  • 1
  • 15
  • 28
2
votes
1 answer

How to track down sudden traffic spikes in infinispan NAKACK protocol?

We are trying to move a cluster of 30+ servers from ehcache 2.x to infinispan 13.x. We use Spring Boot/Hibernate etc. Pretty common setup. We used EhCache 2.x with UDP JGroups Replication before and never had any problems. This is our infinispan…
Janning Vygen
  • 8,877
  • 9
  • 71
  • 102
2
votes
2 answers

Is there a JGroups equivalent for .NET

Does anybody know of a JGroups equivalent for .NET, with similar features for cluster management and data distribution? /Jon
2
votes
1 answer

Configure Infinispan for Keycloak 17

I want to run Keycloak 17 (Quarkus Edition) in HA mode with the provided infinispan. Because we are running Keycloak on serveral stages, I want to specify a infinispan cluster name. As I understood from the documentation I should configure this in…
GreenLegend
  • 41
  • 1
  • 4
2
votes
1 answer

jboss/eap docker container error from jgroups stack

While running the docker container using "registry.redhat.io/jboss-eap-7/eap73-openjdk8-openshift-rhel7" base image getting the following error. For testing purpose this is executed as a standalone docker container(using docker runtime) under…
Balu R
  • 87
  • 1
  • 1
  • 10
1 2
3
24 25