Endure: A Robust Tuning Paradigm for LSM Trees Under Workload Uncertainty
Andy Huynh, Harshal A. Chaudhari, Evimaria Terzi, Manos Athanassoulis
摘要
Log-Structured Merge trees (LSM trees) are increasingly used as the storage engines behind several data systems, frequently deployed in the cloud. Similar to other database architectures, LSM trees take into account information about the expected workload (e.g., reads vs. writes, point vs. range queries) to optimize their performance via tuning. Operating in shared infrastructure like the cloud, however, comes with a degree of workload uncertainty due to multi-tenancy and the fast-evolving nature of modern applications. Systems with static tuning discount the variability of such hybrid workloads and hence provide an inconsistent and overall suboptimal performance. To address this problem, we introduce Endure - a new paradigm for tuning LSM trees in the presence of workload uncertainty. Specifically, we focus on the impact of the choice of compaction policies, size-ratio, and memory allocation on the overall performance. Endure considers a robust formulation of the throughput maximization problem, and recommends a tuning that maximizes the worst-case throughput over a neighborhood of each expected workload. Additionally, an uncertainty tuning parameter controls the size of this neighborhood, thereby allowing the output tunings to be conservative or optimistic. Through both model-based and extensive experimental evaluation of Endure in the state-of-the-art LSM-based storage engine, RocksDB, we show that the robust tuning methodology consistently outperforms classical tun-ing strategies. We benchmark Endure using 15 workload templates that generate more than 10000 unique noisy workloads. The robust tunings output by Endure lead up to a 5 improvement in through-put in presence of uncertainty. On the flip side, when the observed workload exactly matches the expected one, Endure tunings have negligible performance loss.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DobLIX: A Dual-Objective Learned Index for Log-Structured Merge Trees 引用了 Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads
- CAMAL: Optimizing LSM-trees via Active Learning 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- CAMAL: Optimizing LSM-trees via Active Learning 引用了 FPGA-Accelerated Compactions for LSM-based Key-Value Store
- CAMAL: Optimizing LSM-trees via Active Learning 引用了 Constructing and Analyzing the LSM Compaction Design Space
- CAMAL: Optimizing LSM-trees via Active Learning 引用了 Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads
- CAMAL: Optimizing LSM-trees via Active Learning 引用了 An LSM-based Tuple Compaction Framework for Apache AsterixDB
- CAMAL: Optimizing LSM-trees via Active Learning 引用了 Lethe: A Tunable Delete-Aware LSM Engine
- How to Grow an LSM-tree? Towards Bridging the Gap Between Theory and Practice 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- How to Grow an LSM-tree? Towards Bridging the Gap Between Theory and Practice 引用了 FPGA-Accelerated Compactions for LSM-based Key-Value Store
- How to Grow an LSM-tree? Towards Bridging the Gap Between Theory and Practice 引用了 Lethe: A Tunable Delete-Aware LSM Engine
- Constructing and Analyzing the LSM Compaction Design Space 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- Constructing and Analyzing the LSM Compaction Design Space 引用了 An LSM-based Tuple Compaction Framework for Apache AsterixDB
- Constructing and Analyzing the LSM Compaction Design Space 引用了 Lethe: A Tunable Delete-Aware LSM Engine
- Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads 引用了 FPGA-Accelerated Compactions for LSM-based Key-Value Store
- Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads 引用了 Constructing and Analyzing the LSM Compaction Design Space
- Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads 引用了 An LSM-based Tuple Compaction Framework for Apache AsterixDB
- Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads 引用了 Lethe: A Tunable Delete-Aware LSM Engine
- Aster: Enhancing LSM-structures for Scalable Graph Database 引用了 CAMAL: Optimizing LSM-trees via Active Learning
- Aster: Enhancing LSM-structures for Scalable Graph Database 引用了 Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads
- Aster: Enhancing LSM-structures for Scalable Graph Database 引用了 An LSM-based Tuple Compaction Framework for Apache AsterixDB
- Aster: Enhancing LSM-structures for Scalable Graph Database 引用了 Lethe: A Tunable Delete-Aware LSM Engine
引用它的顶会 Paper9
- Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic WorkloadsDingheng Mo, Fanchao Chen, Siqiang Luo, Caihua ShanSIGMOD 2024 · 26 次引用
- CAMAL: Optimizing LSM-trees via Active LearningWeiping Yu, Siqiang Luo, Zihao Yu, Gao CongSIGMOD 2025 · 11 次引用
- Aster: Enhancing LSM-structures for Scalable Graph DatabaseDingheng Mo, Junfeng Liu, Fan Wang, Siqiang LuoSIGMOD 2025 · 10 次引用
- How to Grow an LSM-tree? Towards Bridging the Gap Between Theory and PracticeDingheng Mo, Siqiang Luo, Stratos IdreosSIGMOD 2025 · 5 次引用
- DobLIX: A Dual-Objective Learned Index for Log-Structured Merge TreesAlireza Heidari, Amirhossein Ahmadi, Wei ZhangVLDB 2025 · 4 次引用
它引用的 Paper8
- FPGA-Accelerated Compactions for LSM-based Key-Value StoreTeng Zhang, Jianying Wang, Xuntao Cheng, Hao Xu 等FAST 2020 · 99 次引用
- Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value StoresSiqiang Luo, Subarna Chatterjee, Rafael Ketsetsidis, Niv Dayan 等SIGMOD 2020 · 91 次引用
- Constructing and Analyzing the LSM Compaction Design SpaceSubhadeep Sarkar, Dimitris Staratzis, Zichen Zhu, Manos AthanassoulisVLDB 2021 · 73 次引用
- Lethe: A Tunable Delete-Aware LSM EngineSubhadeep Sarkar, Tarikul Islam Papon, Dimitris Staratzis, Manos AthanassoulisSIGMOD 2020 · 68 次引用
- An LSM-based Tuple Compaction Framework for Apache AsterixDBWail Y. Alkowaileet, Sattam Alsubaiee, Michael J. CareyVLDB 2020 · 23 次引用
相关 Paper
- Rethinking The Compaction Policies in LSM-treesHengrui Wang, Jiansheng Qiu, Fangzhou Yuan, Huanchen ZhangSIGMOD 2025 · 9 次引用
- ArceKV: Towards Workload-driven LSM-compactions for Key-Value Store Under Dynamic WorkloadsJunfeng Liu, Haoxuan Xie, Siqiang LuoVLDB 2026
- Autumn: A Scalable Read Optimized LSM-Tree Based Key-Value Stores with Fast Point and Range ReadsFuheng Zhao, Zach Miller, Leron Reznikov, Divyakant Agrawal 等ICDE 2025 · 2 次引用
- Structural Designs Meet Optimality: Exploring Optimized LSM-tree Structures in a Colossal Configuration SpaceJunfeng Liu, Fan Wang, Dingheng Mo, Siqiang LuoSIGMOD 2024 · 13 次引用
- Enhancing LSM-Tree Key-Value Stores for Read-Modify-Writes via Key-Delta SeparationJinhong Li, Yanjing Ren, Shujie Han, Patrick P. C. LeeICDE 2024 · 6 次引用
