Video in progress

How does Conway's law affect design decisions, and what is the "inverse Conway maneuver"?

A system's architecture copies the communication structure of the organization that built it. The inverse Conway maneuver is changing the team structure first, to get the architecture you want. If you don't align the two, code boundaries keep drifting toward team boundaries.

📖 Answer

In practice it goes like this: if frontend, backend and DBA are separate teams, you get a layered architecture and every feature waits in line between three teams. If there's a cross-functional team for each product area, vertical modules appear.

The effect on design:

  • A module has one owning team. If two teams change one module, you get merge conflicts, uncoordinated changes and "whose bug is this?" arguments. That's a sign the boundary was drawn wrong.
  • Interfaces are formal between teams and informal inside a team. APIs between teams must be versioned and documented; classes inside a team don't need that ceremony.
  • Cognitive load. If you give one team a domain bigger than it can understand, quality drops. The stream-aligned, platform and enabling team types from the Team Topologies book are useful here.

An inverse Conway example: you want to split ordering and payments into independent modules. If one team owns both, the boundaries slowly erode: one person will add an import to both "to go faster". First form two teams and give each one ownership, and the boundary hardens on its own.

What to be careful about:

  • reorganizing teams too fast: the architecture lags behind and the new teams get in each other's way in the old code;
  • a microservice for every team: a small organization can't carry the operational load.

A staff engineer discusses an architecture proposal together with an organizational plan. The question "who will own this module?" matters as much as the lines on the diagram.