Cited by 109Caching and Content DeliverySoftware System Performance and ReliabilityAdvanced Data Storage Technologies

The DOI matches its Crossref record.

A Large-scale Analysis of Hundreds of In-memory Key-value Cache Clusters at Twitter

Open access
Yang, Juncheng, Yue, Yao, Rashmi, K. V.·2021·ACM Transactions on Storage

Abstract

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

Crossref · 10.1145/3468521

Cites

Statistics

Recomputing p-values needs the paper’s full text.

Verification

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

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?

Citations

Cites

No references could be resolved yet.

Research works printed but not linked: 89

  1. 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.
  2. 10.5555/3026877.3026934 · DOI
  3. 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.
  4. 10.1145/332944.332951 · DOI
  5. 10.1109/65.844498 · DOI
  6. 10.1109/90.649565 · DOI
  7. 10.1145/2318857.2254766 · DOI
  8. 10.1145/121133.121164 · DOI
  9. 10.5555/3307441.3307475 · DOI
  10. 10.1109/HPCA.2015.7056022 · DOI
  11. 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.
  12. 10.5555/3291168.3291183 · DOI
  13. 10.5555/3154630.3154670 · DOI
  14. 10.5555/3154690.3154738 · DOI
  15. 10.1109/INFCOM.1999.749260 · DOI
  16. 10.5555/2535461.2535468 · DOI
  17. 10.1145/3357526.3357562 · DOI
  18. 10.5555/3386691.3386712 · DOI
  19. 10.1145/3183713.3196898 · DOI
  20. 10.5555/3386691.3386714 · DOI
  21. 10.5555/3026959.3026994 · DOI
  22. 10.5555/3026959.3026994 · DOI
  23. 10.1145/2741948.2741967 · DOI
  24. 10.5555/2827719.2827738 · DOI
  25. 10.5555/2930611.2930636 · DOI
  26. 10.5555/3154690.3154722 · DOI
  27. 10.1145/1807128.1807152 · DOI
  28. 10.1145/2408776.2408794 · DOI · Paper page
  29. 10.5555/3323234.3323242 · DOI
  30. 10.5555/3358807.3358809 · DOI
  31. 10.1145/3149371 · DOI
  32. 10.5555/2930611.2930645 · DOI
  33. 10.5555/3323234.3323241 · DOI
  34. 10.5555/3323234.3323241 · DOI
  35. 10.1145/3190508.3190524 · DOI
  36. 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.
  37. 10.5555/2482626.2482662 · DOI
  38. 10.1145/2038916.2038939 · DOI
  39. 10.5555/2535461.2535477 · DOI
  40. 10.1145/2523616.2525970 · DOI
  41. 10.5555/2813767.2813772 · DOI
  42. 10.1145/2517349.2522722 · DOI
  43. 10.1145/2670518.2673882 · DOI
  44. 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.
  45. 10.1145/2068816.2068845 · DOI
  46. 10.1145/3383124 · DOI
  47. 10.1145/3132747.3132764 · DOI
  48. 10.1145/505202.505223 · DOI
  49. 10.5555/3026959.3026966 · DOI
  50. 10.1109/TC.2001.970573 · DOI
  51. 10.1145/3132747.3132756 · DOI
  52. 10.5555/2643634.2643686 · DOI
  53. 10.1145/2814576.2814734 · DOI
  54. 10.1145/3094785 · DOI
  55. 10.1145/2741948.2741956 · DOI
  56. 10.1145/2872887.2750416 · DOI
  57. 10.5555/2616448.2616488 · DOI
  58. 10.5555/3323298.3323313 · DOI
  59. 10.1145/564691.564763 · DOI
  60. 10.5555/1090694.1090708 · DOI
  61. 10.5555/2482626.2482663 · DOI
  62. 10.1145/170036.170081 · DOI
  63. 10.1145/323647.323631 · DOI
  64. 10.5555/3026877.3026909 · DOI
  65. 10.1145/230908.230913 · DOI
  66. 10.1145/2391229.2391236 · DOI
  67. 10.1145/98460.98523 · DOI
  68. 10.5555/2591305.2591307 · DOI
  69. 10.5555/2591305.2591307 · DOI
  70. 10.1145/2168836.2168863 · DOI
  71. 10.1145/3203410 · DOI
  72. 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.
  73. 10.1145/2670518.2673876 · DOI
  74. 10.5555/2750482.2750510 · DOI
  75. 10.5555/3277332.3277335 · DOI
  76. 10.1145/319344.319158 · DOI
  77. 10.5555/3154690.3154737 · DOI
  78. 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.
  79. 10.1109/MC.1984.1659158 · DOI
  80. 10.1145/2068816.2068867 · DOI
  81. 10.1145/3127479.3131210 · DOI
  82. 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.
  83. 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.
  84. 10.1145/3379472 · DOI
  85. 10.5555/3485849.3485869 · DOI
  86. 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).
  87. 10.1145/3205289.3205299 · DOI
  88. 10.5555/647055.715773 · DOI
  89. 10.5555/2342763.2342766 · DOI

Cited by

Sorted by citations

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
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