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 条
  • [31] Bloom Filters in Adversarial Environments
    Naor, Moni
    Yogev, Eylon
    ADVANCES IN CRYPTOLOGY, PT II, 2015, 9216 : 565 - 584
  • [32] COCA Filters: Co-occurrence Aware Bloom Filters
    Tirdad, Kamran
    Ghodsnia, Pedram
    Munro, J. Ian
    Lopez-Ortiz, Alejandro
    STRING PROCESSING AND INFORMATION RETRIEVAL, 2011, 7024 : 313 - 325
  • [33] Algebraic operations on Bloom filters
    School of Computer and Communication, Hunan University, Changsha 410082, China
    不详
    不详
    不详
    Tien Tzu Hsueh Pao, 2008, 5 (869-874):
  • [34] A Case for Partitioned Bloom Filters
    Almeida, Paulo Sergio
    IEEE TRANSACTIONS ON COMPUTERS, 2023, 72 (06) : 1681 - 1691
  • [35] Reducing the Number of Bloom Filters
    Gong, Qingge
    Yang, Tong
    Tong, Hongwei
    Shi, Kai
    Li, Jinghui
    Wu, Xianyan
    PROCEEDINGS OF 2014 IEEE INTERNATIONAL CONFERENCE ON PROGRESS IN INFORMATICS AND COMPUTING (PIC), 2014, : 572 - 576
  • [36] Bloofi: Multidimensional Bloom filters
    Crainiceanu, Adina
    Lemire, Daniel
    INFORMATION SYSTEMS, 2015, 54 : 311 - 324
  • [37] NATURES FILTERS SET TO BLOOM
    OTTEWELL, S
    CHEMICAL ENGINEER-LONDON, 1993, (552): : 16 - 16
  • [38] Bloom filters in probabilistic verification
    Dillinger, PC
    Manolios, P
    FORMAL METHODS IN COMPUTER-AIDED DESIGN, PROCEEDINGS, 2004, 3312 : 367 - 381
  • [39] PASSWORD GENERATION BY BLOOM FILTERS
    STALLINGS, W
    DR DOBBS JOURNAL, 1994, 19 (08): : 119 - &
  • [40] Fast Bloom Filters and Their Generalization
    Qiao, Yan
    Li, Tao
    Chen, Shigang
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2014, 25 (01) : 93 - 103