Making Cache Monotonic and Consistent
Shuai An, Yang Cao
Abstract
We propose monotonic consistent caching (MCC), a cache scheme for applications that demand consistency and monotonicity. MCC warrants that a transaction-like request always sees a consistent view of the backend database and observed writes over the cache will not be lost. We show that the complexity of MCC ranges from P time to N p -C omplete . We characterize MCC via a notion of obsolete items, based on which we abstract a principle for designing competitive MCC policies. By applying the principle, we develop an optimal MCC policy for the batch model, where requests in a batch are known in advance. For the online and semi-online models, we develop ML-augmented policies that benefit from blackbox ML models for classifying obsolete items, while being provably competitive even if the ML is arbitrarily bad. Using benchmark and real-life traces, we show that MCC policies reduce 39.09% of database reads for Redis atop HBase and improve their throughput by 77.15%.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4b105298-9a5d-4b46-bee7-3832f382b33cCited by top-tier papers1
Ask how each one uses itBuilds on10
- A large scale analysis of hundreds of in-memory cache clusters at TwitterJuncheng Yang, Yao Yue, K. V. RashmiOSDI 2020 · 245 citations
- Learning Relaxed Belady for Content Distribution Network CachingZhenyu Song, Daniel S. Berger, Kai Li, Wyatt LloydNSDI 2020 · 193 citations
- Online metric algorithms with untrusted predictionsAntonios Antoniadis, Christian Coester, Marek Eliás, Adam Polak et al.ICML 2020 · 170 citations
- Near-Optimal Bounds for Online Caching with Machine Learned AdviceDhruv RohatgiSODA 2020 · 88 citations
- Handling Highly Contended OLTP Workloads Using Fast Dynamic PartitioningGuna Prasaad, Alvin Cheung, Dan SuciuSIGMOD 2020 · 34 citations
Related papers
- Competitive Consistent Caching for TransactionsShuai An, Yang Cao, Wenyue ZhaoICDE 2022 · 1 citation
- Robust Learning-Augmented Caching: An Experimental StudyJakub Chledowski, Adam Polak, Bartosz Szabucki, Konrad Tomasz ZolnaICML 2021 · 21 citations
- Similarity Caching: Theory and AlgorithmsMichele Garetto, Emilio Leonardi, Giovanni NegliaINFOCOM 2020 · 32 citations
- Robustifying Learning-Augmented Caching Efficiently without Compromising 1-ConsistencyPeng Chen, Hailiang Zhao, Jiaji Zhang, Xueyan Tang et al.NeurIPS 2025 · 4 citations
- Algorithms for Caching and MTS with reduced number of predictionsKarim Abdel Sadek, Marek EliásICLR 2024 · 10 citations
