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

Adding Infinispan to Ticket Monster


So, in front of these new requirements, we will introduce Infinispan for the new architecture, thus addressing the preceding concerns as follows:

  • High concurrency: This enables in-memory data access and optimized locking

  • High volume: The application can handle increasingly large data amounts by adding new data grid nodes

  • Location awareness: A multi-node data grid can be configured so that data is stored on specific nodes. There are two ways to configure it, which are as follows:

    • We have seen in Chapter 4, Infinispan Topologies and Chapter 5, Data Access Patterns, that there are two ways in which you can interact with Infinispan. One is in the embedded mode, where you start an Infinispan instance within your JVM.

    • The other is the client/server mode, where you start a remote Infinispan instance and connect to it using a client connector.

For questions of simplicity and clarity, we will use the library access pattern, as in this particular case, we can benefit...