Design systems that bend without breaking.
Each level gives you an architecture that fails under load. Change it, run it, and compare.
Levels 0 of 10 solved
- 01More traffic than serversYour API handles each request in about 10 ms and runs 10 at a time, so it serves about 1,000 requests per second. Marketing just sent 1,200.Open →
- 02The database cannot keep upEvery request reads from the database, which serves about 330 reads per second. Traffic is 400. Most reads ask for the same popular items, and you cannot make the database bigger.Open →
- 03The spike ended. The outage did not.Traffic jumps to 150 % for ten seconds and then returns to normal. Every caller retries a failed call three times, right away. The database never comes back, even though the load is normal again.Open →
- 04Checkout waits for the emailEach order calls the mailer and waits for it. The mailer sends about 100 emails per second. During a 10-second sale, orders reach 300 per second and checkouts start failing.Open →
- 05Serve some, or serve noneOne client floods you with seven times the normal traffic for twenty seconds. The database serves 400 requests per second and accepts a long queue, so every request waits longer than its caller is willing to. Nobody gets an answer.Open →
- 06One slow dependency, everything downOne request in five calls the payments provider. For thirty seconds the provider answers a hundred times slower. Those requests sit on your API's slots until their 2-second timeout, and soon there are no slots left for anyone, including the four in five that never needed payments.Open →
- 07The launch that outgrew its serversA launch takes traffic from 100 to 500 requests per second in an instant and it stays there. Your service runs two instances that together serve 400. This level does not let you start with more than two.Open →
- 08Half the traffic goes to the sick serverTwo identical servers sit behind a load balancer that alternates between them. At second 10, one of them becomes ten times slower. The balancer keeps sending it half of the traffic.Open →
- 09The queue that never emptiesOrders go to a queue and a worker processes them. Checkout is fast and nothing fails on screen. But 150 orders arrive every second and the worker finishes 100. Two minutes in, the queue is full and orders start disappearing.Open →
- 10Sale dayA flash sale triples traffic for fifteen seconds. Every order reads the database, then waits for the mailer. In the middle of the sale the database slows down for three seconds. Every caller retries three times, right away. After the sale the shop stays down.Open →