Latency-Aware Caching with Delayed Hits: From Bursty Traffic to Pipeline Architectures
Nadav Keren, Gil Einziger, Gabriel Scalosub
摘要
Modern computing systems rely on caching to reduce access latency and optimize resource utilization. However, in heterogeneous storage and cloud environments, non-uniform access latencies across storage tiers, network locations, and intermediary caches undermine traditional caching. Moreover, modern cache algorithms that attempt to capture multiple access patterns, recency, frequency, and burstiness, often become complex and difficult to maintain.
As a key contribution, we propose an adaptive caching architecture that treats caching strategies as a pipeline of simple, orthogonal policies, each focused on a distinct access bias. This modular design is easier to expand, debug, and integrate, and it self-adjusts the memory resources allocated to each stage to optimize overall workload performance. New heuristics can be introduced dynamically without disrupting existing behaviors.
In addition, in latency-aware caching, one often encounters the phenomenon of delayed hits, where items not yet available in the cache are requested repeatedly. We introduce the Least Bursty Used (LBU) heuristic, which retains items exhibiting high burstiness even when they are neither recent nor frequent, thereby mitigating delayed hits that degrade request latency. We embed LBU within our pipeline and derive the Recency-Frequency-Burstiness (RFB) policy, which balances resources among recency, frequency, and burstiness. Evaluations on thirteen real-world storage traces from IBM, Twitter and Meta using latencies drawn from real-life deployments show that RFB reduces average request latency by 10% compared to the best state-of-the-art alternative, while maintaining consistent performance, with a low standard deviation across bursty and non-bursty workloads.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Segcache: a memory-efficient and scalable in-memory key-value cache for small objects 引用了 Learning Relaxed Belady for Content Distribution Network Caching
- FIFO queues are all you need for cache eviction 引用了 Segcache: a memory-efficient and scalable in-memory key-value cache for small objects
- FIFO queues are all you need for cache eviction 引用了 SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web Caches
- SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web Caches 引用了 FIFO queues are all you need for cache eviction
- FIFO queues are all you need for cache eviction 引用了 A large scale analysis of hundreds of in-memory cache clusters at Twitter
- SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web Caches 引用了 Segcache: a memory-efficient and scalable in-memory key-value cache for small objects
- SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web Caches 引用了 A large scale analysis of hundreds of in-memory cache clusters at Twitter
它引用的 Paper7
- A large scale analysis of hundreds of in-memory cache clusters at TwitterJuncheng Yang, Yao Yue, K. V. RashmiOSDI 2020 · 245 次引用
- Learning Relaxed Belady for Content Distribution Network CachingZhenyu Song, Daniel S. Berger, Kai Li, Wyatt LloydNSDI 2020 · 193 次引用
- Segcache: a memory-efficient and scalable in-memory key-value cache for small objectsJuncheng Yang, Yao Yue, Rashmi VinayakNSDI 2021 · 70 次引用
- SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web CachesYazhuo Zhang, Juncheng Yang, Yao Yue, Ymir Vigfusson 等NSDI 2024 · 63 次引用
- FIFO queues are all you need for cache evictionJuncheng Yang, Yazhuo Zhang, Ziyue Qiu, Yao Yue 等SOSP 2023 · 54 次引用
相关 Paper
- 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 次引用
- Delegated Replies: Alleviating Network Clogging in Heterogeneous ArchitecturesXia Zhao, Lieven Eeckhout, Magnus JahreHPCA 2022 · 9 次引用
- Merlin: An Efficient Adaptive Cache Eviction Algorithm via Fine-Grained CharacterizationLiujia Li, Jinhao Guo, Yi Fan, Jianyu Wu 等OSDI 2026
- Online File Caching in Latency-Sensitive Systems with Delayed Hits and BypassingChi Zhang, Haisheng Tan, Guopeng Li, Zhenhua Han 等INFOCOM 2022 · 18 次引用
- Caching with Delayed HitsNirav Atre, Justine Sherry, Weina Wang, Daniel S. BergerSIGCOMM 2020 · 47 次引用
