USENIX ATC2023顶会
Adaptive Online Cache Capacity Optimization via Lightweight Working Set Size Estimation at Scale
Rong Gu, Simian Li, Haipeng Dai, Hancheng Wang, Yili Luo, Bin Fan, Ran Ben Basat, Ke Wang, Zhenyu Song, Shouwei Chen, Beinan Wang, Yihua Huang, Guihai Chen
摘要
Big data applications extensively use cache techniques to accelerate data access. A key challenge for improving cache utilization is provisioning a suitable cache size to fit the dynamic working set size (WSS) and understanding the related item repetition ratio (IRR) of the trace. We propose Cuki, an approximate data structure for efficiently estimating online WSS and IRR for variable-size item access with proven accuracy guarantee. Our solution is cache-friendly, thread-safe, and light-weighted in design. Based on that, we design an adaptive online cache capacity tuning mechanism. Moreover, Cuki can also be adapted to accurately estimate the cache miss ratio curve (MRC) online. We built Cuki as a lightweight plugin of the widely-used distributed file caching system Alluxio. Evaluation results show that Cuki has higher accuracy than four state-of-the-art algorithms by over an order of magnitude and with better stability in performance. The end-to-end data access experiments show that the adaptive cache tuning framework using Cuki reduces the table querying latency by 79% and improves the file reading throughput by 29% on average. Compared with the cutting-edge MRC approach, Cuki uses less memory and improves accuracy by around 73% on average. Cuki is deployed on one of the world's largest social platforms to run the Presto query workloads.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Reducing Cross-Cloud/Region Costs with the Auto-Configuring MACARON Cache 引用了 InfiniCache: Exploiting Ephemeral Serverless Functions to Build a Cost-Effective Memory Cache
- Reducing Cross-Cloud/Region Costs with the Auto-Configuring MACARON Cache 引用了 A large scale analysis of hundreds of in-memory cache clusters at Twitter
- FLOWS: Balanced MRC Profiling for Heterogeneous Object-Size Cache 引用了 A large scale analysis of hundreds of in-memory cache clusters at Twitter
引用它的顶会 Paper3
- Reducing Cross-Cloud/Region Costs with the Auto-Configuring MACARON CacheHojin Park, Ziyue Qiu, Gregory R. Ganger, George AmvrosiadisSOSP 2024 · 3 次引用
- FLOWS: Balanced MRC Profiling for Heterogeneous Object-Size CacheXiaojun Guo, Hua Wang, Ke Zhou, Hong Jiang 等EuroSys 2024 · 1 次引用
- JitterSketch: Finding Jittery Flows in Network StreamsZhongxian Liang, Qilong Shi, Xiyan Liang, Zihan Li 等WWW 2026
它引用的 Paper13
- Autopilot: workload autoscaling at GoogleKrzysztof Rzadca, Pawel Findeisen, Jacek Swiderski, Przemyslaw Zych 等EuroSys 2020 · 299 次引用
- A large scale analysis of hundreds of in-memory cache clusters at TwitterJuncheng Yang, Yao Yue, K. V. RashmiOSDI 2020 · 245 次引用
- FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 次引用
- InfiniCache: Exploiting Ephemeral Serverless Functions to Build a Cost-Effective Memory CacheAo Wang, Jingyuan Zhang, Xiaolong Ma, Ali Anwar 等FAST 2020 · 118 次引用
- OFC: an opportunistic caching system for FaaS platformsDjob Mvondo, Mathieu Bacou, Kevin Nguetchouang, Lucien Ngale 等EuroSys 2021 · 80 次引用
相关 Paper
- RepBun: Load-Balanced, Shuffle-Free Cluster Caching for Structured DataMinchen Yu, Yinghao Yu, Yunchuan Zheng, Baichen Yang 等INFOCOM 2020 · 1 次引用
- 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 次引用
- OSCA: An Online-Model Based Cache Allocation Scheme in Cloud Block Storage SystemsYu Zhang, Ping Huang, Ke Zhou, Hua Wang 等USENIX ATC 2020 · 74 次引用
- Quantile Estimation with DuplicatesTianrui Xia, Ziling Chen, Shaoxu SongSIGMOD 2026
- LPCA: learned MRC profiling based cache allocation for file storage systemsYibin Gu, Yifan Li, Hua Wang, Li Liu 等DAC 2022 · 4 次引用
