Lune

SIGMOD2020顶会

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 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 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

  1. Differentiated Key-Value Storage Management for Balanced I/O PerformanceYongkun Li, Zhen Liu, Patrick P. C. Lee, Jiayu Wu 等USENIX ATC 2021 · 79 次引用
  2. Constructing and Analyzing the LSM Compaction Design SpaceSubhadeep Sarkar, Dimitris Staratzis, Zichen Zhu, Manos AthanassoulisVLDB 2021 · 73 次引用
  3. REMIX: Efficient Range Query for LSM-treesWenshao Zhong, Chen Chen, Xingbo Wu, Song JiangFAST 2021 · 67 次引用
  4. Spooky: Granulating LSM-Tree Compactions CorrectlyNiv Dayan, Tamar Weiss, Shmuel Dashevsky, Michael Pan 等VLDB 2022 · 57 次引用
  5. SNARF: A Learning-Enhanced Range FilterKapil Vaidya, Tim Kraska, Subarna Chatterjee, Eric R. Knorr 等VLDB 2022 · 39 次引用

相关 Paper

  1. Proteus: A Self-Designing Range FilterEric R. Knorr, Baptiste Lemaire, Andrew Lim, Siqiang Luo 等SIGMOD 2022 · 30 次引用
  2. Oasis: An Optimal Disjoint Segmented Learned Range FilterGuanduo Chen, Meng Li, Siqiang Luo, Zhenying HeVLDB 2024 · 17 次引用
  3. REncoder: A Space-Time Efficient Range Filter with Local EncoderZiwei Wang, Zheng Zhong, Jiarui Guo, Yuhan Wu 等ICDE 2023 · 18 次引用
  4. GRF: A Global Range Filter for LSM-Trees with Shape EncodingHengrui Wang, Te Guo, Junzhao Yang, Huanchen ZhangSIGMOD 2024 · 15 次引用
  5. Structural Designs Meet Optimality: Exploring Optimized LSM-tree Structures in a Colossal Configuration SpaceJunfeng Liu, Fan Wang, Dingheng Mo, Siqiang LuoSIGMOD 2024 · 13 次引用
黄昏的海面,两侧是细线勾勒的悬崖