Sub topic 7
Stating the Trade-offs You Accepted
Assume you already take part in technical decisions and can read pull requests, design documents, or meeting notes. This chapter focuses on making the cost of a decision visible after you choose an option.
What a trade-off means
A trade-off is a benefit you gain by accepting a cost somewhere else. Every meaningful decision has trade-offs, even when one option appears clearly better. Choosing PostgreSQL may give a team strong transactions and familiar tools, while making future horizontal write scaling more difficult.
A useful explanation names four things:
- The benefit the decision provides.
- The cost or limitation it introduces.
- The reason the cost is acceptable now.
- The mitigation, if one exists.
Avoid vague claims such as “This is more scalable” or “This is the simplest approach.” Say which kind of scale or simplicity matters, and what you give up.
Connect the trade-off to the decision
Start with the problem and the criteria used to judge the options. Then show how the chosen option performs against those criteria.
For example, an orders service needs reliable updates across orders and payments. The team has PostgreSQL experience, a short launch deadline, and no requirement for very high write volume at launch.
| Option | Main benefit | Accepted cost |
|---|---|---|
| PostgreSQL | Strong transactions and team familiarity | More work if write traffic later exceeds one database |
| Document database | Flexible record structure | Harder cross-record transactions and less team experience |
The decision is easier to evaluate when the cost is specific. “Scaling may be harder” is weak. “Writes may eventually require partitioning or a more complex topology” tells future readers what problem to watch for.
Separate current costs from future risks
Some costs happen immediately. Others are risks that depend on future conditions.
Immediate costs might include:
- More implementation work.
- Higher operating cost.
- Slower delivery for another feature.
- A limit on how the system can be configured.
Future risks might include:
- A capacity limit if usage grows.
- Vendor or tool lock-in.
- A migration that becomes harder over time.
- Reduced flexibility if requirements change.
State which kind you mean. Also state the condition that would make a future risk important. This turns a general warning into a review trigger.
# 3. Use PostgreSQL for the orders service
## Decision
We will use PostgreSQL as the primary data store.
## Benefits
It provides transactional updates across orders and payments, and the team already has production experience with it.
## Trade-offs
We accept that horizontal write scaling may require partitioning or a different topology if traffic grows far beyond current estimates. We also accept the operational cost of running a highly available database.
## Why this is acceptable
The launch target does not require that write capacity, and the team must launch in eight weeks. We will measure write volume and review this decision if sustained usage reaches 70% of the tested capacity.
## Rejected alternative
We rejected a document database because it would make cross-record transactions harder and introduce a technology the team does not know well.Show mitigation without hiding the cost
A mitigation reduces a cost. It does not erase it. Examples include monitoring capacity, documenting an exit path, adding an abstraction, or setting a review date.
Do not claim that a mitigation guarantees safety unless you have evidence. “We will monitor capacity” is more accurate than “Scaling will not be a problem.”
Make the reasoning easy to follow
A simple chain works well:
When someone questions the decision, discuss the criteria and evidence rather than defending the choice as part of your identity. A question may reveal a missing constraint or a changed assumption. If the facts changed, updating the decision is responsible, not inconsistent.
Exercise
A team chooses a managed database to launch quickly. The accepted cost is a higher monthly bill. What should the rationale add besides that cost?
Show answer
It should explain why speed matters now, identify the financial limit or review condition, and state any mitigation, such as monitoring usage or setting a budget alert.