Design a event-driven Search System
Last updated: September 30, 2025
Quick Overview
Design a event-driven search system handling millions of requests. Discuss consistency, availability, and performance trade-offs.
Walmart
System Design
Software Engineer
Walmart
September 30, 2025Software Engineer
Onsite
System Design
Medium
667
15
1,667 solved
Design a event-driven search system handling millions of requests. Discuss consistency, availability, and performance trade-offs.
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Practice a Similar Problem on Codemia
Solve a related problem with our interactive workspace, get AI feedback, and view detailed solutions.
Solve on CodemiaSample Answer
Requirements
- Functional Requirements:
- Search Indexing: Ability to index products in real-time as they are added or updated in the inventory.
- Search Query Handling: Support for full-text...
Capacity Estimation
- Daily Active Users: Assume Walmart has approximately 100 million daily active users.
- Search Queries per User: If each user performs an average of 5 searches per day, that results in: ...
Submit Your Answer
Markdown supported