Maniobra Inversa de Conway
Conway inverso
Escrito por Darjus Kazakevic · revisado el
Change the teams first, and the architecture follows.
If structure follows communication, then the way to get a boundary that holds is to make it a boundary between teams. The Inverse Conway Manoeuvre does exactly that: design the team structure first, and let the architecture follow. Jonny LeRoy and Matt Simons named it in 2010.
It works, and it is the slowest and most expensive tool you have. You move people in order to move a module boundary, with all the disruption that brings. Use it for a boundary that really matters and keeps eroding. It is the wrong answer to a boundary that erodes because it is in the wrong place.
En esencia — Shape the teams so their communication produces the architecture you want, instead of defending a boundary in code review forever.
Cuándo recurrir a él
Recurre a él cuando
- A boundary that matters has eroded for months despite code review
- You plan a split and can shape the teams around it first
- One team owns too many unrelated parts to hold in their heads
Reconsidéralo cuando
- The boundary erodes because it is drawn in the wrong place
- The boundary matters too little to justify months of disruption
- Teams are too small to split without creating one-person teams
Conceptos clave
- Target architecture
- The service or module boundaries you want in a year. You draw them first, from the domain, before you draw any team.
- One team per boundary
- Each target boundary gets exactly one owning team. A team may own several small parts, but no part has two teams.
- Ownership transfer
- The new team receives the code, the backlog and the on-call pager together. Ownership without the pager is only a name in a file.
Reglas de diseño
- Check the boundary is right before moving people
- A reorganization makes a boundary cheap to keep and expensive to cross, including a wrong one. Confirm the boundary follows how the domain really splits, because undoing it means another reorg.
- Hand over the code and the on-call together
- The new team must own the module and its pager, so others have to ask for changes. The boundary holds once crossing it costs a conversation.
- Start with one boundary, not a full reorg
- Apply the manoeuvre to the one boundary that hurts most. Check whether cross-team changes there drop, then decide on the next one. A company-wide reorg changes too much to learn from.
Errores habituales
- New teams, but all code still in shared ownership. Nothing changes in the code.
- Teams mapped to technical layers (frontend, backend, data). Every feature now crosses three teams.
- People moved but on-call not. The old team still gets paged and still makes the fixes.
- A reorg announced before the target architecture is agreed. Teams form around today's code, not tomorrow's.