← 🐦 Algorithms

🐦 Cuckoo Filter

Evictions:
Fingerprints stored:
Drag — rotate · Scroll — zoom

🐦 Cuckoo Filter

The simulator visualizes how items are hashed into short fingerprints, placed into one of two candidate buckets, and relocated through cascading evictions when a bucket collision occurs, alongside how deletion cleanly removes a single fingerprint without disturbing any other stored item.

🔬 What It Demonstrates

The simulator visualizes how items are hashed into short fingerprints, placed into one of two candidate buckets, and relocated through cascading evictions when a bucket collision occurs, alongside how deletion cleanly removes a single fingerprint without disturbing any other stored item.

🎮 How to Use

Insert items one at a time and watch each one get hashed into a fingerprint, placed into its first candidate bucket, or bounced through an eviction chain into an alternate bucket via the XOR relationship. Delete items to see their fingerprint disappear from its exact slot, and query items to see how lookups check both candidate buckets before reporting present or absent.

💡 Did You Know?

A well-tuned cuckoo filter can often achieve the same false-positive rate as a Bloom filter while using less memory per item, especially at low target false-positive rates, all while additionally supporting safe, targeted deletion that a Bloom filter structurally cannot offer.