In this chapter, we will look at some advanced concepts to improve your experience with Infinispan, or to improve the performance and scalability of your cache applications, through code as well as server architecture. We will explore the Map Reduce API to run an Infinispan application in multi-node server clusters.
You will also learn how to integrate Infinispan with the Contexts and Dependency Injection (CDI) to inject CacheManager and Cache in your application and finally, how to implement Cross-site replication to replicate cache data to cache managers asynchronously, to one or multiple data centers.
In this chapter, we will discuss the following topics:
Cross-site replication
Infinispan and CDI
Creating externalizers
Using the Map/Reduce API