Weighing tradeoffs
Making explicit what each option gains and gives up.
Almost every decision trades one good thing for another. Writing down the options and what each costs makes the choice clearer and easier to revisit. Pretending there is no tradeoff is how bad decisions get made.
Why it matters for a product engineer
Almost every real choice gives up something good to get something else: speed for safety, flexibility for simplicity, a feature for focus. When the cost is not written down, people argue about the benefits only, and the decision looks obvious until the cost arrives. Writing both sides makes the choice clearer, easier to review, and easier to change when the situation changes. Product engineers make many of these choices in code, where they are hard to see later.
How to do it
- List the real options, including “do nothing” and the option you do not like.
- For each option, write what it gains and what it gives up.
- Decide which goals matter most right now, and say why.
- Choose, and write down what you accept as the cost.
- Note what would make you change the decision later.
Common mistakes
- Presenting one option as if it had no downside.
- Comparing options on different criteria.
- Forgetting the costs that arrive later: operations, maintenance, hiring.
- Never writing the decision down, so the next team repeats the debate.
Example
Segment had split its event pipeline into more than 140 services, one per destination. A change to a shared library meant deploying all of them, and the tests could take up to an hour. The team then moved back to one service. Their 2018 write-up lists what they gave up: one bad destination can now crash the service for all, in-memory caches are less effective, and a library update can break several destinations. “The simplicity of this approach is worth the trade-off.”
What Segment gained and gave up by moving back to one service
| 140+ services | One service | |
|---|---|---|
| Deploys for a shared change | 140+ | One |
| Test suite | Up to an hour | Milliseconds, with recorded traffic |
| Fault isolation | One destination at a time | One bug can crash all |
| In-memory cache | Stays hot for small destinations | Spread over 3,000+ processes |
The move was not free. Segment listed the costs, accepted them, and planned how to live with each one.
ReportedAlexandra Noonan, Segment engineering blog, 2018
Sources: Goodbye microservices (Alexandra Noonan, Segment) ↗ · Design docs at Google (Malte Ubl) ↗ · Documenting architecture decisions (Michael Nygard) ↗
Resources
3- articleStart here
Design docs at Google ↗
Malte Ubl · 2020 · 21 minHow a short document with goals, non-goals and alternatives considered makes trade-offs explicit before code.
- articleStart here
Documenting architecture decisions ↗
Michael Nygard · 2011 · 6 minThe original proposal for short architecture decision records, so trade-offs stay visible later.
- articleGo deeper
Writing an engineering strategy ↗
Will Larson · 2023 · 27 minTurning many local trade-offs into one written strategy that others can follow and challenge.