Bulkhead against a cascade
Difficulty 4 of 5
At 0:20 the locked database runs at half speed for 40 s. Checkout then times out together with search. Keep checkout p99 under 150 ms and availability at 99.9 percent, and search at 99 percent. Budget: 40 USD/month. At most 4 edits.
11:20 UTC. Checkout p99 jumps from 20 ms to 10 s. Graph: the database queue climbs while both request types wait in it.
Two rows · 3 of 3 replicas up · load served
Goals and limits
- p99 latency (Checkout)
- under 150 ms
- Availability (Checkout)
- at least 99.9%
- Availability (Search)
- at least 99%
- Monthly cost
- under 40 USD/mo
- Parts you can add
- Node API, Postgres, Load balancer (L7)
- Part limit
- 3
- Edit limit
- 4
- Traffic
- 300 req/s
Concepts
How players did
Player results load from the server.