Skip to content
StackDecode
System Design
20. System Design Case StudiesAnimated

E-Commerce Platform (Amazon)

Catalogue, cart, checkout and fulfilment.

The idea

Services for search, cart, orders, payment and inventory coordinated with events and sagas.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

CustomerAPI gatewaySearchCartOrdersInventoryEvent bus
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Browse and search are read-heavy and heavily cached.

step:
1/4
at:
Customer
1/10

The green dot is a request moving through the system.

Step by step

  1. 1Browse and search
  2. 2Add to cart
  3. 3Checkout and pay
  4. 4Reserve stock and ship

Where it is used

Large commerce design.

Watch out for

Inventory consistency under heavy sales.

Related