Book Image

WildFly Configuration, Deployment, and Administration - Second Edition

Book Image

WildFly Configuration, Deployment, and Administration - Second Edition

Overview of this book

Table of Contents (19 chapters)
WildFly Configuration, Deployment, and Administration Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring the WildFly cluster


WildFly supports clustering out of the box. There are several libraries that work together to provide support for clustering. The following figure shows the basic clustering architecture adopted by WildFly:

The JGroups library is core to WildFly clustering. It provides the communication channels between nodes of the cluster using a multicast transmission. These channels are created upon deployment of a clustered application and are used to transmit sessions and contexts around the cluster.

Another important component of clustering is Infinispan. Infinispan handles the replication of your application data across the cluster by means of a distributed cache.

Configuring the JGroups subsystem

Within the realm of JGroups, nodes are commonly referred to as members, and clusters are referred to as groups.

A node is a process running on a host. JGroups keeps track of all processes within a group. When a node joins a group, the system sends a message to all existing members...