3.2. Eviction Strategies
Table 3.1. Eviction Strategies
| ||No eviction occurs.||This is the default eviction strategy in Red Hat JBoss Data Grid.|
| ||Least Recently Used eviction strategy. This strategy evicts entries that have not been used for the longest period. This ensures that entries that are reused periodically remain in memory.|
| ||Unordered eviction strategy. This strategy evicts entries without any ordered algorithm and may therefore evict entries that are required later. However, this strategy saves resources because no algorithm related calculations are required before eviction.||This strategy is recommended for testing purposes and not for a real work implementation.|
| ||Low Inter-Reference Recency Set eviction strategy.||LIRS is an eviction algorithm that suits a large variety of production use cases.|
3.2.1. LRU Eviction Algorithm Limitations
- Single use access entries are not replaced in time.
- Entries that are accessed first are unnecessarily replaced.