
Design Search Autocomplete: A 100 ms Budget, Every Keystroke
A system design walkthrough for typeahead suggestions at search-engine scale: the keystroke multiplier, why a trie isn't the serving format, precomputed top-k per prefix, an offline pipeline plus a trending fast lane, client debounce and caching, sharding, ranking by locale and freshness, and the filters that keep predictions safe.