Search Autocomplete System Design
Design the backend for a search autocomplete system that returns suggestions within 100ms as the user types.
// interview question
Design the backend for a search autocomplete system that returns suggestions within 100ms as the user types.
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
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.
mid
How Netflix Ships a Third of the Internet: The CDN They Had to Build
At its 2015 peak Netflix was 37% of North American downstream traffic, and almost none of it came from a commercial CDN. Open Connect is a cache hierarchy built on one asymmetry: Netflix knows tonight what people will watch tomorrow. Here is how the appliances, the nightly fill, the BGP steering and the 800 Gb/s FreeBSD boxes fit together, a runnable comparison of push fill against pull-through caching, and what it teaches anyone running a cache.