Bookmarks

Conway’s law

The tendency of an organisation to design systems that mirror the communication structures of its teams.

Also: Conway's law

checked 8 Nov

All terms

However much architects would like to design a system from scratch, its structure is largely determined by who talks to whom while working on it. Melvin Conway described this connection in his 1968 paper “How Do Committees Invent?”, and the name “Conway’s law” was coined by Frederick Brooks in “The Mythical Man-Month”.

What the law says

Conway’s own formulation: organisations that design systems (in the broad sense) inevitably produce designs that mirror the communication structures of those organisations. The reason is that building a system is a chain of agreements between people: modules fit together easily where their authors reach agreement easily, including tacit shared assumptions. When communication between teams is hard, the boundary between their parts ends up narrow and formal.

What this looks like in practice

A classic illustration from Conway’s paper: at a contract research organisation, eight people were writing two compilers; five were put on COBOL and three on ALGOL, and the COBOL compiler came out with five phases while the ALGOL one had three. At company scale the law shows up like this:

  • a company with separate frontend, backend and database teams gets a layered system where every user-facing feature passes through three teams;
  • several small teams that hardly talk to each other yield separate services with rigid contracts;
  • a single small team where anyone can talk to anyone usually produces a monolith;
  • teams in different cities and time zones yield parts with limited, well-described interaction.

Three ways to respond

ApproachWhat it involves
Ignore itdisregard the law: the architecture is stretched over the teams and in places contradicts them
Accept itdraw module boundaries so that they match the teams’ actual communication
Change the teamsthe Inverse Conway Maneuver: reshape the teams and their communication so that the desired architecture comes about on its own

The Inverse Conway Maneuver was described by Jonny LeRoy and Matt Simonds in 2010; it is a common move in the microservices world: small, long-lived teams are put together to cover the full cycle, and the law then works in favour of autonomous services. On an existing system with a rigid architecture the manoeuvre does not take effect instantly: friction first builds up between the new team structure and the old code, so the move happens in small steps.

Sources

the term is written from these pages

Verified 8 Nov

Not to be confused with

what it is mixed up with and how it differs

  • distributed monolith

    Conway’s law explains where the connection between teams and architecture comes from; a distributed monolith is an unfortunate outcome: the services are formally separate, yet they can only be changed all together.

In depth in the references

where the topic is covered in detail