Topic 145 / Core
Service boundaries, ownership and Conway's law
Chapter 9.2 · Decomposition and Boundaries
What and why
A service boundary (→ 144) is also an organizational boundary: any organization that designs a system tends to produce a design whose structure mirrors the organization's own communication structure — Conway's law. Applied deliberately, it makes team design part of architecture: boundaries drawn without a matching ownership model drift back toward the team structure anyway, usually painfully. Builds on: → 144 (microservices decomposition).
Diagram
Team structure Resulting architecture (Conway's law)
─────────────── ──────────────────────────────────
3 teams, each cross-functional, 3 services, each owning its own
each owning one business boundary end to end — matches
capability the decomposition (→ 144)
1 team split by layer services that mirror the layers
(frontend team, backend team, (API-layer service, logic-layer
data team) service, data-layer service) —
the wrong seam (→ 144), reproduced
by the org chart
How it works
- For each candidate service boundary (→ 144), name the single team that owns it end to end — code, data, deploys, on-call.
- If no single team can be named, the boundary is premature, or the organization needs to change first — changing the team structure to fit the architecture is sometimes the right move, not the other way round.
- Define what "ownership" includes: the service's API contract, its data, its on-call rotation, and its backlog — partial ownership (one team codes it, another operates it) recreates coordination overhead inside the boundary.
- Watch for boundary smells that signal a mismatch: two teams routinely touching the same service for unrelated reasons; one team's roadmap blocked waiting on another team's unrelated service.
- Revisit the map as teams reorganize — architecture that matched the organization six months ago can silently become a distributed monolith (→ 143) as teams merge or split.
Practical example
(illustrative). Two teams — Checkout and Inventory — each own one service and can deploy independently all week. A reorganization merges them into one team covering both; a year later they have merged the two services' deploy pipelines "to save time," and now they deploy together even though the code is still split into two repositories — Conway's law pulled the system back toward one deployable, matching the one team, without anyone deciding that on purpose.
When to use it
- Use when: drawing or auditing service boundaries for a multi-team system — Conway's law predicts where boundaries will drift even when a different boundary is written on a diagram.
- Avoid when: a single small team owns everything — the law still holds, but there is only one team, so there is nothing to misalign.
- Failure scenarios: a boundary that looks clean on paper but is jointly owned by two teams, which reintroduces cross-team coordination (release trains, shared sign-off) across a boundary that was supposed to remove it.
- Simpler alternative: if the team is one team, skip multi-service ownership design entirely — the modular monolith (→ 53) with clear module ownership inside one team gives the same clarity without the network.
Practice
(Decision kind — judge 3–5 scenarios and defend the choice; 15 min). For three org shapes — (a) one team, five engineers; (b) five teams, each clearly owning one business capability; (c) one team split into "frontend," "backend" and "data" sub-teams covering all services — predict, for each, whether service boundaries will hold over a year or drift, and name the one organizational change (if any) that would fix a drifting case.
Done when each prediction names the team-ownership fact that drives it, not the diagram alone.
Key takeaway
Conway's law means the org chart and the service map converge regardless of intent — design team ownership and service boundaries together, and fix the organization, not just the diagram, when they diverge. Done when you can: name, for every service in a system, the one team that owns it end to end. Used next in → 146 (database per service).
References
A pattern language for microservices — see references.md.
Source directory