Breadcrumb Filters: Fast Fully Featured Filters
Andrew Krapivin, Aaditya Rangarajan, Alex Conway, Martin Farach-Colton, Rob Johnson, Prashant Pandey
Abstract
Enumerable filters are the gold-standard for full-featured filters: they support insertions, deletions, merging; they can support associated values, such as counts; and like traditional filters they support queries with a small probability of false positives. When designing a system that uses filters, high-performance enumerable filters are required to simplify system design and improve overall performance, compared to systems that must work around the limitations of traditional filters that are not full featured. The vector quotient filter (VQF) is the state of the art enumerable filter. For limited-functionality filters, blocked Bloom filters (BBF) and the prefix filter (PF) are state of the art and offer tradeoffs. Both support insertions and queries but not deletions or merging. BBFs are faster for insertions and queries but use more space than PFs and VQFs. For small-space filters, the state-of-the-art suggests a tradeoff: PFs are faster than VQFs but VQFs are enumerable, which makes them a favorable candidate to be integrated in applications. Given these tradeoffs, we are left with the following question: Do we need to give up features in order to achieve the highest performance? In this paper, we present the breadcrumb filter (BCF), a full-featured enumerable filter. For insertions, the BCF is up to 34% faster than VQF, 3.2x faster than cuckoo filter, 19.6% faster than PF. For queries, the BCF achieves competitive performance, outperforming the VQF while matching the cuckoo filter. At the same time, it achieves higher space efficiency than VQF, prefix, cuckoo filter and BBF. We conclude that the choice of filter is now simplified: if additional features beyond insertions, such as deletions and counting, are required, or if minimizing space is crucial, the BCF offers the best performance. On the other hand, if only insertions are needed and space is not constrained, the BBF is the right choice.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get e9098da1-0837-4e07-9340-d14c67252435Related papers
- Prefix Filter: Practically and Theoretically Better Than BloomTomer Even, Guy Even, Adam MorrisonVLDB 2022 · 13 citations
- Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter DesignPrashant Pandey, Alex Conway, Joe Durie, Michael A. Bender et al.SIGMOD 2021 · 40 citations
- AniFilter: parallel and failure-atomic cuckoo filter for non-volatile memoriesHyungjun Oh, Bongki Cho, Changdae Kim, Heejin Park et al.EuroSys 2020 · 3 citations
- Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo FiltersMinmei Wang, Mingxun Zhou, Shouqian Shi, Chen QianVLDB 2020 · 58 citations
- A four-dimensional Analysis of Partitioned Approximate FiltersTobias Schmidt, Maximilian Bandle, Jana GicevaVLDB 2021 · 6 citations
