Username Availability with Bloom Filters
Explain how you'd check username availability for a service with billions of users without hitting the database on every keystroke.
// interview question
Explain how you'd check username availability for a service with billions of users without hitting the database on every keystroke.
Answer out loud first, then check yourself against the model answer.
More System Design interview questions
Also worth your time on this topic
Back-of-the-Envelope Estimation Quiz
The napkin-math skill that makes or breaks a system design interview: turning users into QPS, data into storage, traffic into bandwidth, and knowing the latency numbers every engineer should have memorised.
16-22 minutes
Instant Credit Card Validation
How does a credit card form validate numbers instantly, before even contacting the bank?
junior
How Does It Work So Fast? The Engineering Behind Instant UI Responses
Credit card validation, username checks, autocomplete, URL shorteners - they all feel instant. Here is what is actually happening under the hood in each case.