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
Abstract
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.
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.
18 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Prefix Filter: Practically and Theoretically Better Than Bloom cites SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value Stores
- Prefix Filter: Practically and Theoretically Better Than Bloom cites Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at Facebook
- InfiniFilter: Expanding Filters to Infinity and Beyond cites Prefix Filter: Practically and Theoretically Better Than Bloom
- Aleph Filter: To Infinity in Constant Time cites Prefix Filter: Practically and Theoretically Better Than Bloom
- Aleph Filter: To Infinity in Constant Time cites GRF: A Global Range Filter for LSM-Trees with Shape Encoding
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value Stores
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites Prefix Filter: Practically and Theoretically Better Than Bloom
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites InfiniFilter: Expanding Filters to Infinity and Beyond
Cited by top-tier papers18
- InfiniFilter: Expanding Filters to Infinity and BeyondNiv Dayan, Ioana O. Bercea, Pedro Reviriego, Rasmus PaghSIGMOD 2023 · 27 citations
- GRF: A Global Range Filter for LSM-Trees with Shape EncodingHengrui Wang, Te Guo, Junzhao Yang, Huanchen ZhangSIGMOD 2024 · 15 citations
- Prefix Filter: Practically and Theoretically Better Than BloomTomer Even, Guy Even, Adam MorrisonVLDB 2022 · 13 citations
- Aleph Filter: To Infinity in Constant TimeNiv Dayan, Ioana Oriana Bercea, Rasmus PaghVLDB 2024 · 13 citations
- MicroscopeSketch: Accurate Sliding Estimation Using Adaptive ZoomingYuhan Wu, Shiqi Jiang, Siyuan Dong, Zheng Zhong et al.KDD 2023 · 10 citations
Builds on3
- SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value StoresAlexander Conway, Abhishek Gupta, Vijay Chidambaram, Martin Farach-Colton et al.USENIX ATC 2020 · 90 citations
- Timely Reporting of Heavy Hitters using External MemoryPrashant Pandey, Shikha Singh, Michael A. Bender, Jonathan W. Berry et al.SIGMOD 2020 · 15 citations
- Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at FacebookZhichao Cao, Siying Dong, Sagar Vemuri, David H. C. DuFAST 2020
Related papers
- Breadcrumb Filters: Fast Fully Featured FiltersAndrew Krapivin, Aaditya Rangarajan, Alex Conway, Martin Farach-Colton et al.SIGMOD 2026
- AniFilter: parallel and failure-atomic cuckoo filter for non-volatile memoriesHyungjun Oh, Bongki Cho, Changdae Kim, Heejin Park et al.EuroSys 2020 · 3 citations
- A four-dimensional Analysis of Partitioned Approximate FiltersTobias Schmidt, Maximilian Bandle, Jana GicevaVLDB 2021 · 6 citations
- Dynamic Flat Filter: A Unified Framework for Scalable and Stable Fingerprint-Based FiltersYang Du, Shankui Ji, He Huang, Yu-E Sun et al.SIGMOD 2026
- Adaptive Quotient FiltersRichard Wen, Hunter McCoy, David Tench, Guido Tagliavini et al.SIGMOD 2025 · 6 citations
