Design Caching for High-Traffic eBay Item Pages

Last updated: November 29, 2026

Quick Overview

Design the caching layers that keep eBay item detail pages fast under heavy traffic while showing correct price, quantity available and auction state, including when a popular item sells out in seconds.

eBay
System Design
Software Engineer
eBay
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the caching layers that keep eBay item detail pages fast under heavy traffic while showing correct price, quantity available and auction state, including when a popular item sells out in seconds.

Item pages are among eBay's highest traffic pages, and a deal or viral listing can draw huge spikes to one item. The interviewer checks that you split static and volatile data, choose invalidation strategies, prevent stampedes, and avoid showing an item as available after it sold out.

What the Interviewer Expects
  • Separate slowly changing content from volatile price and stock
  • Cache at CDN, service and data layers with different TTLs
  • Invalidate on change events, not only on TTL
  • Prevent stampedes with request coalescing
  • Verify availability at checkout so stale cache cannot oversell
Key Topics to Cover
caching
cache invalidation
CDN
consistency
stampede protection
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.
Possible Follow-up Questions
  • A seller fixes a typo in the title. How quickly does it show, and how?
  • How do you handle a single listing that gets 100x normal traffic for an hour?
  • Would you cache personalized parts like shipping estimates to the viewer's ZIP?
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

Item pages show title, photos, description and item specifics (change rarely), plus price, quantity, bid count and time left (change often), plus personalized pieces such as shipping estimate and watc...

High-Level Design

Split the page. The static shell and listing content are rendered and cached at the CDN and in a service cache keyed by item_id:revision. Volatile fields come from an item state API served f...


Submit Your Answer
Markdown supported