Scrivio Interview library
LeadershipAdvanced6 min read · updated 12 November 2026

Your organisation has 60 services and teams keep debating case by case whether a given cross-service read must be strongly consistent. As the architect responsible for consistency strategy, how would you set guidance that teams can apply without escalating every decision?

Instead of debating each read, we give teams a rule they can apply themselves: classify data by the business cost of staleness, give every entity one owning service, and guarantee strong consistency only inside that owner's database transaction. Teams then pick from a small set of supported patterns, state a staleness budget with lag metrics in design reviews, and the guidance lives in an ADR with worked examples so that only genuine exceptions reach the architect.

Why this question is asked

With 60 services, consistency questions come up every week: can the checkout page read stock from the catalogue's copy, can the invoice use the plan cached in Billing, must this call be synchronous? If each one escalates to an architect, delivery slows and decisions become inconsistent. Interviewers ask this at the fifteen-year level to see whether we can turn our own judgement into guidance other people can use. In this answer, we will look at why case-by-case debates go in circles, then build the guidance in layers: a staleness classification, the single-owner rule, standard patterns shipped as libraries, staleness budgets in reviews, and an ADR with an exception process.

1Why Case-by-Case Debates Go in Circles

Most of these debates use abstract labels. One engineer says the data must be strongly consistent, another says eventual is fine, and neither can prove it, because the question is framed in technical terms when the real question is a business one: what does it cost if this value is a few seconds or minutes old?

A senior person resolves the debate by asking that question every time. Our job as the architect is to make that question part of how teams design, so that they ask it themselves and arrive at the same answer we would. Guidance works when it is concrete enough to apply without us, and narrow enough that exceptions are rare.

2Classify Data by the Cost of Staleness

We start with a small classification, three tiers are usually enough, defined by business consequence rather than by technology. Each tier comes with a default pattern, so the classification directly tells a team what to build.

Staleness tiers and their default pattern
TierExamplesRule
Criticalmoney movement, stock reservation, credit limitread and decide inside the owner's transaction
Boundedplan used for invoicing, order status for supporteventual, budget in seconds to minutes, monitored
Displayhistory lists, dashboards, search, recommendationseventual, budget in minutes or more
A team classifies each cross-service read, and the tier tells it which pattern to use.

Notice that the critical tier does not say make a synchronous call. It says the decision must happen where the data is owned. If checkout must not oversell, the stock service reserves stock in its own transaction and answers yes or no; checkout does not read a stock count and decide itself.

3One Owner per Entity, Strong Consistency Only Inside It

The second rule is ownership. Every entity has exactly one owning service, the only one that writes it, and strong consistency is guaranteed only inside that owner's local database transaction. Everyone else has either a request to the owner, which returns the owner's answer at that moment, or a copy that is eventually consistent.

This rule ends many debates by itself. A team that wants strongly consistent data owned by another service is really asking to make a decision that belongs to the owner, so the answer is to move the decision, often as a command such as ReserveStock, not to fetch fresher data. It also stops the most dangerous pattern, two services writing the same table, which makes no consistency guarantee possible at all.

4Standard Patterns, Shipped as Libraries

Guidance that says use an outbox but leaves each team to build one produces 60 slightly different outboxes. So the platform provides the patterns as tested code: a Spring Boot starter for the transactional outbox with its relay, an idempotent consumer base that records processed message ids, a versioned projection helper that ignores older events, and a reconciliation job template that compares by id and version and reports divergence.

Each comes with metrics already wired: outbox age, consumer lag, skipped stale events, divergence counts. A team that uses the starter gets correct behaviour and observability on day one, and the easy path becomes the right path. That matters more than any document.

5Staleness Budgets in Design Reviews

In design reviews we stop asking whether something is strongly or eventually consistent and start asking for numbers. For every cross-service read in the design, the team writes down the tier, the staleness budget, for example plan in Billing at most 60 seconds behind Accounts at p99, the metric that measures it, and the alert when it is exceeded.

