Xor Filters: Faster and Smaller Than Bloom and Cuckoo Filters

被引:42
|
作者
Graf T.M. [1 ]
Lemire D. [1 ]
机构
[1] University of Quebec (TELUQ), 5800 Saint-Denis, Office 1105, Saint-Denis, Montreal, H2S 3L5, QC
关键词
approximate set membership; Bloom filters; cuckoo filters;
D O I
10.1145/3376122
中图分类号
学科分类号
摘要
The Bloom filter provides fast approximate set membership while using little memory. Engineers often use these filters to avoid slow operations such as disk or network accesses. As an alternative, a cuckoo filter may need less space than a Bloom filter and it is faster. Chazelle et al. proposed a generalization of the Bloom filter called the Bloomier filter. Dietzfelbinger and Pagh described a variation on the Bloomier filter that can answer approximate membership queries over immutable sets. It has never been tested empirically, to our knowledge. We review an efficient implementation of their approach, which we call the xor filter. We find that xor filters can be faster than Bloom and cuckoo filters while using less memory. We further show that a more compact version of xor filters (xor+) can use even less space than highly compact alternatives (e.g., Golomb-compressed sequences) while providing speeds competitive with Bloom filters. © 2020 ACM.
引用
收藏
相关论文
共 50 条
  • [1] Binary Fuse Filters: Fast and Smaller Than Xor Filters
    Graf T.M.
    Lemire D.
    ACM Journal of Experimental Algorithmics, 2022, 27 (01):
  • [2] Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo Filters
    Wang, Minmei
    Zhou, Mingxun
    Shi, Shouqian
    Qian, Chen
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2019, 13 (02): : 197 - 210
  • [3] Cuckoo Filters and Bloom Filters: Comparison and Application to Packet Classification
    Reviriego, Pedro
    Martinez, Jorge
    Larrabeiti, David
    Pontarelli, Salvatore
    IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2020, 17 (04): : 2690 - 2701
  • [4] CFBF: Reducing the Insertion Time of Cuckoo Filters With an Integrated Bloom Filter
    Reviriego, Pedro
    Martinez, Jorge
    Pontarelli, Salvatore
    IEEE COMMUNICATIONS LETTERS, 2019, 23 (10) : 1857 - 1861
  • [5] Supporting Dynamic Insertions in XOR and Binary Fuse Filters With the Integrated XOR/BIF-Bloom Filter
    Martinez, Roberto
    Reviriego, Pedro
    Larrabeiti, David
    IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2024, 21 (03): : 3068 - 3079
  • [6] A hierarchy of filters smaller than CF kappa lambda
    Abe, Y
    ARCHIVE FOR MATHEMATICAL LOGIC, 1997, 36 (06) : 385 - 397
  • [7] BLOOM FILTERS
    WELLS, B
    DR DOBBS JOURNAL, 1995, 20 (01): : 12 - 12
  • [8] Morton Filters: Faster, Space-Efficient Cuckoo Filters via Biasing, Compression, and Decoupled Logical Sparsity
    Breslow, Alex D.
    Jayasena, Nuwan S.
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2018, 11 (09): : 1041 - 1055
  • [9] Conditional Cuckoo Filters
    Ting, Daniel
    Cole, Rick
    SIGMOD '21: PROCEEDINGS OF THE 2021 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2021, : 1838 - 1850
  • [10] Perfect Cuckoo Filters
    Reviriego, Pedro
    Pontarelli, Salvatore
    PROCEEDINGS OF THE 17TH INTERNATIONAL CONFERENCE ON EMERGING NETWORKING EXPERIMENTS AND TECHNOLOGIES, CONEXT 2021, 2021, : 205 - 211