Skip to content
Chaos Lab

Challenge 60 · intermediate · Four-layer checkout

Storm radius

A checkout goes gateway → checkout → pricing → database, 400 a second. Each team gave its own calls one retry. The database handles 500 calls a second and fails 2% of them now and then, which pricing's retry hides. Pricing has an occasional bug of its own (3% of calls), which checkout's retry hides.

From 15 to 30 seconds the database browns out to 250 calls a second. From 10 to 90 seconds: at most one layer may repeat a failure the database caused, the database must never receive more than 1.7 calls per checkout, and pricing's bug must reach no more than 0.5% of checkouts.

ready00:00 / 01:30Success · 10 s–p99 · 10 s–

Service map

Four-layer checkout · paused
×1.00×1.03×1.02
All components healthy.requestretrytrial call (half-open)failed

What changed

Turn on a fault or change a defence while the run plays. Its effect shows here: the 5 seconds before against 5 seconds after it settles.

Goal · measured 00:10–01:30

0 changes · par 1
  • Storm radius (layers repeating a database failure) ≤ 1 layermeasuring from 00:10
  • Database calls per checkout, at worst ≤ ×1.70measuring from 00:10
  • Checkouts failed by pricing's own bug (%) ≤ 0.50%measuring from 00:10

This is a simulation. Its numbers come from a model of a typical system, not from measuring real servers. The same link and seed always give the same run. How the Chaos Lab works.