Lune

SIGMOD2021顶会

Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design

Prashant Pandey, Alex Conway, Joe Durie, Michael A. Bender, Martin Farach-Colton, Rob Johnson

摘要

Today's filters, such as quotient, cuckoo, and Morton, have a trade-off between space and speed; even when moderately full (e.g., 50%-75% full), their performance degrades nontrivially. The result is that today's systems designers are forced to choose between speed and space usage.

In this paper, we present the vector quotient filter (VQF). Locally, the VQF is based on Robin Hood hashing, like the quotient filter, but uses power-of-two-choices hashing to reduce the variance of runs, and thus offers consistent, high throughput across load factors. Power-of-two-choices hashing also makes it more amenable to concurrent updates, compared to the cuckoo filter and variants. Finally, the vector quotient filter is designed to exploit SIMD instructions so that all operations have 𝑂 (1) cost, independent of the size of the filter or its load factor.

We show that the vector quotient filter is 2× faster for inserts compared to the Morton filter (a cuckoo filter variant and state-ofthe-art for inserts) and has similar lookup and deletion performance as the cuckoo filter (which is fastest for queries and deletes), despite having a simpler design and implementation. The vector quotient filter has minimal performance decline at high load factors, a problem that has plagued modern filters, including quotient, cuckoo, and Morton. Furthermore, we give a thread-safe version of the vector quotient filter and show that insertion throughput scales 3× with four threads compared to a single thread.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 18 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Prefix Filter: Practically and Theoretically Better Than Bloom 引用了 SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value Stores
  • Prefix Filter: Practically and Theoretically Better Than Bloom 引用了 Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at Facebook
  • InfiniFilter: Expanding Filters to Infinity and Beyond 引用了 Prefix Filter: Practically and Theoretically Better Than Bloom
  • Aleph Filter: To Infinity in Constant Time 引用了 Prefix Filter: Practically and Theoretically Better Than Bloom
  • Aleph Filter: To Infinity in Constant Time 引用了 GRF: A Global Range Filter for LSM-Trees with Shape Encoding
  • GRF: A Global Range Filter for LSM-Trees with Shape Encoding 引用了 SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value Stores
  • GRF: A Global Range Filter for LSM-Trees with Shape Encoding 引用了 Prefix Filter: Practically and Theoretically Better Than Bloom
  • GRF: A Global Range Filter for LSM-Trees with Shape Encoding 引用了 InfiniFilter: Expanding Filters to Infinity and Beyond
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper18

  1. InfiniFilter: Expanding Filters to Infinity and BeyondNiv Dayan, Ioana O. Bercea, Pedro Reviriego, Rasmus PaghSIGMOD 2023 · 27 次引用
  2. GRF: A Global Range Filter for LSM-Trees with Shape EncodingHengrui Wang, Te Guo, Junzhao Yang, Huanchen ZhangSIGMOD 2024 · 15 次引用
  3. Prefix Filter: Practically and Theoretically Better Than BloomTomer Even, Guy Even, Adam MorrisonVLDB 2022 · 13 次引用
  4. Aleph Filter: To Infinity in Constant TimeNiv Dayan, Ioana Oriana Bercea, Rasmus PaghVLDB 2024 · 13 次引用
  5. MicroscopeSketch: Accurate Sliding Estimation Using Adaptive ZoomingYuhan Wu, Shiqi Jiang, Siyuan Dong, Zheng Zhong 等KDD 2023 · 10 次引用

它引用的 Paper3

  1. SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value StoresAlexander Conway, Abhishek Gupta, Vijay Chidambaram, Martin Farach-Colton 等USENIX ATC 2020 · 90 次引用
  2. Timely Reporting of Heavy Hitters using External MemoryPrashant Pandey, Shikha Singh, Michael A. Bender, Jonathan W. Berry 等SIGMOD 2020 · 15 次引用
  3. Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at FacebookZhichao Cao, Siying Dong, Sagar Vemuri, David H. C. DuFAST 2020

相关 Paper

  1. Breadcrumb Filters: Fast Fully Featured FiltersAndrew Krapivin, Aaditya Rangarajan, Alex Conway, Martin Farach-Colton 等SIGMOD 2026
  2. AniFilter: parallel and failure-atomic cuckoo filter for non-volatile memoriesHyungjun Oh, Bongki Cho, Changdae Kim, Heejin Park 等EuroSys 2020 · 3 次引用
  3. A four-dimensional Analysis of Partitioned Approximate FiltersTobias Schmidt, Maximilian Bandle, Jana GicevaVLDB 2021 · 6 次引用
  4. Dynamic Flat Filter: A Unified Framework for Scalable and Stable Fingerprint-Based FiltersYang Du, Shankui Ji, He Huang, Yu-E Sun 等SIGMOD 2026
  5. Adaptive Quotient FiltersRichard Wen, Hunter McCoy, David Tench, Guido Tagliavini 等SIGMOD 2025 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