Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 65

Conway's Law: Architecture and Organizational Boundaries

This lesson is built with resources from youtube.com, umbrex.com and 1 more site.

Hello! Let's dive into the next lesson of our "Staff-Level System Design Depth" module.

In our previous lesson on "build vs. buy" decisions, we concluded that your architectural choices have direct consequences on your teams. If you decide to build a new service, a team must be created to own it. If you integrate a third-party SaaS product, a team must manage that integration. This intricate dance between technical architecture and human organization is not accidental; it's a fundamental principle of software engineering.

This lesson focuses on the learning outcome: Discuss organizational and team boundary implications of architectural decisions (Conway's Law).

Mastering this topic is a hallmark of a Staff-plus engineer. It signals that you've moved beyond purely technical considerations and can reason about the socio-technical system as a whole—how people, teams, and code interact to produce business value. In an interview, proactively discussing the organizational implications of your design demonstrates strategic thinking and a deep understanding of how software is actually built and maintained in large organizations.

1. Understanding Conway's Law

At its heart, Conway's Law is a simple observation with profound implications.

Conway's Law: "Any organization that designs a system (defined broadly) will produce a design whose structure is a copy of the organization's communication structure."
- Melvin Conway, 1968

In simpler terms, the way your teams are structured and communicate will be mirrored in the architecture of the software they create.

Conway's Law: Siloed vs. Cross-Functional Teams
This image illustrates Conway's Law. On the left, functionally siloed teams (UI, Middleware, DB) produce a technology-siloed architecture. On the right, cross-functional teams organized around business capabilities produce a more integrated, capability-oriented architecture.

To get a deeper intuition for the origin and meaning of this law, let's watch a video that breaks down Melvin Conway's original paper.

The Only Unbreakable Law

The video 'The Only Unbreakable Law' by Casey Muratori provides an excellent analysis of Melvin Conway's 1968 paper. It explains the core thesis: that the act of organizing people into teams pre-constrains the possible design space of the system you can build.

Please watch from the beginning until 00:19:30. Focus on these key points: Why large projects require breaking people into groups. How creating team boundaries inherently limits the possible designs. The idea that the org chart and the system diagram are 'homomorphisms' of each other.

As the video explains, this isn't magic. The core mechanism is communication cost.

  • Within a team: Communication is high-bandwidth, low-latency, and informal. It's cheap to iterate on ideas, refactor interfaces, and solve problems collaboratively.
  • Between teams: Communication is low-bandwidth, high-latency, and formal. It requires scheduled meetings, formal APIs, and documented contracts. Change is expensive and slow.

Because of this, design iteration and optimization happen most efficiently inside team boundaries. The boundaries between teams tend to calcify into the formal interfaces of your system architecture (e.g., API endpoints, database schemas, event contracts).


2. "Conway's Nightmare": Modern Implications

Conway wrote his paper in 1968. In today's world of decades-old legacy codebases and complex programming paradigms, his law has become even more potent and, in some ways, more problematic.

The Only Unbreakable Law

Let's continue with 'The Only Unbreakable Law'. The next segment, which the speaker titles 'Conway's Nightmare', explores how modern software development practices amplify the effects of the law.

Watch from 00:28:35 to 00:46:39. This is a rich section, but focus on two critical Staff-level insights: Temporal Delegation: How legacy code ensures that the org charts of the past are still fossilized in your codebase today (the Windows volume slider example is brilliant). Internal Org Charts: How programming constructs like deep inheritance hierarchies create new, artificial organizational boundaries within the code itself, further limiting design flexibility.

The key insight here is that the forces of Conway's Law are constantly at play, whether you're aware of them or not. Past organizational structures leave their mark as technical debt. Current organizational structures dictate the shape of new systems. And even our own coding habits can create micro-structures that constrain future evolution.


3. From Observation to Action: The Reverse Conway Maneuver

A Staff engineer doesn't just point out problems; they propose solutions. Simply observing Conway's Law is not enough. The truly powerful move is to use it as a design tool. This is known as the "Reverse Conway Maneuver."

Reverse Conway Maneuver: Instead of letting your organization's structure dictate your architecture, intentionally design your organizational structure to produce your desired architecture.

This is where the theoretical meets the practical. How do we do this? A leading modern framework for this is Team Topologies.

Team Topologies - Martin Fowler

Martin Fowler's article 'Team Topologies' provides a concise and authoritative summary of the framework developed by Matthew Skelton and Manuel Pais. It's an essential read for understanding modern organizational design for software.

Please read the entire article. It's short but dense with key concepts. Pay special attention to: The explicit link to Conway's Law. The concept of cognitive load as the primary driver for team design. The four fundamental team types and three interaction modes.

To reinforce these ideas with more detailed examples, let's watch a presentation by one of the authors of Team Topologies.

Monoliths vs Microservices is Missing the Point—Start with Team Cognitive Load - Team Topologies

This presentation, 'Monoliths vs Microservices is Missing the Point—Start with Team Cognitive Load', gets to the heart of the Team Topologies philosophy.

Watch from 00:02:04 to 00:18:21. This covers the core theory. As you watch, map the concepts to the article you just read: Team Cognitive Load (02:04): Why is 'software that fits in our heads' the goal? Types of Cognitive Load (05:01): What's the difference between intrinsic, extraneous, and germane load? Why do we want to minimize extraneous load? The Four Team Types (13:39): How do platform, complicated-subsystem, and enabling teams serve the primary goal of reducing cognitive load for stream-aligned teams? The Three Interaction Modes (16:09): How do these modes provide a well-defined 'team API' for communication?


4. Applying Conway's Law in a System Design Interview

Now, let's synthesize this into an actionable strategy for your interview. Imagine you're asked to design a large-scale system like Uber Eats.

A junior candidate might just start drawing boxes and arrows for services. A senior candidate might define APIs and data models. A Staff-level candidate will also discuss the team structure needed to build and operate the system effectively.

Here’s how you can apply the Reverse Conway Maneuver using the Team Topologies vocabulary:

  1. Acknowledge the Complexity: "A system like Uber Eats is too large and complex for a single team. The cognitive load would be immense, leading to slow delivery and poor quality. To manage this, we should apply a Reverse Conway Maneuver, designing our teams and their interactions to foster a loosely coupled, scalable architecture."

  2. Define Stream-Aligned Teams: "We can identify the core business value streams and create teams aligned to them. These are our Stream-Aligned Teams. For example:

    • Restaurant Team: Owns the restaurant onboarding, menu management, and order preparation lifecycle.
    • Eater Team: Owns the customer-facing experience, including search, ordering, and payment.
    • Courier Team: Owns the courier app, earnings, and delivery logistics.
      Each team is cross-functional and has end-to-end ownership of their services."
  3. Define Supporting Teams to Reduce Cognitive Load: "These stream-aligned teams can't do everything. To reduce their cognitive load and prevent them from reinventing the wheel, we'll introduce supporting teams:

    • Platform Team: This team provides a 'paved road' of common infrastructure and services. This includes our CI/CD pipelines, observability stack (metrics, logging, tracing), authentication service, and a managed database offering. The stream-aligned teams consume these via an X-as-a-Service interaction mode.
    • Complicated-Subsystem Team: The real-time dispatch and ETA-calculation engine is a highly specialized, mathematically complex domain. We'll create a dedicated team to own this subsystem. They can focus on the complex algorithms, exposing a simple API to the Courier and Eater teams, again via an X-as-a-Service model.
    • Enabling Team: Let's say we decide to improve our data science capabilities. We could form a temporary Enabling Team of ML experts. They would work with each stream-aligned team for a few months to help them build and deploy their first models, upskilling them in the process. This is a Facilitating interaction."

This approach demonstrates that you're not just designing a system; you're designing a scalable and effective engineering organization.

For a structured guide on how to apply these ideas systematically, you can refer to the "How to Apply Conway’s Law: Step-by-Step" section in the Umbrex article on Conway's Law | Teams.


Conclusion

Your ability to connect the dots between architecture and organization is a powerful differentiator in Staff-level interviews. It shows you think about scalability in terms of both technology and people.

Key Takeaways:

  • Systems Mirror Organizations: Conway's Law states that your system's architecture will reflect your organization's communication structure, a result driven by communication costs.
  • Use it Proactively: Don't be a passive observer of the law. Use the Reverse Conway Maneuver to intentionally design your organization to achieve the architecture you want.
  • Speak the Language of Team Topologies: This modern framework provides the vocabulary (cognitive load, stream-aligned teams, platform teams, interaction modes) to articulate a sophisticated organizational strategy.
  • Connect Teams to Architecture: In an interview, when you propose a service, also propose who owns it. When you propose a microservices architecture, propose a team structure of small, autonomous teams to support it.

Preview of the Next Lesson:
We've just designed an organization of decoupled teams, each owning their own services. This immediately raises a critical question: how do you understand the health and performance of the system as a whole when it's distributed across dozens of teams and services? This leads us directly to our next lesson: "Articulate an observability strategy for a distributed system, covering metrics, logging, and tracing." A coherent observability strategy is the sensory system that allows a distributed organization to operate a distributed architecture effectively.