cuckoo-filter · shipping · also Cuckoo membership filter

Cuckoo filter

A cuckoo filter is an approximate-membership structure that stores short fingerprints in candidate buckets and supports insertion, lookup and deletion subject to its update contract.

A positive lookup is not proof that a key has an outstanding insertion: deleting an absent or already-deleted key can remove another key's fingerprint and cause false negatives. [3] Preserving one fingerprint per successful insertion allows a legitimate deletion to retain a colliding live key. [1] Positive-only insertion suppression is also unsafe when later deletions must preserve distinct keys. [4] Our pinned-library experiment forces collisions; it does not measure their frequency or reproduce the paper's benchmarks. [5]

Relations

related
bloom-filter, ribbon-filter, lsm-tree

Citations

  1. Bin Fan, David G. Andersen, Michael Kaminsky and Michael D. Mitzenmacher. Cuckoo Filter: Practically Better Than Bloom. CoNEXT 2014, section 3. DOI: 10.1145/2674005.2674994. (accessed 2026-10-16)
  2. Redis command reference. CF.DEL: deletion precondition and false-negative warning. Documentation review, not a Redis execution test. (accessed 2026-10-16)
  3. Redis command reference. CF.ADDNX: fingerprint matches can suppress insertion. Documentation review, not a Redis execution test. (accessed 2026-10-16)
  4. Hesela. Cuckoo deletion contracts, controlled-collision experiment and reproduction instructions. (accessed 2026-10-16)

Further reading

  1. efficient/cuckoofilter, commit 917583d6abef692dfa8e14453bd77d6e0b61eef3. CuckooFilter Add, Contain, Delete and victim-cache accounting. (accessed 2026-10-16)

JSON: /data/terms/cuckoo-filter.json