Book Image

Infinispan data grid platform definitive guide

Book Image

Infinispan data grid platform definitive guide

Overview of this book

Table of Contents (20 chapters)
Infinispan Data Grid Platform Definitive Guide
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Customizing JGroups settings on Infinispan


In clustered mode, Infinispan uses JGroups to enable intermachine communication between nodes within a cluster. It is also used for discovery of new members, departing members, state transfer, failure detection, and reliable delivery.

JGroups provides a declarative way to manage the protocols by using a configuration XML file that will be used to determine the behavior and characteristics of each protocol in JGroups.

To start using Infinispan, you're not required to create or provide a configuration file because, by default, Infinispan uses a configuration file called jgroups-udp.xml bundled in the infinispan-core.jar file. Additionally, you have two other built-in configuration files that you can use within infinispan-core.jar, which are as follows:

  • jgroups-tcp.xml: This file defines a configuration based on TCP as transport (tag <TCP>) and IP multicast address for discovery (tag <MPING> with the mcast_addr attribute). This option is...