...
/High-level Design of the Typeahead Suggestion System
High-level Design of the Typeahead Suggestion System
Get an overview of the high-level design of the typeahead suggestion system.
We'll cover the following...
High-level design
According to our requirements, the system shouldn’t just suggest queries in real time with minimum latency but should also store the new search queries in the database. This way, the user gets suggestions based on popular and recent searches.
Our proposed system should do the following:
- Provide suggestions based on the search history of the user.
- Store all the new and trending queries in the database to include them in the list of suggestions.