The Desi Architect
Notes / Browser demos / Stop a server on match night
Interactive demo Free

Stop a server on match night

Try the model, then compare what changed. This is a browser simulation with illustrative inputs.

Illustrative simulation. The values come from a model, not a measured production system.
Try it · break it under load

A food app's order API behind one load balancer: three app servers, each good for about 1,000 requests a second, and one Postgres that takes 3,000 queries a second. Every request makes one query. The numbers are made up and round. Time is sped up, so the balancer checks every server once a simulated second and takes it out after 2 failed checks in a row.

Read scenario overview
  • Components: Users (source); Balancer (lb); App 1 (server): capacity 1,000/s, 20 ms; App 2 (server): capacity 1,000/s, 20 ms; App 3 (server): capacity 1,000/s, 20 ms; Postgres (db): capacity 3,000/s, 4 ms.
  • Traffic: starts at 2,400 requests/second (slider range 0 to 4,000/s).
  • Interactive controls: Add a server, Slow down the database, Health check mode. Servers and database can be stopped and restarted by clicking them.
Learn the idea behind it

The demo shows what breaks. The lesson explains why it breaks, and what you give up with each fix.

This demo is free. The System Design pass (₹499) opens all 28 demos, 36 design interview problems and 75 Docker labs. See what the pass includes →

Read the related guide