System Design Lab / Workbench / Challenges
Find the flaws in a fragile design
A small shop was built in a hurry: one Shop service, a database with 2 connections and a payment call that waits up to 5 s. It works in a demo. At 350 requests a second, with the payment provider slowing down at 0:20, it falls over. Test it, find all three flaws, fix them.
Start the challenge →What breaks
Users → Load balancer → Shop service (1 copy) → Products DB (2 connections) and Payment provider (no short timeout). 85% browse, 15% check out. The payment provider is 40x slower from 0:20 to 0:35.
What you do
- Play and see which part turns red first.
- Add Shop service copies, play again: a second flaw shows up in the database.
- Fix the database, then watch the slow payment provider take the shop down at 0:20.
- Give payment calls a short timeout. One fix alone is not enough: all three goals need all three fixes.
Runs in your browser. No sign-up needed. Numbers come from the Workbench simulator, not a real system.