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, 2025
Software 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
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. 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 Problems
Sample Answer
Requirements
  • Functional Requirements:
    1. Cache user shopping cart data to reduce load on backend services.
    2. Evict stale cache entries based on configurable TTL (Time to Live).
    3. Support invali...
Capacity Estimation
  1. User Base Estimation:

    • Assume 10 million active users during peak times.
  2. Request Rate:

    • Each user makes an average of 5 requests per minute, leading to a total of 50 milli...

Submit Your Answer
Markdown supported

Related Questions