Index

One wala, many kettles (concurrency vs parallelism)

The Chai Stall That Got Famous
The Chai Stall That Got Famous · Open board

The stall on the corner, its queue and its wala at the stove. This lesson stays inside that one stall and asks what the wala does while the chai brews. The lab at the end of the story lets you run the same stall yourself.

Before you start. You need the stall from The chai stall that got famous (load balancing): one wala at one stove, a queue that grew when the stall got famous, and more stalls added so the crowd could be shared. You do not need to know anything about how computers work; every word this lesson uses is shown doing something before it is named.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Lab

Sixteen customers, one wala. If the wala stops standing at each kettle, how much sooner is everyone served?

Switch to Juggle the kettles, drag Customers at once and Burners to 64, then watch Walas busy.

Open One wala, many kettles →

Review System Design →

Saved in this browser, and to your account when you sign in.