System Design HLD Example: Search Autocomplete (Google/Amazon)
Mar 13 · 14 min read · TLDR: Search autocomplete must respond in sub-10ms to feel "instant." The core trade-off is Latency vs. Data Freshness: we use an offline pipeline (Spark) to pre-calculate prefix-to-suggestion mappings and store them in Redis Sorted Sets (or a specia...
Join discussion























