All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.hal.resources.previews.configuration.jgroups.html Maven / Gradle / Ivy

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

The jgroups subsystem provides group communication support for high availability services in ${build.shortName}. It allows you to configure named channels and protocol stacks as well as view runtime statistics for channels. The jgroups subsystem is available when using a configuration that provides high availability capabilities, such as the ha or full-ha profile in a managed domain, or the standalone-ha.xml or standalone-full-ha.xml configuration file for a standalone server.

${build.shortName} is preconfigured with two JGroups stacks:

udp
The nodes in the cluster use User Datagram Protocol (UDP) multicasting to communicate with each other. This is the default stack.
tcp
The nodes in the cluster use Transmission Control Protocol (TCP) to communicate with each other.

You can use the preconfigured stacks or define your own to suit your system’s specific requirements.

Note:
TCP has more overhead and is often considered slower than UDP since it handles error checking, packet ordering, and congestion control itself. JGroups handles these features for UDP, whereas TCP guarantees them itself. TCP is a good choice when using JGroups on unreliable or high congestion networks, or when multicast is not available.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy