Design a event-driven Caching System
Last updated: December 12, 2025
Quick Overview
Design a event-driven caching system handling millions of requests. Discuss consistency, availability, and performance trade-offs.
Walmart
System Design
Software Engineer
Walmart
December 12, 2025Software Engineer
Technical Screen
System Design
Hard
556
12
3,125 solved
Design a event-driven caching 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.
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
- Functional Requirements:
- Cache user shopping cart data to reduce load on backend services.
- Evict stale cache entries based on configurable TTL (Time to Live).
- Support invali...
Capacity Estimation
-
User Base Estimation:
- Assume 10 million active users during peak times.
-
Request Rate:
- Each user makes an average of 5 requests per minute, leading to a total of 50 milli...
Submit Your Answer
Markdown supported