200 users send 400 requests a second to an API that answers 1,000 a second. At 10 seconds a scraper starts: 3,000 requests a second, all with the same API key, spread evenly over 300 IP addresses. The gateway can rate-limit requests, and you choose what it counts them against.
From 15 to 60 seconds, answer at least 99% of real users' requests, with their p99 at 300 ms or less.
Real users' requests answered ≥ 99.0%not measured yet
Real users' p99 ≤ 300 msnot measured yet
Service map
API gateway · pausedSelect a component to inspect
SYSTEM BOUNDARY400/s400/sUsers200 users · 400/sCLIENTScraperidleCLIENTGatewayno rate limitSERVICEAPI servers1 server · 30 msSERVICE
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.
Service map
API gateway · pausedSelect a component to inspect
SYSTEM BOUNDARY400/s400/sUsers200 users · 400/sCLIENTScraperidleCLIENTGatewayno rate limitSERVICEAPI servers1 server · 30 msSERVICE
SYSTEM BOUNDARY400/s400/sUsers200 users · 400/sCLIENTScraperidleCLIENTGatewayno rate limitSERVICEAPI servers1 server · 30 msSERVICE
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.
Dashboard
Real users' requests per second
500/s
Press Start
00:0001:00
Answered–
Rate-limited–
Failed–
Real users' latency
500 ms
Press Start
00:0001:00
p50–
p95–
p99–
Scraper requests per second
1,000/s
Press Start
00:0001:00
Sent–
Let through–
API server load
100%
Press Start
00:0001:00
Load–
Events and logs
Nothing yet. Faults, timeouts, retries, breaker changes, shedding, cache expiry and your own changes appear here, and as markers on the charts.
Slowest recent request
Press Start to see requests.
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.