This works because a number can be checked. A reviewer can ask whether 60 seconds is acceptable to the product owner, and production can prove whether the system meets it. An abstract label cannot be verified by anyone.

Step throughHow a team decides without escalating
  1. Which entity, and who owns it?one owner per entity
  2. Cost of a stale value?money, stock, legal, or display
  3. Critical tier?
    YesDecide in the owner's transactionNoUse a copy with a budget
  4. Pattern from the starteroutbox, idempotent consumer, projection
  5. Budget, metric, alert in the design docreviewed, not escalated
  6. Fits none of the tiers?
    YesRaise an exception for reviewNoDone

6 steps in order. Play them, or step through them one at a time.

6Write It Down: an ADR and an Exception Process

We record the guidance as an Architecture Decision Record (ADR), a short document stating the decision, its context and its consequences, with worked examples from our own domain: checkout and stock, billing and plans, order history. Examples teach more than rules, because teams match their case to the nearest example.

Finally, we review exceptions rather than every case. If a team believes its case fits no tier, or wants to break the single-owner rule, it writes a one-page exception and the architecture group reviews it. If the same exception comes up three times, the guidance is missing something and we update the ADR. Over a quarter, the number of escalations is a good measure of whether the guidance works.

7Follow-up questions

How would you handle a team that wants a synchronous call chain to get fresh data?

I would start by asking what decision they need the fresh data for, and what it costs if it is a few seconds old. Often the answer is that the decision belongs to the owning service, so the fix is to send it a command and let it decide in its own transaction. If they really need a fresh read, one synchronous call to the owner with a timeout and a fallback is fine. What I would push back on is a chain of three or four synchronous calls, because availability multiplies: four services at 99.9 percent give about 99.6 percent, and latency adds up. I would show them those numbers rather than forbid it.

What if two services both claim to own the same entity?

That is usually two different entities sharing a name, for example the customer as a billing account and the customer as a login identity. I would split the model so that each service owns its own part, with a shared id. If it truly is one entity, the business has to pick an owner, and the other service gets a copy.

How do you know the guidance is working?

I would track the number of escalations per month, the share of services using the starters, consistency-related incidents and their impact, and whether design docs include budgets. Fewer escalations with no rise in incidents is the signal we want.

8Conclusion

In this answer, we replaced case-by-case debates with guidance teams can apply themselves. We classified data by the business cost of staleness, made each entity owned by one service with strong consistency only inside its transaction, shipped the outbox, idempotent consumer, versioned projections and reconciliation as libraries with metrics, asked for staleness budgets and lag metrics in design reviews, and recorded it all in an ADR with examples so that only exceptions are reviewed.

What to say in the interviewAbout 80 seconds aloud

Open with

I would move the conversation from consistency labels to the business cost of staleness, because that is what the debates are really about. First, a simple classification: critical data such as money movement and stock reservation, bounded data such as the plan used for invoicing, and display data such as history and dashboards.

Then, if they want more

Second, a hard rule that every entity has one owning service, and strong consistency only exists inside that owner's database transaction. So if checkout must not oversell, it does not read stock and decide; it asks the stock service to reserve, and that service decides in its own transaction. Everything else reads an eventually consistent copy.

Third, I would make the patterns easy: a shared Spring Boot starter for the outbox, an idempotent consumer, versioned projections and a reconciliation job, all with lag and divergence metrics built in. Fourth, design reviews ask for numbers, the staleness budget for each cross-service read, how it is measured and what alerts when it is exceeded.

Finally, I would write this up as an ADR with worked examples from our own domain and set up an exception process, so the architecture group reviews only the cases that do not fit. If the same exception comes up repeatedly, I update the guidance.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Your organisation has 60 services and teams keep debating case by case whether a given...": https://scrivio-interview-library.netlify.app/spring-boot/distributed-data/a782dc4704/