The design review starts with a tool question: Kafka or RabbitMQ for the new refund flow? Ten minutes in, the board has a few boxes, some arrows and two vendor logos. Then someone asks a plainer question: when the refund rules change next quarter, which team makes that change, and who else has to approve it? Nobody answers right away. The room has just found the harder decision, and it isn't about a queue.
Why tools get discussed first
Tools are easy to talk about. A queue has a name. A database has a docs site and a pricing page. A framework has examples and benchmarks you can argue over. Boundaries are less comfortable, because drawing one means saying out loud how the work changes, where decisions live and which team pays the long-term cost.
So most meetings drift toward the tool. It feels like progress. Often it's the part that's easiest to undo later.
A boundary is a bet about change
This idea is older than most of our tools. In 1972, David Parnas compared two ways of splitting the same program into modules. The usual way followed the steps of processing, the way a flowchart does. His way started from what might change. He concluded that "it is almost always incorrect to begin the decomposition of a system into modules on the basis of a flowchart," and proposed that "one begins with a list of difficult design decisions or design decisions which are likely to change. Each module is then designed to hide such a decision from the others" (On the Criteria To Be Used in Decomposing Systems into Modules).
The modern flowchart is a diagram split by technical step: API, queue, worker, database. Each box looks tidy, yet one business rule change touches all four. Parnas's test still works. If billing policy changes every week and catalog rules change twice a year, putting them in one module is convenient today and expensive by spring. If support needs a different view of an order than checkout does, forcing both through one model creates friction that no framework can hide.
Three questions before any tool name
Who owns the change?
Who understands the rules well enough to change them without asking five other people? Melvin Conway noticed in 1968 that any organization that designs a system "will produce a design whose structure is a copy of the organization's communication structure" (Conway's Law). You can fight that or use it. A boundary that matches how teams already talk tends to hold. One that cuts across a team, or makes two teams co-own one rule, turns every change into a meeting.
What has to be consistent together?
Some facts must change in one step: an order and its line items, an account balance and the ledger entry that moved it. Others can arrive a few seconds later without anyone losing trust, like a loyalty points total or a search index. Domain-Driven Design calls the first group an aggregate, "a cluster of domain objects that can be treated as a single unit," and gives a firm rule: "Transactions should not cross aggregate boundaries" (Fowler, DDD Aggregate). Write down which facts belong to which group. That list decides later whether you need a transaction, an event or a nightly job.
Does a word mean the same thing on both sides?
"Customer" in sales is a lead with a deal size. "Customer" in support is someone with an open ticket. Eric Evans argued that "total unification of the domain model for a large system will not be feasible or cost-effective," and that large systems should be split into Bounded Contexts, each with its own consistent model (Fowler, Bounded Context). When two teams use one word for two things, you've probably found a boundary.
| Question | What to write down | What it decides later |
|---|---|---|
| Who owns the change? | One team name per rule | Module or repo split, review owners, whether a separate deploy is worth it |
| What must be consistent together? | Facts that change in one step, and facts that can lag | Transaction vs. event, database layout, whether a queue fits |
| Does a word mean the same thing? | Words that mean different things to different teams | Separate models, translation at the edge, API naming |
What happens when the tool comes first
A service split chosen because microservices feel modern often becomes a network call wrapped around confusion. Martin Fowler observed that "almost all the successful microservice stories have started with a monolith that got too big and was broken up," and that "even experienced architects working in familiar domains have great difficulty getting boundaries right at the beginning." He adds that moving functionality between services "is much harder than it is in a monolith" (Monolith First). A wrong line inside one codebase costs a refactor. A wrong line between two services costs a migration.
A shared library created only to avoid duplicate code can turn into a drawer where every team stores unrelated things, and then nobody can change it without checking with everyone. A database picked before anyone knows the consistency rules can turn one business workflow into a series of data-repair meetings.
When the tool is the right next question
None of this makes tools unimportant. They matter a lot once the shape of the problem is visible. A queue is exactly right when the work can happen later and the data list above says it may lag. A modular monolith is often the friendliest choice when the team is small and the domain is still being discovered. A separate service earns its operational cost when ownership, release pace and scaling pressure really differ from the rest of the system.
The trick is to hold the tool verdict for a short while. Long enough to write down what changes together, what fails together, what must be tested together and who owns each piece. That pause usually turns a loud technology debate into a plain design decision.
Try this week
- Take the next design doc that names a tool in its title. Before the tool section, add four lines: what changes together, what fails together, what must be tested together, who owns it.
- List three business rules that changed last quarter. For each one, count how many modules or services the change touched.
- Collect the words your teams use in different ways, like "customer," "order" or "account." Each one is a boundary candidate.
- For each fact in the feature, mark "must be consistent now" or "can lag." Then pick the tool.
The boundary that matters most is rarely the prettiest one on the board. It's the one that lets the next change be made by the people who know the rules best, with the smallest blast radius. Two related posts go further: Choosing boring boundaries on purpose and When boundaries need examples more than names.