PART 3 · CHAPTER 11
Consistency Is a Business Decision
Strong consistency, eventual consistency and read-your-writes guarantees are tools for different business consequences. The acceptable stale interval must be chosen…
Saved locally in this browser, not synced to an account.
The invisible rule: A truthful “processing” state is often better UX than a false promise of instant global consistency.
The question
Is it acceptable for a customer to see an old order balance for five seconds?
This question sounds simple because we usually evaluate a software system by the parts we can see. Yet an incident often begins in a rule that nobody wrote down: a hidden timing assumption, a missing owner, an ambiguous business word or an unsafe fallback.
Throughout this book we follow Meridian, a fictional enterprise order and payments platform. Its incidents are constructed teaching cases, not claims about a real company. They are based on common engineering patterns and are designed to make the underlying trade-offs observable.
The familiar world
A departure board updated every minute is useful; an aircraft collision-avoidance system using minute-old positions would be dangerous.
The useful detail in this analogy is that the visible equipment is not enough. Reliable outcomes depend on relationships, rules and responses to exceptions. These are precisely the aspects that disappear when architecture is represented as nothing more than boxes and arrows.
The connection
Strong consistency, eventual consistency and read-your-writes guarantees are tools for different business consequences. The acceptable stale interval must be chosen by the domain.
In a software system, this is not merely a theoretical distinction. A checkout confirmation appears immediately while the order-history list is updated by a queue. The customer interprets missing history as a failed charge and tries again.
The architecture becomes visible only when we ask more specific questions: Which component has authority? Which fact is immutable? How long may another service be out of date? Which error is retryable? Who must approve the next action? The answers define a system more accurately than the technology list alone.
The visual explanation
A concrete model to inspect:
Checkout response: PaymentAccepted(orderId=723)
Dashboard: Processing → Confirmed
Write authority: Payment service
Read projection: Order history cache
Read the model from the point of view of a user action rather than from the point of view of a service. Follow the business intention, identify where meaning is translated or lost, and mark the precise point where a decision becomes irreversible or externally visible.
The deeper truth
A realistic engineering situation
Checkout writes an order, while the account dashboard consumes an asynchronous projection. After payment succeeds, the customer briefly sees “unpaid” and retries.
A team could easily mistake this for a small implementation defect. That diagnosis would be incomplete. The incident arises because the surrounding system has not represented an important contract or policy explicitly enough for other parts of the system to rely on it.
How to design the solution
Use an authoritative payment response, a processing state and a client-visible consistency contract. For high-risk actions, check the authoritative record; for browsing, accept bounded eventual consistency.
Implementation requires more than adding one validation check. Decide which data is authoritative, how the rule is enforced during concurrent requests, what evidence is recorded, and how old clients behave during migration. Prefer a small set of explicit guarantees over a long list of informal expectations.
What can still go wrong
Consistency choice cannot be inferred from technology preference alone. Evaluate the cost of a stale decision.
For a production rollout, make the failure case part of the acceptance criteria. Include at least one network timeout, one duplicate or late input, one authorisation failure, one version mismatch and one observable recovery path where those scenarios are relevant. Test under concurrency, because a guarantee demonstrated by a sequential unit test may not hold when requests overlap.
Design review questions
| Review dimension | Question to answer before release |
|---|---|
| Business meaning | What does success mean to a customer or operator? |
| Ownership | Which service or human is accountable for the result? |
| Failure | What happens if the next step never occurs? |
| Evidence | Which test, log or metric demonstrates the guarantee? |
| Change | How will older consumers and existing data behave? |
Try this in your own system
Classify five reads by maximum safe staleness and consequence of wrong decisions.
Do not start by selecting a framework. Write down the observable outcome, the invariant that must hold, and the evidence that would convince a sceptical reviewer. Then identify the simplest design that enforces those conditions.
The takeaway
A truthful “processing” state is often better UX than a false promise of instant global consistency.
The most important architecture is often the architecture of decisions. Make the hidden rule explicit, give it an accountable owner, enforce it where the business effect occurs, and verify it in realistic conditions. That is how a plausible design becomes a dependable system.
Further reading
- Microsoft Azure Architecture Center. Relevant background; the Meridian case is an illustrative example, not a case study reported by this source.