Bloom Filter (probabilistik) Playground

Mr. Tono ties a ribbon on k stakes of the seedbed for every seed he sows: one stake without a ribbon means surely not, all ribboned means maybe; false…

Why it matters

Databases (RocksDB, Cassandra) use Bloom filters so they never open a file for a key that is surely absent; browsers and CDNs use them for big URL lists. Knowing when "maybe" can be wrong, how often, and why it cannot delete lets you choose m and k right.

The key idea

"No" is certain, "maybe" is a chance

Common mistakes

Try it in this playground