In this lesson · topic 7 of 7
Topic 7
Check the eviction rules
3 min read
Predict first
Predict first
Predict first
Take away
- A cache pays off because popularity is skewed. More skew means a bigger payoff for the same size.
- Recency adapts fast and frequency identifies stable favourites. Admission with aging gets most of both.
- Test policies on workloads that change, not only on steady ones.
Sources
- Gil Einziger, Roy Friedman, and Ben Manes, TinyLFU: A Highly Efficient Cache Admission Policy, ACM Transactions on Storage, 2017.
- Nimrod Megiddo and Dharmendra Modha, ARC: A Self-Tuning, Low Overhead Replacement Cache, USENIX FAST, 2003.
- Lee Breslau, Pei Cao, Li Fan, Graham Phillips, and Scott Shenker, Web Caching and Zipf-like Distributions: Evidence and Implications, IEEE INFOCOM, 1999.