Mental Models204 cards · 12 fields

Mental Models/Society, History & Organizations

Conway's Law

康威定律

However the teams split up the work, the system they build takes the same shape.

In 1998, Amazon's shopping website was still one big program. Search, the shopping cart, payment: the code for every feature was joined together, and all the development teams maintained it together. It was like several cooks sharing one pot, where whatever anyone adds to the pot changes everyone else's dish. So before every update went out, the teams first had to sit down and go over who had changed what; if one team hadn't finished its changes, the others could only wait.

Later the company split its developers into small groups, each responsible for just one thing and making its own decisions. The program was split up along with them into many small independent programs, called "services," one for each group. Services connected to each other only through ways of handing things over that had been agreed in advance, so the groups no longer needed meetings to coordinate, and each group could release its own updates.

However the people were grouped, that's how the program was divided.

You and a colleague each write half of an annual report, the first half and the second, and check each other's drafts only by email. When the halves are put together, the seams show. You wrote "users" and the other wrote "customers"; the technical terms are explained twice, once at the start of each half; the data in chapter three is counted two different ways. If you two sat across a desk from each other and checked each chapter together as soon as it was done, most of these seams wouldn't be there.

In 1967, Conway saw the same thing in software design: however the designers communicate, that's the shape the system takes. This observation later came to be called Conway's law. In software, a seam becomes an "interface": the agreed format in which two pieces of a program hand things over, such as what an order number looks like when it's passed along. Once an interface is set, the programs on both sides are written to follow it, and changing it means changing both together, which costs far more than changing some words.

Two weeks per change, and the system splits up
Ask a teammateFixed the same dayShare one tableBoth features use itCross-team requestTwo-week waitSeparate modulesOne narrow interface
Ask a teammateFixed the same dayShare one tableBoth features use itCross-team requestTwo-week waitSeparate modulesOne narrow interface

However designers communicate, that's the shape the system takes. Cut the wait across teams from two weeks to one day, and more gets shared again.

An interface first has to be worked out between people

Two teams build ordering and payment separately. How the order number is passed, what happens when a payment fails, who starts a refund: each of these needs someone on both sides to agree. But the people on the two teams don't normally see each other, so they can only wait for a planning meeting. So each team first finishes the parts it can decide on its own, and the hard problems all get left at the handover.

The costlier it is to talk, the more the design splits into separate parts

Suppose that within a team, a question across the desk gets a data field changed the same day, while across teams, changing the same field means filing a request ticket and waiting two weeks for its turn. Within one team, having two features share one table is the easiest way, and a change to the table can be agreed the same day. If sharing means crossing teams, every change means a two-week wait, so designers stop thinking about sharing; each team marks off modules it maintains itself and leaves only a narrow interface. Cut the wait across teams from two weeks to one day, and more things get shared again.

What counts is who actually talks things over with whom and who can make the call, not the boxes on the org chart. People in two departments who design together every day make things that are tightly connected; two groups in the same department who never talk things over make features that are cut off from each other.

If you want a different system, first change how those few people negotiate

First draw the process the user goes through, and find the people who must make decisions together. For example, to make ordering and refunds join up from end to end, have the people in charge of both ends sit down together to agree on the data and how to handle errors, and give them the power to change the interface. This practice of deciding the system first and then arranging the teams to match it is called the "inverse Conway maneuver."

Conway's law governs software and processes that many people work on together, where there are still design choices to make. When one person designs alone, there's no communication to copy; the load-bearing structure of a bridge is decided by mechanics, and the organization doesn't get a say. Treating it as a prescription for how things should be split up is also wrong: it only says what shape the structure will grow into, not whether that shape is good.

