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

Author:

Yang Juncheng1,Yue Yao2,Rashmi K. V.1

Affiliation:

1. Carnegie Mellon University, Pittsburgh, PA, USA

2. Twitter, San Francisco, CA, USA

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.

Funder

NSF

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture

Reference117 articles.

1. [n.d.]. Anonymized Twitter Production Cache Traces. Retrieved from https://github.com/twitter/cache-trace. [n.d.]. Anonymized Twitter Production Cache Traces. Retrieved from https://github.com/twitter/cache-trace.

2. [n.d.]. Apache Aurora. Retrieved from http://aurora.apache.org/. [n.d.]. Apache Aurora. Retrieved from http://aurora.apache.org/.

3. [n.d.]. Apache Mesos. Retrieved from http://mesos.apache.org/. [n.d.]. Apache Mesos. Retrieved from http://mesos.apache.org/.

4. [n.d.]. Apache Traffic Server. Retrieved from https://trafficserver.apache.org/. [n.d.]. Apache Traffic Server. Retrieved from https://trafficserver.apache.org/.

5. [n.d.]. Art. 17 GDPR Right to Erasure (“Right to be Forgotten”). Retrieved from https://gdpr-info.eu/art-17-gdpr/. [n.d.]. Art. 17 GDPR Right to Erasure (“Right to be Forgotten”). Retrieved from https://gdpr-info.eu/art-17-gdpr/.

Cited by 31 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. MTDB: an LSM-tree-based key-value store using a multi-tree structure to improve read performance;The Journal of Supercomputing;2024-08-01

2. Dynamic template-based data processing system for database table changes;Third International Conference on Electronic Information Engineering and Data Processing (EIEDP 2024);2024-07-05

3. Object-oriented Unified Encrypted Memory Management for Heterogeneous Memory Architectures;Proceedings of the ACM on Management of Data;2024-05-29

4. VisionEmbedder: Bit-Level-Compact Key-Value Storage with Constant Lookup, Rapid Updates, and Rare Failure;2024 IEEE 40th International Conference on Data Engineering (ICDE);2024-05-13

5. Hill-Cache: Adaptive Integration of Recency and Frequency in Caching with Hill-Climbing;2024 IEEE 40th International Conference on Data Engineering (ICDE);2024-05-13

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3