TinyLFU: A Highly Efficient Cache Admission Policy
Gil Einziger, Roy Friedman, Ben Manes

TL;DR
TinyLFU introduces a compact, frequency-based cache admission policy that significantly improves cache hit ratios across various workloads by efficiently estimating access frequencies using a novel data structure.
Contribution
The paper presents TinyLFU, a lightweight approximate LFU structure based on Bloom filters, and demonstrates its effectiveness in enhancing cache replacement policies.
Findings
TinyLFU improves cache hit ratios in simulations.
W-TinyLFU outperforms existing policies on multiple traces.
The proposed scheme is efficient and adaptable.
Abstract
This paper proposes to use a frequency based cache admission policy in order to boost the effectiveness of caches subject to skewed access distributions. Given a newly accessed item and an eviction candidate from the cache, our scheme decides, based on the recent access history, whether it is worth admitting the new item into the cache at the expense of the eviction candidate. Realizing this concept is enabled through a novel approximate LFU structure called TinyLFU, which maintains an approximate representation of the access frequency of a large sample of recently accessed items. TinyLFU is very compact and light-weight as it builds upon Bloom filter theory. We study the properties of TinyLFU through simulations of both synthetic workloads as well as multiple real traces from several sources. These simulations demonstrate the performance boost obtained by enhancing various…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCaching and Content Delivery · Covalent Organic Framework Applications · Advanced Data Storage Technologies
