Configuring the Infinispan subsystem

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 standalone-ha.xml or domain.xml configuration file.

The following is the backbone of the Infinispan configuration:

<subsystem xmlns="urn:jboss:domain:infinispan:2.0"> ...

Get WildFly Configuration, Deployment, and Administration - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.