One of the requirements of a cluster is that data is synchronized across its members. This is because, should there be a failure of a node, the application and its session can continue on other members of the cluster. This is known as High Availability.
WildFly uses Infinispan as the distributed caching solution behind its clustering functionality. Although Infinispan is embedded within the application server, it can also be used as a standalone data-grid platform.
We will now quickly look at Infinispan's configuration, which is found in the Infinispan subsystem within the main
domain.xml configuration file.
The following is the backbone of the Infinispan configuration:
<subsystem xmlns="urn:jboss:domain:infinispan:2.0"> ...