Challenge 7 · intermediate · Online shop
The double charge
Checkouts call the payments provider with a 1-second timeout and one retry, which the team added after last month's brownout. At 15 seconds the provider starts losing replies: the charge goes through, but for one charge in five the answer never reaches the shop, so the shop waits out its timeout.
Get duplicate charges down to at most 1 per 1,000 checkouts, while at least 98.5% of checkouts succeed and no more than 15 in 1,000 customers are charged for a checkout that failed.
Goal · measured 00:30–01:30
0 changes · par 2- Duplicate charges ≤ 1.0 per 1,000 checkoutsnot measured yet
- Checkouts succeed ≥ 98.5%not measured yet
- Charged, but the checkout failed ≤ 15.0 per 1,000 checkoutsnot measured yet
Service map
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.
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.