Clustering is available in WildFly out of the box. There is no all-in-one library that deals with clustering, but rather a set of libraries that cover different kinds of aspects.
The following diagram shows the basic clustering architecture adopted by WildFly:
The backbone of JBoss clustering is the JGroups library, which provides communication between members of the cluster using a multicast transmission.
Multicast is a protocol where data is transmitted simultaneously to a group of hosts that have joined the appropriate multicast group. You can think about multicast as a radio or television streaming where only those tuned ...