Spread across zones

  • Build
  • Guard 09

Difficulty 3 of 5

Both API servers run in zone A. Zone A fails at 0:40 and stays down. The balancer and the managed database span both zones. Keep availability at 97.5 percent and p99 under 150 ms for 1,200 orders/s. Budget: 52 USD/month.

Play level

RegionZoneZoneHTTP/2HTTP/2SQLSQLUsers1,200 req/sLoad balanc…1 vCPU · 1 GBNode API1 vCPU · 1 GBNode API1 vCPU · 1 GBPostgres2 vCPU · 4 GB × 2
RegionZoneZoneUsersLoad ba…Node APINode APIPostgres
The board at the start of the level
Failure domains on the floorTap for the next fault. Arrow keys move the replicas.

Two rows · 3 of 3 replicas up · load served

Goals and limits

Availability
at least 97.5%
p99 latency
under 150 ms
Monthly cost
under 52 USD/mo
Parts you can add
Node API, Load balancer (L7)
Part limit
6
Traffic
1,200 req/s

Concepts

How players did

Player results load from the server.