The clustering in WildFly 10 is managed by Infinispan 8.2.4. This project was born in the JBoss community; when it started, it was called JBoss Cache. JBoss Cache/Infinispan has been the cluster library of the JBoss application server since the JBoss 4.x version.
Infinispan is a distributed cache project. It is based on an internal memory in which we can put some kind of data so that it can be distributed in a wide net of nodes where Infinispan is installed and configured.
By default, Infinispan connects all nodes in the same subnet in one group of data. The same achievement happens in WildFly. As an example, we can try to start WildFly 10 in different nodes using the standalone.sh command, deploy a web application, and monitor what happens.
The standalone.sh file in the bin directory of WildFly allows us to choose a starting configuration. We will start an initial...