Scale-up

Read-heavy at scale

CloudFront → ALB → an auto-scaling group → Aurora with two read replicas. At 40 s the primary fails.

Read-heavy at scale running in the ServerSloth simulator

What this architecture teaches

Read-heavy products scale reads in layers: a CDN answers what it can at the edge, read replicas answer most of the rest, and only writes must reach the primary.

At 40 seconds the primary database is killed. Reads keep working from the replicas, but writes fail until Aurora promotes a replica to primary — about 30 seconds here. That window is your write downtime during a failover.

Look at the error rate during the failover: it matches the share of writes in your traffic.

What to look for

Components

Scripted events

Failure modes you will see