Name What You're Trading
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.
The question this module answers: How do you see the trade-off inside a decision, and name exactly what’s being traded?
If you’ve come this far in the course, you’ve already made dozens of trade-offs. Normalize or flatten. Picklist or lookup. Merge or keep. Master-detail or lookup. Copy the data or leave it where it lives. Each time, I gave you my default and the reasons I’d move off it. This chapter steps back and asks what those decisions have in common, so you can do the same thing on a problem this course never covered.
At Dreamforce 2026 I put it in four words: choose between imperfect options. And on the next slide: own the trade-offs. Cost, risk, speed, complexity. Every option you’ll be offered costs something. The architect’s job isn’t to find the option that costs nothing. It’s to know what each one costs, pick on purpose, and stand behind the pick.
Chapter 1 started this conversation in Architecture Is the Art of Trade-offs: many ways to solve a problem, optimal isn’t perfect, and a suboptimal part can belong in an optimal architecture. I won’t repeat it. This module is about the next skill: seeing the trade-off inside a decision and naming it precisely enough that someone else can check your work.
A Balanced Solution
Section titled “A Balanced Solution”When I teach CTA candidates to solve a scenario, I sort every candidate solution into three kinds.
- Optimal: a tool used for its core strengths. It does what it was built to do, and the requirement fits it.
- Sub-optimal: one part traded for another. It still works, and the whole solution stays optimal. This is the deliberate compromise, made knowing what it costs.
- Non-functional, or short-term functional: it seems to work, but it has a critical weakness. It fails now, or it fails later.
That last kind is the dangerous one, because it can look fine in a demo, with a few hundred records and one user. It’s the same thing I say about many ways to solve a problem: many have issues from the start, some have issues when your data grows, and a few can support your needs going forward. The short-term functional option is the one with issues when your data grows. Module 3 of this chapter, What Goes Bad in a Year, is about finding it before production does.
Three kinds of part. Keep the third kind out.
A balanced solution is mostly optimal parts, a few sub-optimal parts you chose on purpose, and nothing in the third group. The rest of this module is about how you know which group a part belongs in.
The Trade-offs You’ve Already Made
Section titled “The Trade-offs You’ve Already Made”Here are the trade-offs from this course, side by side. Read down the middle column: every one of them is two good things pulling against each other.
| Trade-off | What pulls against what | My default, and when I move off it | Where it’s taught |
|---|---|---|---|
| Normalize or flatten | Integrity and room to grow, against the user’s screen, reporting and code | Third normal form first, then back off for a named reason | Chapter 2, Then Back Off |
| Picklist or lookup | Easy for users, against values with no upper bound or that arrive by integration | A picklist while the list stays small and known; a lookup when it grows or comes from elsewhere | Chapter 2, Lookup or Picklist? |
| Change or add | A clean model, against safe change for everything built on it | Add rather than mutate; deprecate rather than surprise | Chapter 1, The Data Model Is the Bones |
| Open or locked record creation | Speed for users, against governed data | A provisional record type as the middle path | Chapter 5, The Middle Path |
| Merge or keep | One clean record, against the ability to trace back | Merge only with a clear winner; keep duplicates from external loads you may need to trace | Chapter 6, My Merge Rule |
| Strict or loose matching | Complete profiles, against blending two people into one | Strictness is a risk decision; under-match where a false match is costly | Chapter 6, Match Rules |
| Where the archive lives | Convenience on the platform, against cost and scale | Chosen by constraint, not by habit | Chapter 7, Where Should the Archive Live? |
| Index or redesign | A quick fix, against a lasting one | Ask why it’s slow first; an index is one answer, not the answer | Chapter 8, Index, Rewrite, Redesign or Archive |
| Master-detail or lookup | Roll-ups and access that come for free, against lock contention under load | Keep master-detail; move to a lookup with coded roll-ups only when the locking is critical, never casually | Chapter 11, Reduce the Footprint |
| Probabilistic or deterministic encryption | Stronger protection, against finding a record by the field | Probabilistic by default; deterministic only when the use needs exact matching | Chapter 12, Probabilistic by Default |
| Copy, virtualize or federate | Platform features and availability, against one fresh truth and no copy to keep in step | Four questions: size, change rate, complexity, action; copy only the part you need | Chapter 14, Copy, Virtualize or Federate |
| One org or many | Simplicity, against autonomy, residency or recovery | One org; across a boundary, one view before one copy | Chapter 4, Org Strategy; chapter 14, One Org or Many |
Notice the pattern in the third column. Almost every row is a default plus the named reasons to leave it. That’s how I like to state a trade-off, and it goes back to a slide from my Data Architect class: design for third normal form, but back off when necessary, for complexity, the user interface, reporting or code. A default makes the decision fast. The named exceptions make it honest. And anyone reviewing your design can check whether the exception you used is one of them.
Best at What? Name the Qualities
Section titled “Best at What? Name the Qualities”In chapter 1, when someone tells me “this is the best solution,” I ask “best at what?” To answer that well, you need words for the “what.” These are the ones I use across this course:
Performance, scale, reliability, security, governance, maintainability, cost, complexity, user experience, time to market, reversibility, and observability.
You don’t need all twelve for every decision. You need the two or three a decision actually moves. Go back to the table: normalize or flatten is maintainability and room to grow against user experience and reporting. Master-detail or lookup is time to market and simplicity (the roll-ups come free) against performance under load. Copy or virtualize is availability and platform features against freshness and cost.
Salesforce’s own architects say the same thing about their Well-Architected framework: “The most important architectural decisions involve trade-offs between pillars,” and “The goal is not to maximize every pillar simultaneously” (Well-Architected Framework (opens in a new tab), Salesforce Architects, checked 2026-11-28). Their pillars are bigger buckets than my list, and that’s fine. The words matter less than the habit: say which qualities you’re trading, by name.
Find the Decisions That Pull Two Ways
Section titled “Find the Decisions That Pull Two Ways”Not every decision is a trade-off worth writing down. Choosing a field’s label isn’t. Some decisions are sensitive: a small change makes a big difference to one quality. Change one filter field and a query goes from fast to a full table scan. That’s worth knowing, and worth testing.
But the decisions I want you to find, and to write down, are the ones that move two qualities in opposite directions at once. Turn on deterministic encryption so care agents can search by phone number, and you’ve gained usability and lost some protection, in the same click. Convert master-detail to a lookup to relieve locking, and you’ve gained performance under load and given up roll-ups, cascade delete and access that follows the parent. Those are the decisions that come back later as “why would anybody design it this way?” They’re the ones that deserve the decision record from chapter 1.
So when you review a design, yours or someone else’s, look for the decisions that pull two ways. Then ask three questions of each: what do we gain, what do we give up, and did someone choose that on purpose?
Data’s Everyday Trade: Fresh, Fast or Available
Section titled “Data’s Everyday Trade: Fresh, Fast or Available”There’s one trade-off a data architect meets more than any other, and it’s worth naming on its own. Whenever the same data lives in two places, or is read from somewhere else, you’re trading between three things: how fresh the answer is, how fast it comes back, and whether you get an answer at all when the other side is down.
- A copy in Salesforce is fast and available. It’s also as old as its last sync.
- A virtual read is fresh. It’s also only as fast, and only as available, as the system behind it.
- A cache in front of a virtual read is fast and available, and Salesforce’s Reliability guidance calls what it serves “stale but available” data, which is better than no answer (Copy, Virtualize or Federate).
Distributed-database people have a name for this, if you want to read further: PACELC (Daniel Abadi, 2012). In plain words: when the connection between two systems fails, you choose between an answer and a correct answer; and even when everything’s working, you choose between fast and fresh. You don’t need the acronym. You need the question, every time data crosses a boundary: for this use, which one can we give up? A coordinator checking yesterday’s deliveries can live with an hour-old copy. An agent quoting a credit hold probably can’t.
Own It
Section titled “Own It”The last word on my Dreamforce slide was own. A trade-off that nobody owns is the most expensive kind, because nobody knows it was made. The reporting got slower and nobody told the business. The duplicates were kept and nobody wrote down why. Someone accepted a generated design, and nobody in the room can say what it gave up.
Owning a trade-off means three things. You can name it: which qualities, in which direction. You can say why: the requirement, the constraint, the default and the exception. And you’ll still stand behind it when someone asks, months later, “why not the other option?” That last one is the next module.
What an Architect Decides Here
Section titled “What an Architect Decides Here”- Which parts of a design are optimal, which are sub-optimal on purpose, and whether any is only short-term functional.
- For each significant decision, the default and the named reason to leave it.
- Which two or three qualities a decision actually moves, by name.
- Which decisions pull two ways, and which of those deserve a decision record.
- For data in two places: whether this use needs fresh, fast or available most, and which one it can give up.
Beyond the exam: what AI changes. Options are cheap now: an AI tool can give you three designs and a page of pros and cons in a minute. What it can’t do is own the choice. I said it at TDX 2026: “Speed increases, but trade-offs do not disappear.” Use AI to widen the options and challenge your reasoning; then name the trade-off yourself, and own it.
Explore
Section titled “Explore”- Earlier in this course: chapter 1, Architecture Is the Art of Trade-offs and The Reversibility Test; every chapter linked in the table above.
- Salesforce Architects, Well-Architected Framework (opens in a new tab), checked 2026-11-28.
- D. J. Abadi, “Consistency Tradeoffs in Modern Distributed Database System Design: CAP is Only Part of the Story,” Computer 45(2), IEEE, 2012 (doi:10.1109/MC.2012.33 (opens in a new tab), checked 2026-11-28).
- R. Kazman, M. Klein, P. Clements, ATAM: Method for Architecture Evaluation (opens in a new tab), Software Engineering Institute, 2000, checked 2026-11-28 (where “trade-off points” and “sensitivity points” come from).
