When the cache is full, who loses?
Eviction Policies: when the cache is full, who loses?
absorb bursts before they become outages
Wrong policy hurts hit rate without warning.
Eviction picks which key to drop when memory is full. LRU drops the least-recently-used. LFU drops the least-frequently-used. ARC adapts between them. Choose by workload.
LRU is fine for scan-resistant patterns and recent-access dominance.
LFU is better for skewed access where popular keys persist.
ARC keeps two lists and balances; mostly an OS-level trick.
Session cache fills up nightly.