Active-active or standby
Difficulty 3 of 5
Orders arrive at 1,200/s. One API vCPU serves about 330 orders/s. DNS checks each region every 5 s, and clients keep an answer for 10 s. At 10:00 eu-central fails for good. Lose at most 1 percent of orders in 30 minutes, with p99 under 300 ms. Budget: 64 USD/month.
Options
- Warm standby: 5 vCPU in eu-central, 1 scaling vCPU in eu-west (46 USD/mo)
- Active-active: 2.5 vCPU in each region (42 USD/mo)
- Active-active: 5 vCPU in each region (62 USD/mo)
Goals and limits
- Availability
- at least 99%
- p99 latency
- under 300 ms
- Monthly cost
- under 64 USD/mo
- Traffic
- 1,200 req/s
Concepts
How players did
Player results load from the server.