System Design

High-Availability Shopping Cart Architecture

System Design diagram · made in Skemio

High-availability shopping cart architecture showing client browser, CDN edge, Cart Service with Redis session store, and Checkout with SQL DB.
High-availability shopping cart architecture showing client browser, CDN edge, Cart Service with Redis session store, and Checkout with SQL DB.

What it shows

  • Edge cookies store cart tokens to minimize roundtrips on browse actions.
  • Replicated session stores like Redis or DynamoDB handle fast writes.
  • Checkout transitions transient cart state to durable SQL order tables.

The takeaway

Separate transient high-throughput cart storage from durable ACID order processing.

More system design diagrams