Challenge 8 · intermediate · Phone app
Push notification stampede
At 20 seconds marketing sends a push to all 20,000 phones. The app prefetches its home screen the moment the push lands, so the screen is ready when the person taps. Home screens are personal, so none of them are in the cache: every prefetch is a database query.
Meanwhile 600 people a second are opening the app. From 18 to 50 seconds, keep at least 99.5% of app opens succeeding, with a p99 of 500 ms or less.
Goal · measured 00:18–00:50
0 changes · par 1- App opens succeed ≥ 99.5%not measured yet
- App open p99 ≤ 500 msnot 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.