RightSignal
1 of 4

Your RightSignal

Concept of the day1 / 3

Bloom filters

The concept

How a site can say a username is free without searching every account

A Bloom filter is a tiny memory aid that answers one question: have I seen this before? It can answer definitely no or probably yes, and it is fast because it never stores the items themselves.

Picture a long row of light switches, all off. Each name you add flips on a few switches chosen by a fixed recipe that scrambles the name.