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 条
  • [21] On the analysis of Bloom filters
    Grandi, Fabio
    INFORMATION PROCESSING LETTERS, 2018, 129 : 35 - 39
  • [22] Scalable Bloom Filters
    Almeida, Paulo Sergio
    Baquero, Carlos
    Preguica, Nuno
    Hutchison, David
    INFORMATION PROCESSING LETTERS, 2007, 101 (06) : 255 - 261
  • [23] Bloom filters for molecules
    Medina, Jorge
    White, Andrew D.
    JOURNAL OF CHEMINFORMATICS, 2023, 15 (01)
  • [24] Multiple Bloom filters
    Yang, Yuanhang
    Chen, Shuhui
    PROCEEDINGS OF 2017 VI INTERNATIONAL CONFERENCE ON NETWORK, COMMUNICATION AND COMPUTING (ICNCC 2017), 2017, : 59 - 63
  • [25] Compressed bloom filters
    Mitzenmacher, M
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2002, 10 (05) : 604 - 612
  • [26] Sliding Bloom Filters
    Naor, Moni
    Yogev, Eylon
    ALGORITHMS AND COMPUTATION, 2013, 8283 : 513 - 523
  • [27] Set Reconciliation with Cuckoo Filters
    Luo, Lailong
    Guo, Deke
    Rottenstreich, Ori
    Ma, Richard T. B.
    Luo, Xueshan
    PROCEEDINGS OF THE 28TH ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT (CIKM '19), 2019, : 2465 - 2468
  • [28] Additive and Subtractive Cuckoo Filters
    Huang, Kun
    Yang, Tong
    2020 IEEE/ACM 28TH INTERNATIONAL SYMPOSIUM ON QUALITY OF SERVICE (IWQOS), 2020,
  • [29] Bloom Filters in Adversarial Environments
    Naor, Moni
    Eylon, Yogev
    ACM TRANSACTIONS ON ALGORITHMS, 2019, 15 (03)
  • [30] On the Privacy of Counting Bloom Filters
    Reviriego, Pedro
    Sanchez-Macian, Alfonso
    Walzer, Stefan
    Merino-Gomez, Elena
    Liu, Shanshan
    Lombardi, Fabrizio
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2023, 20 (02) : 1488 - 1499