About Storage Tiers
Ehcache has three storage tiers, summarized here:
Memory store – Heap memory that holds a copy of the hottest subset of data from the off-heap store. Subject to Java GC.
Off-heap store – Limited in size only by available RAM. Not subject to Java GC. Can store serialized data only. Provides overflow capacity to the memory store.
Disk store – Backs up in-memory data and provides overflow capacity to the other tiers. Can store serialized data only.
This document defines the standalone storage tiers and their suitable element types and then details the configuration for each storage tier.
Before running in production, it is strongly recommended that you test the tiers with the actual amount of data you expect to use in production. For information about sizing the tiers, refer to
Sizing Storage Tiers.