the.com/bloom filter

a bouncer who can swear you're definitely not on the list, but never swears you are.

means a probabilistic data structure that tests whether an element might be in a set, trading perfect accuracy for tiny memory and instant speed.

from invented in 1970 by burton howard bloom at bell labs, back when computer memory was expensive enough to make exactness a luxury nobody could afford.

for instance

chrome safe browsinggoogle once used one to flag malicious urls locally, offline

medium usernameschecks if a username is taken before hitting the database

bitcoin spv walletsused bloom filters to fetch relevant transactions without full blockchain

cassandra databaseskips disk reads for keys that definitely do not exist

the.com/
what’s happening now · the.com · generated