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

Chapter 4. Infinispan Topologies

In the previous chapter, you have seen how to use the Cache API and how to configure Infinispan, whether it is declaratively or programmatically. In this chapter, you will explore different ways to design and implement your cache solution, according to the different caching requirements an application might have. Some application might require only basic caching capabilities, others may need only transactional requirements and a cache that handles both read/write operations, and some others may only need a distributed second level cache for an ORM framework.

In order to address these different requirements, Infinispan provides support for a rich set of configuration options, where you can decide for different cache topologies. To begin with, we will cover the internal details of different cache topologies and their respective advantages and disadvantages of each approach.

In this chapter, we will discuss the following topics:

  • Clustering modes

  • Consistent hashing...