Interdependencies
How changes in one part ripple into others.
Products, teams and markets are connected systems. A change to pricing affects support, activation and infrastructure. Mapping these connections before a change prevents surprises.
Why it matters for a product engineer
No part of a product works alone. A pricing change affects support tickets, activation and server load. A new database index speeds up one page and slows down every write. A team boundary becomes a system boundary, as Conway’s law says. The surprises come from connections nobody drew. Product engineers see both the code and the product, so they are often the ones who can draw them before a change, not after an incident.
How to do it
- Before a change, list what reads from it, writes to it, or depends on it, in code and in people.
- Draw the connections on one page, including teams, vendors and manual steps.
- Look for hidden shared parts: DNS, authentication, a shared database, one person who knows.
- Check that the tools you need to fix a failure do not depend on the thing that failed.
- Tell the owners of the affected parts before the change, not after.
Common mistakes
- Mapping only the code, and forgetting support, sales, billing and operations.
- Recovery tools that run on the same system they are meant to recover.
- Assuming a dependency is reliable because it has never failed.
- Changing a shared part without telling the teams that use it.
Example
On 4 October 2021, a command run during routine maintenance took down every connection in Facebook’s backbone network. An audit tool should have stopped it, but had a bug. Without the backbone, Facebook’s DNS servers marked themselves unhealthy and withdrew their routes, so the rest of the internet could not find any Facebook service. The loss of DNS also broke many internal tools, so engineers had to go to the data centers in person.
How one maintenance command reached everything at Facebook
The tools for fixing the outage depended on the same network that failed, so recovery needed people in the buildings.
ReportedEngineering at Meta, 5 October 2021
Sources: More details about the October 4 outage (Engineering at Meta) ↗ · Conway's law (Martin Fowler) ↗
Resources
2- articleStart here
Conway's law ↗
Martin Fowler · 7 minSystems end up shaped like the organisation that builds them, so team boundaries are design decisions too.
- articleStart here
Introduction to systems thinking ↗
Will Larson · 2018 · 4 minStocks, flows and feedback applied to an engineering team, in a few minutes.
Tools
1- ToolFreemium