Terracotta Ehcache 10.7 | Ehcache API Developer Guide | Clustered Caches | Introduction
 
Introduction
Distributed caching allows you to harness additional benefits of horizontal scale-out, without losing on low latency offered by local on-heap tiers.
Diagram illustrating two applications accessing a Terracotta Server. In the application, hot data is cached locally, hotter data in faster tiers. The data cached by one application instance is available to all cluster members. The full dataset is available to the cluster. One or more mirror servers may be deployed to provide High Availability. The ability to span data across multiple active servers for larger scale deployments is available commercially.
To enable clustering with Terracotta, you will have to deploy a Terracotta Server configured with clustered cache storage.
You will then need to configure a cache manager to have clustering capabilities such that the caches it manages can utilize the clustered storage. Finally, any caches which should be distributed should be configured with a clustered storage tier.