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. ...