Scales with the crowd, not with hope.
The store runs as containers that add themselves as requests climb and step back as they fall, with an extra block switched on an hour before an announced sale. Catalogue pages and images are served from the edge, and browsing reads from replicas, so the primary database only takes orders.
- Compute
- ECS Fargate on Graviton, 2 to 40 tasks
- Scale on
- Requests per target and CPU at 60%
- Before a sale
- A scheduled step up, an hour ahead
- Cache
- CloudFront for pages, Redis for carts
- Database
- Aurora: one writer, up to three readers
We ship our own products