The DOI matches its Crossref record.
A Large-scale Analysis of Hundreds of In-memory Key-value Cache Clusters at Twitter
Open accessAbstract
Modern web services use in-memory caching extensively to increase throughput and reduce latency. There have been several workload analyses of production systems that have fueled research in improving the effectiveness of in-memory caching systems. However, the coverage is still sparse considering the wide spectrum of industrial cache use cases. In this work, we significantly further the understanding of real-world cache workloads by collecting production traces from 153 in-memory cache clusters at Twitter, sifting through over 80 TB of data, and sometimes interpreting the workloads in the context of the business logic behind them. We perform a comprehensive analysis to characterize cache workloads based on traffic pattern, time-to-live (TTL), popularity distribution, and size distribution. A fine-grained view of different workloads uncover the diversity of use cases: many are far more write-heavy or more skewed than previously shown and some display unique temporal patterns. We also observe that TTL is an important and sometimes defining parameter of cache working sets. Our simulations show that ideal replacement strategy in production caches can be surprising, for example, FIFO works the best for a large number of workloads.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“To our knowledge, Continnum is the first system to use TTL to regulate LLM KV cache as a function of predicted toolcall durations, scheduling-side delay propagation, and workload pattern.”
From Continuum: Efficient and Robust Multi-Turn LLM Agent Scheduling with KV Cache Time-to-Live (2025) · cites this paper as [58]
Citations
Cites
No references could be resolved yet.
Research works printed but not linked: 89
- Kan Wu , Zhihan Guo , Guanzhou Hu , Kaiwei Tu , Ramnatthan Alagappan , Rathijit Sen , Kwanghyun Park , Andrea C. Arpaci-Dusseau , and Remzi H . Arpaci-Dusseau. 2021. The storage hierarchy is not a hierarchy: Optimizing caching on modern storage devices with Orthus . In Proceedings of the 19th USENIX Conference on File and Storage Technologies (FAST’21) . USENIX Association. Retrieved from https://www.usenix.org/conference/fast21/presentation/wu-kan. Kan Wu, Zhihan Guo, Guanzhou Hu, Kaiwei Tu, Ramnatthan Alagappan, Rathijit Sen, Kwanghyun Park, Andrea C. Arpaci-Dusseau, and Remzi H. Arpaci-Dusseau. 2021. The storage hierarchy is not a hierarchy: Optimizing caching on modern storage devices with Orthus. In Proceedings of the 19th USENIX Conference on File and Storage Technologies (FAST’21). USENIX Association. Retrieved from https://www.usenix.org/conference/fast21/presentation/wu-kan.
- 10.5555/3026877.3026934 · DOI
- Mehmet Altinel , Christof Bornhoevd , Chandrasekaran Mohan , Mir Hamid Pirahesh , Berthold Reinwald , and Saileshwar Krishnamurthy . 2008 . System and Method for Adaptive Database Caching . U.S. Patent 7 , 395 ,258. Mehmet Altinel, Christof Bornhoevd, Chandrasekaran Mohan, Mir Hamid Pirahesh, Berthold Reinwald, and Saileshwar Krishnamurthy. 2008. System and Method for Adaptive Database Caching. U.S. Patent 7,395,258.
- 10.1145/332944.332951 · DOI
- 10.1109/65.844498 · DOI
- 10.1109/90.649565 · DOI
- 10.1145/2318857.2254766 · DOI
- 10.1145/121133.121164 · DOI
- 10.5555/3307441.3307475 · DOI
- 10.1109/HPCA.2015.7056022 · DOI
- Benjamin Berg , Daniel S. Berger , Sara McAllister , Isaac Grosof , Sathya Gunasekar , Jimmy Lu , Michael Uhlar , Jim Carrig , Nathan Beckmann , Mor Harchol-Balter , et al. 2020 . The CacheLib caching engine: Design and experiences at scale . In Proceedings of the 14th USENIX Symposium on Operating Systems Design and Implementation (OSDI’20) . 753–768. Benjamin Berg, Daniel S. Berger, Sara McAllister, Isaac Grosof, Sathya Gunasekar, Jimmy Lu, Michael Uhlar, Jim Carrig, Nathan Beckmann, Mor Harchol-Balter, et al. 2020. The CacheLib caching engine: Design and experiences at scale. In Proceedings of the 14th USENIX Symposium on Operating Systems Design and Implementation (OSDI’20). 753–768.
- 10.5555/3291168.3291183 · DOI
- 10.5555/3154630.3154670 · DOI
- 10.5555/3154690.3154738 · DOI
- 10.1109/INFCOM.1999.749260 · DOI
- 10.5555/2535461.2535468 · DOI
- 10.1145/3357526.3357562 · DOI
- 10.5555/3386691.3386712 · DOI
- 10.1145/3183713.3196898 · DOI
- 10.5555/3386691.3386714 · DOI
- 10.5555/3026959.3026994 · DOI
- 10.5555/3026959.3026994 · DOI
- 10.1145/2741948.2741967 · DOI
- 10.5555/2827719.2827738 · DOI
- 10.5555/2930611.2930636 · DOI
- 10.5555/3154690.3154722 · DOI
- 10.1145/1807128.1807152 · DOI
- 10.1145/2408776.2408794 · DOI · Paper page
- 10.5555/3323234.3323242 · DOI
- 10.5555/3358807.3358809 · DOI
- 10.1145/3149371 · DOI
- 10.5555/2930611.2930645 · DOI
- 10.5555/3323234.3323241 · DOI
- 10.5555/3323234.3323241 · DOI
- 10.1145/3190508.3190524 · DOI
- Tyler Estro , Pranav Bhandari , Avani Wildani , and Erez Zadok . 2020 . Desperately seeking ... optimal multi-tier cache configurations . In Proceedings of the 12th USENIX Workshop on Hot Topics in Storage and File Systems (HotStorage’20) . USENIX Association. Retrieved from https://www.usenix.org/conference/hotstorage20/presentation/estro. Tyler Estro, Pranav Bhandari, Avani Wildani, and Erez Zadok. 2020. Desperately seeking ... optimal multi-tier cache configurations. In Proceedings of the 12th USENIX Workshop on Hot Topics in Storage and File Systems (HotStorage’20). USENIX Association. Retrieved from https://www.usenix.org/conference/hotstorage20/presentation/estro.
- 10.5555/2482626.2482662 · DOI
- 10.1145/2038916.2038939 · DOI
- 10.5555/2535461.2535477 · DOI
- 10.1145/2523616.2525970 · DOI
- 10.5555/2813767.2813772 · DOI
- 10.1145/2517349.2522722 · DOI
- 10.1145/2670518.2673882 · DOI
- Jinho Hwang and Timothy Wood . 2013 . Adaptive performance-aware distributed memory caching . In Proceedings of the 10th International Conference on Autonomic Computing (ICAC’13) . 33–43. Jinho Hwang and Timothy Wood. 2013. Adaptive performance-aware distributed memory caching. In Proceedings of the 10th International Conference on Autonomic Computing (ICAC’13). 33–43.
- 10.1145/2068816.2068845 · DOI
- 10.1145/3383124 · DOI
- 10.1145/3132747.3132764 · DOI
- 10.1145/505202.505223 · DOI
- 10.5555/3026959.3026966 · DOI
- 10.1109/TC.2001.970573 · DOI
- 10.1145/3132747.3132756 · DOI
- 10.5555/2643634.2643686 · DOI
- 10.1145/2814576.2814734 · DOI
- 10.1145/3094785 · DOI
- 10.1145/2741948.2741956 · DOI
- 10.1145/2872887.2750416 · DOI
- 10.5555/2616448.2616488 · DOI
- 10.5555/3323298.3323313 · DOI
- 10.1145/564691.564763 · DOI
- 10.5555/1090694.1090708 · DOI
- 10.5555/2482626.2482663 · DOI
- 10.1145/170036.170081 · DOI
- 10.1145/323647.323631 · DOI
- 10.5555/3026877.3026909 · DOI
- 10.1145/230908.230913 · DOI
- 10.1145/2391229.2391236 · DOI
- 10.1145/98460.98523 · DOI
- 10.5555/2591305.2591307 · DOI
- 10.5555/2591305.2591307 · DOI
- 10.1145/2168836.2168863 · DOI
- 10.1145/3203410 · DOI
- Weisong Shi , Randy Wright , Eli Collins , and Vijay Karamcheti . 2002 . Workload characterization of a personalized web site and its implications for dynamic content caching . In Proceedings of the 7th International Workshop on Web Caching and Content Distribution (WCW’02) . Citeseer. Weisong Shi, Randy Wright, Eli Collins, and Vijay Karamcheti. 2002. Workload characterization of a personalized web site and its implications for dynamic content caching. In Proceedings of the 7th International Workshop on Web Caching and Content Distribution (WCW’02). Citeseer.
- 10.1145/2670518.2673876 · DOI
- 10.5555/2750482.2750510 · DOI
- 10.5555/3277332.3277335 · DOI
- 10.1145/319344.319158 · DOI
- 10.5555/3154690.3154737 · DOI
- Qiuping Wang , Jinhong Li , Wen Xia , Erik Kruus , Biplob Debnath , and Patrick P. C. Lee . 2020. Austere flash caching with deduplication and compression . In Proceedings of the USENIX Annual Technical Conference (USENIXATC’20) . 713–726. Qiuping Wang, Jinhong Li, Wen Xia, Erik Kruus, Biplob Debnath, and Patrick P. C. Lee. 2020. Austere flash caching with deduplication and compression. In Proceedings of the USENIX Annual Technical Conference (USENIXATC’20). 713–726.
- 10.1109/MC.1984.1659158 · DOI
- 10.1145/2068816.2068867 · DOI
- 10.1145/3127479.3131210 · DOI
- Juncheng Yang , Yao Yue , and K. V. Rashmi . 2020. A large-scale analysis of hundreds of in-memory cache clusters at Twitter . In Proceedings of the 14th USENIX Symposium on Operating Systems Design and Implementation (OSDI’20) . USENIX Association, 191–208. Retrieved from https://www.usenix.org/conference/osdi20/presentation/yang. Juncheng Yang, Yao Yue, and K. V. Rashmi. 2020. A large-scale analysis of hundreds of in-memory cache clusters at Twitter. In Proceedings of the 14th USENIX Symposium on Operating Systems Design and Implementation (OSDI’20). USENIX Association, 191–208. Retrieved from https://www.usenix.org/conference/osdi20/presentation/yang.
- Juncheng Yang , Yao Yue , and K. V. Rashmi . 2021. Segcache: Memory-efficient and high-throughput DRAM cache for small objects . In Proceedings of the 18th USENIX Symposium on Networked Systems Design and Implementation (NSDI’21) . USENIX Association. Retrieved from https://www.usenix.org/conference/nsdi21/presentation/yang-juncheng. Juncheng Yang, Yao Yue, and K. V. Rashmi. 2021. Segcache: Memory-efficient and high-throughput DRAM cache for small objects. In Proceedings of the 18th USENIX Symposium on Networked Systems Design and Implementation (NSDI’21). USENIX Association. Retrieved from https://www.usenix.org/conference/nsdi21/presentation/yang-juncheng.
- 10.1145/3379472 · DOI
- 10.5555/3485849.3485869 · DOI
- Wei Zhang , Jinho Hwang , Timothy Wood , K. K. Ramakrishnan , and Howie Huang . 2014 . Load balancing of heterogeneous workloads in memcached clusters . In Proceedings of the 9th International Workshop on Feedback Computing (Feedback Computing 14) . Wei Zhang, Jinho Hwang, Timothy Wood, K. K. Ramakrishnan, and Howie Huang. 2014. Load balancing of heterogeneous workloads in memcached clusters. In Proceedings of the 9th International Workshop on Feedback Computing (Feedback Computing 14).
- 10.1145/3205289.3205299 · DOI
- 10.5555/647055.715773 · DOI
- 10.5555/2342763.2342766 · DOI
Cited by
Sorted by citations
Continuum: Efficient and Robust Multi-Turn LLM Agent Scheduling with KV Cache Time-to-Live
Li, H., He, R., Mang, Q., Zhang, Q., Mao, H., Chen, X., Zhou, H., Zhang, H., Cheung, A., Gonzalez, J., et al. (2025) · arXiv · doi:10.48550/arxiv.2511.02230
Metadata
- Authors
- Yang, J., Yue, Y., & Rashmi, K. V.
- Affiliations
- Carnegie Mellon University (US)
- Twitter (United States) (US)
- Venue
- ACM Transactions on Storage
- Published
- 2021-08-16
- Volume
- 17
- Issue
- 3
- Pages
- 1-35
- ISSN
- 1553-3077 (ISSN-L)
- 1553-3093
- OpenAlex
- W3194881980
- Cited by
- 109
- References
- 0
- Citations by year
- 2026: 19 · 2025: 42 · 2024: 21 · 2023: 19 · 2022: 5 · 2021: 3
- FWCI
- 5.38
- Type
- journal article
- Language
- en
- Open access
- bronze
- doi.org
- Locations
- ACM Transactions on Storage (publishedVersion)
- Funders
- NSF (CNS 1901410 and CNS 1956271)
- Topics
- Physical Sciences › Computer Science › Computer Networks and Communications › Caching and Content Delivery
- Physical Sciences › Computer Science › Computer Networks and Communications › Software System Performance and Reliability
- Physical Sciences › Computer Science › Computer Networks and Communications › Advanced Data Storage Technologies
- Keywords
- in-memory caching, time-to-live, cache replacement policy, traffic patterns, web services, Twitter
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: A Large-scale Analysis of Hundreds of In-memory Key-value Cache Clusters at Twitter. https://app.cochat.ai/papers/10.1145/3468521
- The paper
- Yang, J., Yue, Y., & Rashmi, K. V. (2021). A Large-scale Analysis of Hundreds of In-memory Key-value Cache Clusters at Twitter. ACM Transactions on Storage. https://doi.org/10.1145/3468521