Circuit breaker

  • Build
  • Guard 04

Difficulty 2 of 5

The payment API is down from 0:20 to 0:35. Shoppers tap Pay again, so checkout traffic doubles. Checkout uses 5 ms of CPU per call and is locked. Add one part. Keep p99 under 700 ms and availability at 65 percent or more.

Play level

HTTP/2HTTP/2Users120 req/sWorker1 vCPU · 1 GBPayment pro…1 vCPU · 1 GB
HTTP/2HTTP/2Users120 req/sWorker1 vCPU · 1 GBPayment pro…1 vCPU · 1 GB
The board at the start of the level
Three failure domainsTap to fail one replica. The fourth tap heals all.

3 of 3 up · availability 99.9999%

Goals and limits

p99 latency
under 700 ms
Availability
at least 65%
Monthly cost
under 20 USD/mo
Parts you can add
API gateway, Load balancer (L7)
Part limit
1
Traffic
120 req/s

Concepts

How players did

Player results load from the server.