Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
Siqiang Luo, Subarna Chatterjee, Rafael Ketsetsidis, Niv Dayan, Wilson Qin, Stratos Idreos
摘要
We introduce Rosetta, a probabilistic range filter designed specifically for LSM-tree based key-value stores. The core intuition is that we can sacrifice filter probe time because it is not visible in end-to-end key-value store performance, which in turn allows us to significantly reduce the filter false positive rate for every level of the tree. Rosetta indexes all binary prefixes of a key using a hierarchically arranged set of Bloom filters. It then converts each range query into multiple probes, one for each non-overlapping binary prefix. Rosetta has the ability to track workload patterns and adopt a beneficial tuning for each individual LSM-tree run by adjusting the number of Bloom filters it uses and how memory is spread among them to optimize the FPR/CPU cost balance. We show how to integrate Rosetta in a full system, RocksDB, and we demonstrate that it brings as much as a 40x improvement compared to default RocksDB and 2-5x improvement compared to state-of-the-art range filters in a variety of workloads and across different levels of the memory hierarchy (memory, SSD, hard disk). We also show that, unlike state-of-the-art filters, Rosetta brings a net benefit in RocksDB's overall performance, i.e., it improves range queries without losing any performance for point queries.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 34 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Differentiated Key-Value Storage Management for Balanced I/O Performance 引用了 REMIX: Efficient Range Query for LSM-trees
- Spooky: Granulating LSM-Tree Compactions Correctly 引用了 Differentiated Key-Value Storage Management for Balanced I/O Performance
- Spooky: Granulating LSM-Tree Compactions Correctly 引用了 REMIX: Efficient Range Query for LSM-trees
- SNARF: A Learning-Enhanced Range Filter 引用了 REMIX: Efficient Range Query for LSM-trees
引用它的顶会 Paper34
- Differentiated Key-Value Storage Management for Balanced I/O PerformanceYongkun Li, Zhen Liu, Patrick P. C. Lee, Jiayu Wu 等USENIX ATC 2021 · 79 次引用
- Constructing and Analyzing the LSM Compaction Design SpaceSubhadeep Sarkar, Dimitris Staratzis, Zichen Zhu, Manos AthanassoulisVLDB 2021 · 73 次引用
- REMIX: Efficient Range Query for LSM-treesWenshao Zhong, Chen Chen, Xingbo Wu, Song JiangFAST 2021 · 67 次引用
- Spooky: Granulating LSM-Tree Compactions CorrectlyNiv Dayan, Tamar Weiss, Shmuel Dashevsky, Michael Pan 等VLDB 2022 · 57 次引用
- SNARF: A Learning-Enhanced Range FilterKapil Vaidya, Tim Kraska, Subarna Chatterjee, Eric R. Knorr 等VLDB 2022 · 39 次引用
相关 Paper
- Proteus: A Self-Designing Range FilterEric R. Knorr, Baptiste Lemaire, Andrew Lim, Siqiang Luo 等SIGMOD 2022 · 30 次引用
- Oasis: An Optimal Disjoint Segmented Learned Range FilterGuanduo Chen, Meng Li, Siqiang Luo, Zhenying HeVLDB 2024 · 17 次引用
- REncoder: A Space-Time Efficient Range Filter with Local EncoderZiwei Wang, Zheng Zhong, Jiarui Guo, Yuhan Wu 等ICDE 2023 · 18 次引用
- GRF: A Global Range Filter for LSM-Trees with Shape EncodingHengrui Wang, Te Guo, Junzhao Yang, Huanchen ZhangSIGMOD 2024 · 15 次引用
- Structural Designs Meet Optimality: Exploring Optimized LSM-tree Structures in a Colossal Configuration SpaceJunfeng Liu, Fan Wang, Dingheng Mo, Siqiang LuoSIGMOD 2024 · 13 次引用
