Amazon-Scale E-Commerce System Design: Building a Cart, Order & Payment System That Never Fails

When I started designing my first e-commerce system, I thought the architecture would be straightforward.