Lune

VLDB2022Top-tier venue

Endure: A Robust Tuning Paradigm for LSM Trees Under Workload Uncertainty

Andy Huynh, Harshal A. Chaudhari, Evimaria Terzi, Manos Athanassoulis

Abstract

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×\times 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DobLIX: A Dual-Objective Learned Index for Log-Structured Merge Trees cites Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads
  • CAMAL: Optimizing LSM-trees via Active Learning cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
  • CAMAL: Optimizing LSM-trees via Active Learning cites FPGA-Accelerated Compactions for LSM-based Key-Value Store
  • CAMAL: Optimizing LSM-trees via Active Learning cites Constructing and Analyzing the LSM Compaction Design Space
  • CAMAL: Optimizing LSM-trees via Active Learning cites Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads
  • CAMAL: Optimizing LSM-trees via Active Learning cites An LSM-based Tuple Compaction Framework for Apache AsterixDB
  • CAMAL: Optimizing LSM-trees via Active Learning cites Lethe: A Tunable Delete-Aware LSM Engine
  • How to Grow an LSM-tree? Towards Bridging the Gap Between Theory and Practice cites 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 cites FPGA-Accelerated Compactions for LSM-based Key-Value Store
  • How to Grow an LSM-tree? Towards Bridging the Gap Between Theory and Practice cites Lethe: A Tunable Delete-Aware LSM Engine
  • Constructing and Analyzing the LSM Compaction Design Space cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
  • Constructing and Analyzing the LSM Compaction Design Space cites An LSM-based Tuple Compaction Framework for Apache AsterixDB
  • Constructing and Analyzing the LSM Compaction Design Space cites Lethe: A Tunable Delete-Aware LSM Engine
  • Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads cites 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 cites 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 cites Constructing and Analyzing the LSM Compaction Design Space
  • Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads cites 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 cites Lethe: A Tunable Delete-Aware LSM Engine
  • Aster: Enhancing LSM-structures for Scalable Graph Database cites CAMAL: Optimizing LSM-trees via Active Learning
  • Aster: Enhancing LSM-structures for Scalable Graph Database cites Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads
  • Aster: Enhancing LSM-structures for Scalable Graph Database cites An LSM-based Tuple Compaction Framework for Apache AsterixDB
  • Aster: Enhancing LSM-structures for Scalable Graph Database cites Lethe: A Tunable Delete-Aware LSM Engine
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. 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 citations
  2. CAMAL: Optimizing LSM-trees via Active LearningWeiping Yu, Siqiang Luo, Zihao Yu, Gao CongSIGMOD 2025 · 11 citations
  3. Aster: Enhancing LSM-structures for Scalable Graph DatabaseDingheng Mo, Junfeng Liu, Fan Wang, Siqiang LuoSIGMOD 2025 · 10 citations
  4. How to Grow an LSM-tree? Towards Bridging the Gap Between Theory and PracticeDingheng Mo, Siqiang Luo, Stratos IdreosSIGMOD 2025 · 5 citations
  5. DobLIX: A Dual-Objective Learned Index for Log-Structured Merge TreesAlireza Heidari, Amirhossein Ahmadi, Wei ZhangVLDB 2025 · 4 citations

Builds on8

  1. FPGA-Accelerated Compactions for LSM-based Key-Value StoreTeng Zhang, Jianying Wang, Xuntao Cheng, Hao Xu et al.FAST 2020 · 99 citations
  2. Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value StoresSiqiang Luo, Subarna Chatterjee, Rafael Ketsetsidis, Niv Dayan et al.SIGMOD 2020 · 91 citations
  3. Constructing and Analyzing the LSM Compaction Design SpaceSubhadeep Sarkar, Dimitris Staratzis, Zichen Zhu, Manos AthanassoulisVLDB 2021 · 73 citations
  4. Lethe: A Tunable Delete-Aware LSM EngineSubhadeep Sarkar, Tarikul Islam Papon, Dimitris Staratzis, Manos AthanassoulisSIGMOD 2020 · 68 citations
  5. An LSM-based Tuple Compaction Framework for Apache AsterixDBWail Y. Alkowaileet, Sattam Alsubaiee, Michael J. CareyVLDB 2020 · 23 citations

Related papers

  1. Rethinking The Compaction Policies in LSM-treesHengrui Wang, Jiansheng Qiu, Fangzhou Yuan, Huanchen ZhangSIGMOD 2025 · 9 citations
  2. ArceKV: Towards Workload-driven LSM-compactions for Key-Value Store Under Dynamic WorkloadsJunfeng Liu, Haoxuan Xie, Siqiang LuoVLDB 2026
  3. Autumn: A Scalable Read Optimized LSM-Tree Based Key-Value Stores with Fast Point and Range ReadsFuheng Zhao, Zach Miller, Leron Reznikov, Divyakant Agrawal et al.ICDE 2025 · 2 citations
  4. Structural Designs Meet Optimality: Exploring Optimized LSM-tree Structures in a Colossal Configuration SpaceJunfeng Liu, Fan Wang, Dingheng Mo, Siqiang LuoSIGMOD 2024 · 13 citations
  5. 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 citations
Dusk over the sea between two cliffs drawn in fine vertical lines