Related System Design
Design Twitter Feed
Design a scalable news feed system where users can post tweets and follow other users.
Design personalized, trend-aware autocomplete and search suggestions for a large online store's product search, built around a ranking model you are given.
Design the autocomplete for a large online store's product search. As a shopper types, the search box shows up to 10 query suggestions, personalized to that shopper and aware of what is trending in their country's store right now. A ranking model already exists: given a prefix, candidate queries, and features, it scores the candidates. How would you build the system around it?
Use this as one discussion aid, not a single correct answer. Your design should follow from the requirements, scale, and trade-offs you establish.
graph LR
A["Design Product Search Autocomplete"]
A --> F1["Candidate generation versus model ranking"]
A --> F2["Serve-time personalization, caching, and fallbacks"]
A --> F3["Trending-query pipeline with minute-level freshness"]
A --> F4["Marketplaces, locales, and cold start"]
A --> F5["Privacy, safety, and abuse filtering"]The interviewer probes these areas, and the report grades the interview against them.
Practice drawing this system component-by-component on a live whiteboard while the interviewer probes at your target level.
Continue to DashboardContinue preparing
Related System Design
Design a scalable news feed system where users can post tweets and follow other users.
Related System Design
Design a system to track ad clicks and aggregation for real-time analytics and billing.
Related System Design
Design the search-box typeahead for a large web search engine: popular completions for every prefix, shared by all users in a locale.
Related System Design
Design a real-time chat application like WhatsApp or Facebook Messenger.