Design Caching for Uber Eats Store Menus and Prices
Last updated: November 29, 2026
Quick Overview
Design the caching layer that serves restaurant menu pages to eaters quickly while making sure prices, item availability, and store hours shown are not stale enough to cause checkout failures.
Uber
November 29, 20260
0
0 solved
Design the caching layer that serves restaurant menu pages to eaters quickly while making sure prices, item availability, and store hours shown are not stale enough to cause checkout failures.
Menu pages are among the highest-traffic reads on Uber Eats, and they mix rarely-changing structure with fast-changing availability. Interviewers want to see you split data by change rate, pick invalidation strategies, and protect the source of truth during a lunch rush.
What the Interviewer Expects
- Separate slow-changing menu structure from fast-changing availability
- Use versioned cache keys or event-driven invalidation
- Prevent cache stampedes on popular stores
- Validate price and availability again at checkout
- Pick sensible TTLs and justify them
Key Topics to Cover
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.
Possible Follow-up Questions
- A merchant changes a price. How quickly must eaters see it, and how do you make that happen?
- How do you cache menus that differ by eater location (delivery fee, regional pricing)?
- What happens when a celebrity posts a store and traffic jumps 50x?
- Would you put any of this in a CDN?
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
Store page loads in under 300 ms. Menu structure (categories, item names, descriptions, photos) changes a few times a week. Prices change occasionally. Item availability and store pause status change ...
High-Level Design
- Menu service (source of truth) publishes
menu.updated {store_id, version}on any merchant edit. - Menu cache (Redis or Memcached cluster) holds the full menu document under key `menu:{stor...