X.3.1 · Skill in Decision-making

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.

Your status · Weighing tradeoffs

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

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

  1. List the real options, including “do nothing” and the option you do not like.
  2. For each option, write what it gains and what it gives up.
  3. Decide which goals matter most right now, and say why.
  4. Choose, and write down what you accept as the cost.
  5. 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.”

Side by side

What Segment gained and gave up by moving back to one service

140+ servicesOne service
Deploys for a shared change140+One
Test suiteUp to an hourMilliseconds, with recorded traffic
Fault isolationOne destination at a timeOne bug can crash all
In-memory cacheStays hot for small destinationsSpread 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 min

    How 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 min

    The original proposal for short architecture decision records, so trade-offs stay visible later.

  • articleGo deeper
    Writing an engineering strategy ↗
    Will Larson · 2023 · 27 min

    Turning many local trade-offs into one written strategy that others can follow and challenge.