Skip to main content

Week 4: One line or many

The banks changed to a single serpentine line and the supermarkets never did. Both were right.

15 March 2027

This is the first genuinely structural decision anybody makes about a queue, and most places make it without noticing. You can have five counters with five separate lines in front of them, or you can have five counters with one line feeding all of them, and those two arrangements behave very differently.

Pooling wins on the arithmetic and it wins by a lot. One line into five servers is dramatically better than five separate lines, not because the servers go faster but because nobody is ever idle while somebody else is waiting. The unlucky customer stuck behind a difficult transaction no longer pays for it alone.

So why does a supermarket still have you choosing a till. That is the interesting half of the hour, and the answer is not that supermarkets are badly run.

Two arrangements side by side. On the left, five counters each with its own line, of three, one, four, two and two people. On the right, the same five counters fed by a single line of twelve.
The same twelve people and the same five counters, arranged two ways. On the left the person behind the four-deep line waits while a counter on the right sits idle. On the right that cannot happen, which is the entire argument.

The arithmetic

We compare two systems formally, setting several independent single-server queues against one queue that feeds several servers, at the same total capacity.

The pooled system wins on mean wait at every load, and the gap widens as you approach capacity. It also wins on fairness in a way we can define precisely, because the variance of the wait collapses. Nobody has a catastrophic day.

Groceries moving along a belt towards a supermarket checkout
The belt is doing something a serpentine queue cannot. It is selling you the wait, and that is the second of the five reasons not to pool.Photograph by Enkhjin photography

The reasons not to pool

Five of them, and you need all five for the redesign.

After this lecture

You can say which of these applies at your own site, and that is the first half of The Redesign.

Teaching team