Cache management consists of managing static, dynamic, and variable information:
- Static information never changes
- Dynamic information changes frequently
- Variable information changes less frequently than dynamic information
The object cache is stored in various data structures, such as maps and trees. Maps have a key as an identifier and a value, which is an object.
Cache objects can be related to memory, disks, pools, and streams. Caches have attributes related to time to live, group, and region. A region consists of a collection of mapped key-values. Regions can be independent of other regions. Cache configuration consists of defaults, regions, and auxiliaries.
A typical cache manager has the following features:
- Memory management
- Thread pool controls
- Grouping of elements
- Configurable runtime parameters
- Region data separation and configuration
- Remote synchronization...