Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads
Dingheng Mo, Fanchao Chen, Siqiang Luo, Caihua Shan
摘要
LSM-trees are widely adopted as the storage backends of key-value stores. However, optimizing the system performance under dynamic workloads has not been sufficiently studied in previous work. To fill the gap, we present RusKey, a key-value store with the following new features: (1) RusKey is a first attempt to design LSM-tree structures online to enable robust performance under the context of dynamic workloads; (2) RusKey is the first study to use Reinforcement Learning (RL) to guide LSM-tree transformations; (3) RusKey includes a new LSM-tree design, named FLSM-tree, that facilitates efficient transitions between different compaction policies, which addresses the key bottleneck for dynamic key-value stores. We justify the superiority of the new design with theoretical analysis; (4) RusKey requires no prior workload knowledge for system adjustment, in contrast to state-of-the-art techniques. Experiments show that RusKey exhibits strong performance robustness across diverse workloads, achieving up to 4x better end-to-end performance than the RocksDB system under various settings.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Oasis: An Optimal Disjoint Segmented Learned Range Filter 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- Oasis: An Optimal Disjoint Segmented Learned Range Filter 引用了 FPGA-Accelerated Compactions for LSM-based Key-Value Store
- Rethinking The Compaction Policies in LSM-trees 引用了 Oasis: An Optimal Disjoint Segmented Learned Range Filter
- Rethinking The Compaction Policies in LSM-trees 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- Rethinking The Compaction Policies in LSM-trees 引用了 FPGA-Accelerated Compactions for LSM-based Key-Value Store
- Rethinking The Compaction Policies in LSM-trees 引用了 Constructing and Analyzing the LSM Compaction Design Space
- Rethinking The Compaction Policies in LSM-trees 引用了 GRF: A Global Range Filter for LSM-Trees with Shape Encoding
- CAMAL: Optimizing LSM-trees via Active Learning 引用了 From WiscKey to Bourbon: A Learned Index for Log-Structured Merge Trees
- 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 引用了 An Inquiry into Machine Learning-based Automatic Configuration Tuning Services on Real-World Database Management Systems
- Constructing and Analyzing the LSM Compaction Design Space 引用了 From WiscKey to Bourbon: A Learned Index for Log-Structured Merge Trees
- Constructing and Analyzing the LSM Compaction Design Space 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding 引用了 Constructing and Analyzing the LSM Compaction Design Space
- Aster: Enhancing LSM-structures for Scalable Graph Database 引用了 CAMAL: Optimizing LSM-trees via Active Learning
引用它的顶会 Paper14
- Oasis: An Optimal Disjoint Segmented Learned Range FilterGuanduo Chen, Meng Li, Siqiang Luo, Zhenying HeVLDB 2024 · 17 次引用
- GRF: A Global Range Filter for LSM-Trees with Shape EncodingHengrui Wang, Te Guo, Junzhao Yang, Huanchen ZhangSIGMOD 2024 · 15 次引用
- 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 次引用
- Rethinking The Compaction Policies in LSM-treesHengrui Wang, Jiansheng Qiu, Fangzhou Yuan, Huanchen ZhangSIGMOD 2025 · 9 次引用
它引用的 Paper17
- From WiscKey to Bourbon: A Learned Index for Log-Structured Merge TreesYifan Dai, Yien Xu, Aishwarya Ganesan, Ramnatthan Alagappan 等OSDI 2020 · 138 次引用
- An Inquiry into Machine Learning-based Automatic Configuration Tuning Services on Real-World Database Management SystemsDana Van Aken, Dongsheng Yang, Sebastien Brillard, Ari Fiorino 等VLDB 2021 · 108 次引用
- 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 次引用
相关 Paper
- ArceKV: Towards Workload-driven LSM-compactions for Key-Value Store Under Dynamic WorkloadsJunfeng Liu, Haoxuan Xie, Siqiang LuoVLDB 2026
- 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 次引用
- Structural Designs Meet Optimality: Exploring Optimized LSM-tree Structures in a Colossal Configuration SpaceJunfeng Liu, Fan Wang, Dingheng Mo, Siqiang LuoSIGMOD 2024 · 13 次引用
- DobLIX: A Dual-Objective Learned Index for Log-Structured Merge TreesAlireza Heidari, Amirhossein Ahmadi, Wei ZhangVLDB 2025 · 4 次引用
- Endure: A Robust Tuning Paradigm for LSM Trees Under Workload UncertaintyAndy Huynh, Harshal A. Chaudhari, Evimaria Terzi, Manos AthanassoulisVLDB 2022 · 28 次引用
