Amazon HLD: The Cart That Never Says No (Dynamo, Quorums, Merge)
An Amazon system design on the always-available shopping cart: AP over CP, a Dynamo-style replicated key-value store, quorums, consistent hashing, and merging divergent carts.
You're on the metro, no signal, and you tap Add to cart on a book you've been eyeing. The app doesn't spin, doesn't warn you, doesn't quietly queue it for "when you're back online" — it just says Added, instantly. You get home, open the laptop, and there's the book, sitting next to the phone charger you added from your desk an hour earlier. Nothing was lost, nothing was refused, and at no point did the cart make you wait. That tiny, boring reliability is one of the hardest promises in distributed systems, and it's the humblest corner of "Design Amazon" — the one that rewrote the field. The cat…
What’s inside
Read this one free
Sign in and your first premium article is on us — read Amazon HLD: The Cart That Never Says No (Dynamo, Quorums, Merge) free.