Video in progress
How does Conway's law affect microservice architecture, and how do you structure teams?
A system's architecture copies the communication structure of the organization. So you should first pick the architecture you need and then structure the teams to match it (the inverse Conway maneuver): stream-aligned teams by business area, and a platform team that provides shared infrastructure as a service.
📖 Answer
A practical example: a company has separate frontend, backend and DBA teams. As a result the architecture gets three layers too, and every feature waits in line between three teams. Or 4 teams work on one big service: inside it there are 4 "hidden modules" and constant merge conflicts.
I structure teams close to the Team Topologies model:
- Stream-aligned teams. Each has a business area (payments, catalog, delivery). It owns its services end to end: code, deploy, on-call, data. A team is 5–9 people, and the number of services is what the team can carry.
- A platform team. CI/CD, Kubernetes, observability, the service template. Its product is a platform that other teams can use self-service. Not an ops team that works through tickets.
- An enabling team. Temporarily teaches another team a new skill (say event-driven design or performance tuning) and leaves.
- A complicated-subsystem team. A part that needs deep expertise: payment provider integration, search ranking, ML.
Rules:
- One owner per service. A "shared" service is nobody's service.
- The interface between teams is explicit: an API, an event, a platform service. If you need to coordinate synchronously every day, the boundary is wrong.
- If you want to change the architecture, be ready to change the team structure too. Redrawing only the code diagram doesn't work: within a year the old structure pulls the architecture back into its own shape.
What is expected of a Staff level in an interview is seeing a technical decision together with its organizational consequences: "if we split this service out, who will be on call for it?"
Sign up to mark studied questions and save your progress.