My account

Teams and Architecture: Conway's Law

A system tends to copy the communication paths of the teams that build it. Teams split by layer build layers; teams split by business area build services by business area. So design the teams together with the architecture: follow the value streams, give most work to stream-aligned teams that own a business area end to end, and add platform, enabling and complicated-subsystem teams only to make them faster.

Not reviewedWritten with AI helpReading time: 12 minOnline shop exampleFour team typesValue streams

Author: bezzad

Contents

The problem: microservices on paper, one big release in practice

Our online shop split its code into services: orders, catalog, payments. But the people stayed in three teams: a UI team, a backend team and a database team.

Every new feature still needed all three teams. The UI team waited for the backend team, which waited for a schema change from the database team. Releases were planned together, as before. The services were separate in the code and tightly tied in the calendar.

The code changed. The organization did not. And the organization won.

The idea: Conway’s law

In 1968 Melvin Conway wrote, in short: an organization designs systems that copy its own communication structure. People who talk every day build parts that fit tightly. People who rarely talk build parts with a clear interface between them, because they have to.

Teams by layerUI teamBackend teamDatabase teambuildone UI layerone backend layerone shared databaseTeams by business areaOrdersteamCatalogteamPaymentsteambuildOrdersserviceUI to dataCatalogserviceUI to dataPaymentsserviceUI to data
The same shop, two ways to split the people. Each split produces a different system.

This works in both directions:

  1. As a warning. If you want independent services but your teams are split by layer, every feature will cross all teams, and the services will be tied together again.
  2. As a tool. If you shape the teams like the architecture you want, the system tends to grow that way. This is called the inverse Conway maneuver.
It is a tendency, not a law of physics: Good engineers can work against it for a while. But over months and years, the paths of communication win. If the team design and the architecture disagree, expect the architecture to drift.

Start from the value stream

A value stream is the path from an idea to something a customer can use. The question is: how many hand-offs does work need on the way?

Before: four hand-offsIdeaUI teamBackend teamDB teamCustomerwaitwaitwaitwait6 weeks from idea to customer, about 5 of them waitingAfter: one team owns the streamIdeaCheckout team: UI, backend, dataCustomerabout 1 week, little waiting
Each hand-off adds waiting. The work itself is often a small part of the total time.

The things that move through the stream are flow items. One simple list:

  • Features. New value for the customer.
  • Defects. Fixes for things that are broken.
  • Risks. Security, compliance, and other work that keeps us safe.
  • Debt. Work that makes future changes easier.

Watch all four. A team that only ships features slowly fills up with defects and debt, and then everything slows down.

Four kinds of teams

A popular model (Team Topologies, by Matthew Skelton and Manuel Pais) uses four team types:

Stream-aligned team: CheckoutStream-aligned team: SearchStream-aligned team: DeliveryEnablingteamteaches, thensteps backComplicatedsubsysteme.g. the priceengine, needsspecialistsPlatform teamself-service: deploy, logs, databasesas a servicefacilitatingas a service
Most teams are stream-aligned. The others exist to remove load from them.
  1. Stream-aligned team. Owns one business area or value stream end to end: UI, backend, data, release, support. Checkout, Search, Delivery. Most teams should be this kind.
  2. Platform team. Builds internal services that stream teams use on their own: deploying, logging, databases, a test environment. The goal is less work for stream teams, not more tickets for the platform team.
  3. Enabling team. Experts who help other teams learn a new skill (for example, performance testing or a new cloud), and then step back.
  4. Complicated-subsystem team. Owns a part that needs rare, deep knowledge, like the pricing engine or a video encoder, so stream teams do not have to learn it.

Teams can work together in three ways: collaboration (working closely for a short time, for example to discover a new design), X as a service (one team uses what the other provides, with a clear interface), and facilitating (one team helps the other learn). Choose the mode on purpose, and change it when the need changes.

Team size and cognitive load

A team can only own so much. If a team owns too many services or domains, it cannot understand them all, and quality drops. Practical rules:

  • Small teams. About five to nine people, who can know each other well.
  • One clear area per team. Ideally one bounded context, or a few small close ones.
  • Limit cognitive load. If a team needs to know Kubernetes, three databases, two message brokers and four domains, move some of that load into a platform or split the area.

How this changes the architect’s work

  1. Draw the team map next to the system map. For each service: which team owns it? If a service has no owner, or three owners, that is a risk.
  2. Align borders. Bounded contexts, service borders and team borders should match as much as possible.
  3. Design for the interaction mode. “X as a service” needs a stable contract and good documentation. Collaboration needs time together and shared goals.
  4. Plan changes together. A new architecture without a new team design is only half a plan. Work with managers on both.

Common mistakes

Mistake Result The right way
Services by business area, teams by layer Every feature needs every team; releases stay coupled. Teams by business area, owning UI to data.
One team owns too much Slow work, bugs, burnout. Small areas per team; move load to a platform.
Platform team as a ticket queue Stream teams wait for the platform. Self-service tools, treated like a product.
Enabling team that never leaves Teams depend on it forever. Teach, then step back.
Reorganizing without the architecture (or the opposite) Old structure comes back. Design teams and system together.

Summary in six lines

  1. Conway’s law: systems tend to copy the communication paths of their teams.
  2. Use it on purpose: shape the teams like the architecture you want.
  3. Start from the value stream and remove hand-offs.
  4. Most teams should be stream-aligned and own a business area end to end.
  5. Platform, enabling and complicated-subsystem teams exist to make stream teams faster.
  6. Keep teams small and their area clear, and plan team and system changes together.

Done reading this lesson?Mark it as finished so it shows in your lessons list and report card.