Explain
When a company's website and app keep showing two prices for the same promotion, look through the release process on each side and see whether the prices come from the same table or two groups each fill in their own.
Design
Before reorganizing teams, first draw the whole process a user goes through, then form small groups by the stages of that process, not by the existing job functions.
Predict
If an outsourced team communicates with you only through weekly reports, you can predict that the module it delivers will be neat and self-contained inside, and that the problems when you test everything together will cluster at the interfaces between modules.
  1. At which handovers do users fill in the same details again or have to wait? How do the people in charge of the two ends normally talk things over?
  2. Are the system's current divisions drawn along what users need, or along each team's area of responsibility?
  3. For two features to work closely together, who has to decide jointly on the data, the interface and how errors are handled? Do they have the power to change the interface?

Public services

One hospital visit, three processes

You take your father to the hospital for tests. Registration is on the first floor of the outpatient building, the lab hands out a separate appointment slip, and the imaging department has you phone to confirm a time yourself. The three departments each designed their own process, nobody agreed on how referral information gets passed along, and you copy out his medical record number yourself at every step. Later the hospital had people from the three departments map out the path for "one complete visit" together. The record number is now filled in only once, and the three appointment slips have become one.

Personal life

Three accounts that don't add up

You share an apartment with two roommates. Utilities, internet and groceries are each tracked by one person in a spreadsheet they set up. Some sheets split costs per person, some per room, and dates are written three different ways. At the end of the month you spend a whole evening lining the three sheets up, and in the end 37 yuan still doesn't match.

Property management

The "Notes" on the repair request

You manage the property for a residential complex. The repair app that residents use and the job-dispatch app on the repair workers' phones come from two different vendors, and people from the two sides have never had a meeting together. When a resident picks "Leak, urgent" in the app, all that reaches the dispatch app is the word "Notes." The worker can't see what it says and first goes to change a light bulb that was ahead in the queue. You get the contact people from both vendors together and go through, item by item, how the notes field gets passed along, and only then does the full "Leak, urgent" show up on the work order.

Conway's LawAbstraction and ModularityWrap up the complicated part behind a simple handle, so users needn't know what's inside.The interface between two teams breaks every few days. The fix from abstraction and modularity is to define the interface more strictly and write it down as a stable contract, so the two sides don't disturb each other. Conway's law sees the interface breaking because the people on the two sides haven't come to an agreement; its fix is the opposite: have the people on both teams design together, and some interfaces may even go away. If the two teams are meant to evolve independently anyway and the interface is already stable, strengthen the contract; if changing one field takes endless back-and-forth, get the people together first.Conway's LawTransaction CostsFinding someone, haggling and making sure they deliver all cost money that no price tag shows.On whether to give two features to the same team, Conway's law says merge them into one team and the seam will disappear. Transaction costs point to the other side: the bigger the team, the more its own internal coordination costs, and past a certain size, two teams each minding their own work and connecting through a contract is actually cheaper. Look at how many person-days one negotiation between the two teams takes, then at how much extra internal meeting time a merged team would need.Conway's LawPath DependenceWhichever road you happen to start on gets harder and harder to leave.To change a system's structure, Conway's law suggests first changing the teams and how they negotiate. Path dependence warns that the old interfaces and old data are already facts on the ground; even when the new team sits together, they will pull it back to the old divisions. So while reorganizing the teams, also set out a timetable for migration, and replace the old interfaces one by one.

At a game company, you're in charge of connecting friend invites with ranked matchmaking. The social team decides the invite status, the competitive team decides the conditions for entering a match, and the two teams communicate only through monthly request tickets. In testing, a friend has accepted an invite but can't enter the match because their rank changed. The manager puts both teams under the same director, but the request tickets and approval rights stay as they were.

Which of these is most likely to happen next?

An insurance group has bought an elder-care services company and announced a single membership product within six months. Buying insurance and applying for a place in a care home currently use different customer records and accounts. Management has set up a joint business unit, and investors want to know whether this integration can really end up as one product.

Which investigation would answer this question directly?

A city has bought an earthquake monitoring platform whose design is already fixed. Following a fixed national protocol, the platform is split into three stages, collection, verification and early warning, and the city has no right to change it. The city's monitoring center happens to have three matching sections as well. On this basis, a news report claims that communication between the sections is difficult, and that this is why the platform was cut into three parts.

How should you judge the report's claim?