Design: Search Autocomplete System
Design covers backend architecture, data storage, and request flow for autocomplete suggestions. Frontend UI and personalization algorithms are out of scope.
Functional Requirements
Non-Functional Requirements
Jump into concepts and practice - no test required
Client | v API Gateway / Load Balancer | v Autocomplete Query Service <--> Cache (Redis) <--> Persistent Storage (NoSQL / Search Engine) ^ | Data Ingestion Pipeline (Batch updates)
"app", which of the following outputs is correct assuming the Trie contains words: ["apple", "app", "application", "apt"]?"xyz". What is the most likely cause?