The Desi Architect
Notes / Browser demos / Two carts, one packet of Amul butter
Interactive demo Free

Two carts, one packet of Amul butter

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 · race simulator

A Blinkit-style dark store has exactly one packet left. Asha and Ben both press Pay. Pick a strategy, then move each cart one step at a time, or run a ready-made order. Try the unlucky order on the naive strategy first.

Shelf: Stored count: Clock:

Asha's cart

Ben's cart

Packets that exist1
Promised to customers0
Verdict-
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