Lune

OSDI2020顶会

A large scale analysis of hundreds of in-memory cache clusters at Twitter

Juncheng Yang, Yao Yue, K. V. Rashmi

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 94 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Differentiated Key-Value Storage Management for Balanced I/O Performance 引用了 Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at Facebook
  • The Storage Hierarchy is Not a Hierarchy: Optimizing Caching on Modern Storage Devices with Orthus 引用了 Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at Facebook
  • Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence Directories 引用了 The CacheLib Caching Engine: Design and Experiences at Scale
  • Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence Directories 引用了 HotRing: A Hotspot-Aware In-Memory Key-Value Store
  • KVCache Cache in the Wild: Characterizing and Optimizing KVCache Cache at a Large Cloud Provider 引用了 The CacheLib Caching Engine: Design and Experiences at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper94

  1. Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence DirectoriesJialin Li, Jacob Nelson, Ellis Michael, Xin Jin 等OSDI 2020 · 96 次引用
  2. Differentiated Key-Value Storage Management for Balanced I/O PerformanceYongkun Li, Zhen Liu, Patrick P. C. Lee, Jiayu Wu 等USENIX ATC 2021 · 79 次引用
  3. The Storage Hierarchy is Not a Hierarchy: Optimizing Caching on Modern Storage Devices with OrthusKan Wu, Zhihan Guo, Guanzhou Hu, Kaiwei Tu 等FAST 2021 · 73 次引用
  4. On-demand Container Loading in AWS LambdaMarc Brooker, Mike Danilov, Chris Greenwood, Phil PiwonkaUSENIX ATC 2023 · 73 次引用
  5. KVCache Cache in the Wild: Characterizing and Optimizing KVCache Cache at a Large Cloud ProviderJiahao Wang, Jinbo Han, Xingda Wei, Sijie Shen 等USENIX ATC 2025 · 70 次引用

它引用的 Paper3

  1. The CacheLib Caching Engine: Design and Experiences at ScaleBenjamin Berg, Daniel S. Berger, Sara McAllister, Isaac Grosof 等OSDI 2020 · 145 次引用
  2. HotRing: A Hotspot-Aware In-Memory Key-Value StoreJiqiang Chen, Liang Chen, Sheng Wang, Guoyun Zhu 等FAST 2020 · 80 次引用
  3. Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at FacebookZhichao Cao, Siying Dong, Sagar Vemuri, David H. C. DuFAST 2020

相关 Paper

  1. Segcache: a memory-efficient and scalable in-memory key-value cache for small objectsJuncheng Yang, Yao Yue, Rashmi VinayakNSDI 2021 · 70 次引用
  2. STsCache: An Efficient Semantic Caching Scheme for Time-series Data Workloads Based on Hybrid StorageTao Kong, Hui Li, Yuxuan Zhao, Liping Li 等VLDB 2025
  3. AC-Cache: A Memory-Efficient Caching System for Small Objects via Exploiting Access CorrelationsFulin Nan, Ronglong Wu, Zhirong Shen, Jiahui Yang 等PPoPP 2025 · 1 次引用
  4. TTLs Matter: Efficient Cache Sizing with TTL-Aware Miss Ratio Curves and Working Set SizesSari Sultan, Kia Shakiba, Albert Lee, Paul Chen 等EuroSys 2024 · 8 次引用
  5. TSCache: An Efficient Flash-based Caching Scheme for Time-series Data WorkloadsJian Liu, Kefei Wang, Feng ChenVLDB 2021 · 12 次引用
黄昏的海面,两侧是细线勾勒的悬崖