Mental Models204 cards · 12 fields

Mental Models/Computing & Information

Brooks's Law

布鲁克斯定律

Adding people to a project that's already late only makes it later.

In 1964 IBM announced its System/360 line of computers. The operating system that went with them, OS/360, was run by Frederick Brooks. When the work fell behind schedule, the company added people to the project; at its peak more than a thousand people were working on it. There were more and more programmers, yet part after part was still delivered months late, again and again. Years later, Brooks put this experience into a book.

Brooks's law says that adding people to a project that is already late only makes it later. An hour before the Lunar New Year's Eve family dinner, you still have twenty plates of cold dishes to slice by yourself. Your cousin comes over to help, and first spends ten minutes listening to your instructions: which plates are cut into strips, which into slices, which get dressed only at the very end. After that, he asks you a question for every plate he cuts, and you have to put down your knife to answer. The ones he cuts wrong, you have to redo. The time all goes on these things, and when dinner starts, you may have fewer dishes ready than if you'd done it alone.

With 2 days left, one more person costs 5 units
-2002040246810Days left before deliveryNet extra units from adding oneNet extra unitsBreak even
-2002040246810Days left before deliveryNet extra units from adding oneNet extra unitsBreak even

A veteran does 10 units a day; training a newcomer costs one whole day of that, then the newcomer does 5 a day. 3 days left: even. 10 days left: 35 ahead.

The newcomer first eats up the experienced person's time

Suppose an experienced worker can do 10 units of work a day. Training a newcomer takes up one whole day of their time, and from the second day the newcomer can do 5 units a day. With only 2 days left, the experienced worker does 10 fewer units and the newcomer makes up only 5, a net loss of 5. With 3 days left, the newcomer makes up 10, exactly breaking even. With 10 days left, the newcomer makes up 45, a net gain of 35. The closer the deadline, the more adding people costs you.

More people, more pairs to keep in sync

Every two people on a team have to keep each other informed, and that counts as one pair. The number of pairs among people is:

Each person has to keep in sync with the other people, and each pair gets counted once from each end, so you divide by 2. Among 3 people there are 3 pairs; among 6 there are 15. Double the people, and the pairs more than double. The more the work a newcomer takes on touches other people's changes, the more interfaces the experienced people have to explain, the more conflicts they have to sort out, and the more things they have to test again.

The delivery date is set by the line that finishes last

Some work has to happen in order. Until the design is settled, the people writing code have to wait; until the whole thing passes testing, it can't be delivered. The chain of linked work like this that finishes last is that line. When a newcomer arrives, first ask which piece of work on this line they can take over. If they can't take any, no number of new people will change the date.

Adding people helps when the work holding up delivery can be split into pieces that don't affect each other, the newcomers know this kind of work, and there's enough time left to earn back the cost: tickets with clear rules, for instance, or drafts proofread separately. An expert who needs no training and can fix a critical fault directly can also bring delivery forward. So it isn't a rule against ever adding people. What to guard against is putting people who need a lot of training into tightly linked work close to a deadline.

Predict
Predict that when a project already running late hires a batch of new people close to launch, the delivery date will most likely slip further. Compare the days left with the days that training will take up.
Explain
After a renovation crew ran past its deadline, the homeowner brought in two more crews, and the job finished even later, because the original foreman first had to mark out areas for them and explain how things should be done.
Act
First find the one piece of work that's holding up delivery, and see whether it can be split off for newcomers to do on their own. If it can't, hold off on adding people.
  1. What is the piece of work holding up delivery? Who is the only person who can do it?
  2. What can a newcomer finish on their own in the first week, and how much of which experienced person's time will that take up?
  3. How many days are left before delivery, and in those days, will the output newcomers add cover what training and coordination cost?

Public services

The rescue started with coordination

In 2013 the US health insurance website HealthCare.gov failed at launch. Mikey Dickerson, who later joined the rescue effort, found that the project involved hundreds of people and dozens of companies, yet had no overall coordination and no monitoring of how the site was running. The team added monitoring and brought the people involved together to meet in one place, and only then did the site slowly recover.

Investing

Rushing due diligence slows it down

A deal for a company you're investing in is already behind schedule, and you bring in three teams of advisers to speed up due diligence. All three teams need the head of finance to explain the same unusual item of income, so he holds the same meeting three times, and the account checking he had planned stops. Later you combine the questions into one list and have a single contact person collect the answers, and only then does he have time to get back to checking the accounts.

Personal life

Chaos the night before the wedding

The night before your wedding, the venue still isn't set up, and seven or eight relatives come to help. What to hang, where things go, which table is for whom: every one of them asks you, you get pulled back and forth, and the seating cards you meant to write are still unfinished. You hand the whole job of setting out the chairs to one relative, let him lead the others himself, and go back to the table to write the seating cards.

Brooks's LawDivide and ConquerSplit a big problem into smaller copies of itself, solve each, then put them back together.An annual report has five chapters that don't depend on each other, each checking its own data. Give them to five people and it can be written in an afternoon. There's no need for Brooks's law here; just divide and conquer. But if each chapter's figures cite other chapters, every chapter has to wait for the others to be finalized, and dividing the work creates a pile of interfaces to keep in sync. That's when to think of Brooks's law first.Brooks's LawBottlenecksA whole line can only go as fast as its slowest step.A factory is delivering late, and the bottleneck is the final inspection. Add people to the assembly line, and however fast assembly gets, the goods still pile up waiting for inspection; only adding inspectors or running inspections in parallel will bring delivery forward. Before adding people, first check whether they're going to that slowest step.Brooks's LawPlanning FallacyWe estimate time as if everything will go smoothly, so we're almost always late.A project manager first estimated four months. The project has now slipped into its sixth month, and he wants to catch up by adding people. The first estimate was already too low once, and now he overestimates how much newcomers can produce right away: the planning fallacy, committed a second time. Only by redoing the sums with the original estimate and the newcomers' training time together will he know how much work is really left.

You're a producer at a studio. The documentary is already late, and only two days remain before the screening. Three editors are still adjusting the order of the story, relying mainly on the lead editor to judge which shots stay. The boss brings in three people at short notice who know the editing software well but have never seen the footage. They first have to hear the lead editor explain the story and the footage, then edit their sections, and finally the lead editor merges and checks everything.

What effect will adding these people have on delivering the film on time?

You own shares in an equipment company. A batch of orders is already late. Assembly is all done, and only unit-by-unit acceptance testing remains. Each unit can be tested on its own, there are plenty of test stations, and shipping has spare capacity. The company brings in certified inspectors from another factory who know this model of equipment and can finish training on this plant's procedures in half a day. There are two weeks left before the new delivery date. An analyst declares, "Adding people after a delay will only make delivery later."

How should you judge this claim?

You're making a birthday album for your grandfather, and it must go to the printer tomorrow night. A hundred old photos still need the people and years identified, and only your mother can recognize them. Another two hundred photos already have captions written on paper that haven't been typed in yet. Your mother keeps switching back and forth between identifying photos and typing captions. Two friends are willing to help; they type fast, but they don't know anyone in the photos.

How should you use the two friends to give the album the best chance of going to print on time?