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 条
  • [41] Support Optimality and Adaptive Cuckoo Filters
    Kopelowitz, Tsvi
    McCauley, Samuel
    Porat, Ely
    ALGORITHMS AND DATA STRUCTURES, WADS 2021, 2021, 12808 : 556 - 570
  • [42] Bloom filters in probabilistic verification
    Dillinger, PC
    Manolios, P
    FORMAL METHODS IN COMPUTER-AIDED DESIGN, 2004, 3312 : 367 - 381
  • [43] Multiset Synchronization with Counting Cuckoo Filters
    Li, Shangsen
    Luo, Lailong
    Guo, Deke
    Zhao, Yawei
    WIRELESS ALGORITHMS, SYSTEMS, AND APPLICATIONS, PT I, 2020, 12384 : 231 - 243
  • [44] Position-Aware Cuckoo Filters
    Kwon, Minseok
    Shankar, Vijay
    Reviriego, Pedro
    PROCEEDINGS OF THE 2018 SYMPOSIUM ON ARCHITECTURES FOR NETWORKING AND COMMUNICATIONS SYSTEMS (ANCS '18), 2018, : 151 - 153
  • [45] XOR-Satisfiability Set Membership Filters
    Weaver, Sean A.
    Roberts, Hannah J.
    Smith, Michael J.
    THEORY AND APPLICATIONS OF SATISFIABILITY TESTING - SAT 2018, 2018, 10929 : 401 - 418
  • [46] Cuckoo Filter: Practically Better Than Bloom
    Fan, Bin
    Andersen, David G.
    Kaminsky, Michael
    Mitzenrnacher, Michael D.
    PROCEEDINGS OF THE 2014 CONFERENCE ON EMERGING NETWORKING EXPERIMENTS AND TECHNOLOGIES (CONEXT'14), 2014, : 75 - 87
  • [47] Optimizing Distributed Joins with Bloom Filters
    Ramesh, Sukriti
    Papapetrou, Odysseas
    Siberski, Wolf
    DISTRIBUTED COMPUTING AND INTERNET TECHNOLOGY, PROCEEDINGS, 2008, 5375 : 145 - 156
  • [48] On application of bloom filters to iris biometrics
    Rathgeb, Christian
    Breitinger, Frank
    Busch, Christoph
    Baier, Harald
    IET BIOMETRICS, 2014, 3 (04) : 207 - 218
  • [49] Detecting Errors in Instructions with Bloom Filters
    Atamaner, Mert
    Ergin, Oguz
    Ottavi, Marco
    Reviriego, Pedro
    2017 IEEE INTERNATIONAL SYMPOSIUM ON DEFECT AND FAULT TOLERANCE IN VLSI AND NANOTECHNOLOGY SYSTEMS (DFT), 2017, : 143 - 146
  • [50] Sampling and Reconstruction Using Bloom Filters
    Sengupta, Neha
    Bagchi, Amitabha
    Bedathur, Srikanta
    Ramanath, Maya
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2018, 30 (07) : 1324 - 1337