Mock Interviewer
Ask Coach
Tap a question to start, or type your own below.
Amazon System Design
Visual Problem Diagram

Scenario
Black Friday opens and 600 orders per second hit checkout while shoppers refresh the same "last one in stock" listing. Catalog search must stay under 200 ms, carts cannot lose items mid-session, and inventory must never oversell—a race on the last unit is the interview moment, not drawing a product table.
Design an e-commerce platform where users browse a large product catalog, search and filter listings, manage a persistent shopping cart, and place orders that decrement inventory in real time. In production this stack sits behind aggressive caching and search indexes; the product experience fails when search is slow, carts vanish on device switch, or two buyers claim the last unit.
You should support catalog and search, cart and checkout, order processing, inventory tracking, and personalized recommendations at scale. Be ready to explain how you prevent overselling under concurrent checkout, how you index and serve 100M+ products, how cart state survives sessions, and how you handle peak traffic without melting the database. Latency targets, consistency choices for inventory, and degradation when search lags are fair game.
Constraints
Product catalog and search, shopping cart, order processing, inventory tracking with oversell prevention, product reviews, recommendation hooks
< 200 ms p95 page load for browse/search, 99.99% uptime for checkout path, strong consistency on inventory decrement, idempotent order placement
300M registered users, 100M DAU, 100M products; ~50M orders/day (~600/s peak); ~2B product views/day; cart state for tens of millions of active carts
Stages ahead
Log in to start practicing
Preview the problem below. Sign in to start your timed session, save progress, and use the AI coach.