Multi-Region and Geo-Distributed Architecture: System Design Interview

A spoken walkthrough of one two-region design: the estimate, the routing choice, the single-writer rule, the conflict example, and the follow-ups that come after each decision.

By AI Interview AssistantPublished 11 min read

Abstract illustration of multi-region architecture: a world map with glowing nodes linked by data-replication arcs, navy/cyan/amber tech-diagram style.

Close-up abstract illustration of a single data-center node with a write-replication indicator and a replication-lag gauge beside it, in a navy, cyan and amber tech-diagram style.

A multi-region and geo-distributed architecture system design interview rewards a defended sequence of decisions, not a diagram. Open by naming the driver: distant users waiting on a request that crosses an ocean, or surviving the loss of a whole region. Pick one to solve first and say so. Then walk the request path — routing to the nearest healthy region, reads served near the user, writes owned in one place with a stated conflict rule — and close by naming what you gave up and how you would detect a degraded region.

Start with the reason, not the map

Before you draw a box, say what the second region buys you. There are two honest answers, and they lead to different designs:

  • Latency. A request that crosses an ocean pays the round-trip time of that distance on every call that has to go there. Serving reads close to the user removes most of those crossings.
  • Failure tolerance. If one region becomes unreachable, the system keeps serving from another.

A sentence of scope before any box does more for you than three neatly drawn regions. Something like: "I'll assume users are on two continents, reads outnumber writes, and the business can tolerate a few seconds of stale reads but not lost writes. I'll optimise for latency first and treat regional failure as a second requirement." The interviewer can now correct one assumption instead of dismantling a diagram.

The common mistake is drawing three regions first and inventing a reason afterwards. If you catch yourself placing a box, ask which of the two drivers it serves. If it serves neither, delete it.

The estimate that decides how many regions

State every number as an assumption so the interviewer can change it. Here is one that holds up:

Assume 20 million daily active users (DAU)
Assume 10 requests per user per day
Assume peak traffic is 3x the average

Average requests per second:
  20,000,000 users x 10 requests = 200,000,000 requests/day
  200,000,000 / 86,400 seconds in a day = about 2,315 requests/second

Peak requests per second:
  2,315 x 3 = about 6,945 requests/second, call it 7,000

Split across two regions, roughly by user population:
  Region A (larger population, say 60%): about 4,200 requests/second
  Region B (say 40%):                  about 2,800 requests/second

Reads dominate a workload like this, so most of that peak is read traffic each region can answer locally. The write share is a fraction of it — assume one in twenty requests writes, which gives about 350 writes per second at peak, and those all land in one region.

That arithmetic is the argument. At this scale, a single write region is not a capacity problem; it is a consistency decision. Splitting writes across regions buys you write throughput you do not need and hands you a conflict problem you do have to solve.

Routing users to the nearest healthy region

You have three realistic routing options, and the interview is about why you rejected two of them.

OptionStrengthCost you accept
Geo-DNSSimple, no extra hopFailover depends on DNS propagation and client caching, which can be slow
AnycastSame address reaches the closest pointWorks well for stateless tiers; stateful routing needs care
Edge layer forwardingCentral place to apply health and routing rulesOne more hop and one more thing to operate

For a read-heavy web workload, anycast or an edge layer that forwards to the closest healthy origin is usually the easier story, because the health check sits in the path rather than in DNS records. Geo-DNS is the option you name and reject: when a region dies, the change has to propagate and clients have to stop caching the old answer, and you cannot promise how long that takes.

The failover trigger matters as much as the routing. Define what counts as dead versus slow: a region that fails its health check from several vantage points for a sustained window is dead; a region answering health checks but with rising latency is slow, and slow regions get traffic drained rather than cut off.

The mistake to fix here is routing writes to the nearest region by default. Keep read and write endpoints separate in your routing table, so a user in region B reads locally and writes to the owner in region A.

Reads near the user, writes in one place

Each region gets read replicas of the data its users need, plus a regional cache in front of them. Say the staleness bound out loud: "reads may be a few seconds behind the write region, and the UI shows the user their own write immediately by reading it back from the write region for a short window." That read-your-own-writes fix is what stops a user changing their profile, seeing the old value, and filing a bug.

Writes go to a single writer region and replicate outward asynchronously. The number you monitor is replication lag — the gap between the write region's log position and each replica's. If lag grows, your staleness bound is a lie, and you alert on it before users notice.

The rejected option is synchronous cross-region writes on every request. It would keep replicas exact, but every write would wait for a round trip to the other continent, and at 350 writes per second peak that latency lands on the user's save button. Asynchronous replication is the trade you accept: bounded staleness in exchange for a fast write path.

For the replication mechanics themselves, see how to justify your database replication strategy.

When writes must happen in two regions

Sometimes the requirement forces multi-region writes: a region must keep accepting writes while cut off, or users on two continents cannot tolerate the write round trip. Then you name the conflict rule explicitly. There are three you can defend:

  1. Per-entity ownership. Each user or tenant has a home region that owns their writes. Conflicts mostly disappear because one region is authoritative for each record.
  2. Last-write-wins with a timestamp. Simple, but it silently discards one of two concurrent updates.
  3. A merge step for the few fields that can genuinely conflict, applied when replication catches up.

Here is the worked example interviewers like. A user updates their profile in region B while the same account changes its password in region A, and the two updates reach each other out of order. Under last-write-wins, the later timestamp wins and the earlier change vanishes — possibly the password change, which locks the user out or, worse, leaves an old credential live. Under per-entity ownership, both writes go to the account's home region, so they are ordered by that region and neither is lost. That is why ownership is the rule to reach for first: it turns a merge problem into a routing problem.

If you say "we'll use CRDTs", name the field and the merge behaviour — for example, a set of tags on a profile merged by union, so adding a tag in each region keeps both. A CRDT you cannot specify is a word, not a design.

Failover, data loss and the drill you describe

Define the failure before you describe the response, because each kind has a different answer:

  • Region unreachable. Health checks fail; traffic drains to the surviving region; you promote a replica there to take writes.
  • Region slow. Traffic drains gradually; you watch error rate and latency rather than cutting over in a panic.
  • Region serving bad data. The hardest case: failover does not help, so you need a way to stop propagation and roll back.

When you promote a replica, state the recovery point in terms of replication lag: "we accept losing up to the last few seconds of writes that had not replicated, and we know that number because we alert on lag." In-flight writes during the cutover need a home too — a retry queue with an idempotency key so a retried write does not apply twice. The idempotency walkthrough covers how to explain that guard.

To know failover worked, watch three signals: error rate per region, replication lag to the new writer, and write latency at the new writer. If write latency spikes and stays high, you promoted a replica that cannot carry the load.

The follow-ups interviewers ask after this design

Expect these once your design is on the board. Each has a one-line answer you can give and then expand.

  • "What happens to in-flight writes during failover?" They retry against the new writer through a queue, guarded by an idempotency key so duplicates collapse into one write.
  • "How do you test this without taking down production?" A game day or a traffic-shifted rehearsal: drain one region's traffic in a controlled window, promote the replica, and time the recovery against your target.
  • "What would you cut if the budget halved?" Drop to one write region plus read replicas in the second region, and keep the failover runbook and the lag alerts.
  • "How do users know their data might be stale?" The client reads its own writes from the write region for a short window, and the UI labels anything older as recently updated.

If the conversation turns to consistency guarantees, pick and defend a consistency model before you defend the topology; the topology follows from it.

The one rule to say out loud

Every region placement must answer either "this makes a user's request faster" or "this survives a failure we named." If it answers neither, remove it. Close your answer by restating the trade you accepted — a single write region and bounded staleness in exchange for a fast, conflict-free write path — and the signal you would watch, replication lag. That sentence is what an interviewer remembers when they compare candidates. For the wider order of the conversation, start from system design interview fundamentals first.

Frequently asked questions

Do I need to name specific cloud providers' multi-region features in the interview?

No. Name the capability you need — regional read replicas, a global routing layer, cross-region replication — and let the interviewer ask about a provider if they care. Naming a product feature you half-remember invites a follow-up you cannot answer, and the design reasoning is what is being assessed. Generic building blocks keep you on ground you can defend.

How many regions should I propose if the interviewer doesn't give a number?

Propose two and justify it: one write region plus one read region covers latency for a second continent and survives a single regional outage. Say what a third region would buy — surviving two simultaneous failures or serving a third population — and what it costs in replication and operational work. Two is the smallest design that demonstrates the reasoning.

What's the difference between multi-region and geo-distributed, and does the interviewer care?

Multi-region usually means replicas or deployments in more than one cloud region; geo-distributed emphasises placing data and compute near users geographically. In practice the terms overlap, and the interviewer cares that you define which one you mean at the start. Say "two regions, one owning writes, reads served locally" and the labels stop mattering.

Treat residency as a requirement to surface, not a rule to interpret. Say that some data may have to stay in a given jurisdiction, that this can pin a user's records to a home region, and that you would confirm the specifics with the team's legal and compliance colleagues. Do not state what any law requires; scope it and move on.

Can I use this same walkthrough for a read-heavy versus write-heavy system?

The order holds, but the estimate changes the conclusion. In a write-heavy system the write share is large, so a single write region becomes a capacity question and you may need to shard writes or accept multi-region writes with an ownership rule. Rerun the arithmetic first and let the numbers choose the topology.

Preparing for a system design round? See how AI Interview assistant works.

A city grid at night with illuminated buildings linked by glowing roads and light trails

10 min read

Distributed Systems Interview Questions: Name the Trade-Off

Answer distributed systems interview questions with a four-beat pattern: define the concept, name its cost, give a real example, and pre-empt the follow-up.

  • Distributed systems interview questions
  • Distributed systems interview answers
A coffee shop counter with a small shelf of ready-made cups placed within easy reach of the barista

11 min read

Narrate a Distributed Cache System Design Interview

A 35-minute, narrated walkthrough for a distributed cache system design interview: scope the requirements, sketch the architecture, pick a strategy and defend the trade-offs.

  • Distributed cache system design interview
  • Design distributed cache
An apartment building at dusk with many identical lit windows, each showing a different warm room

11 min read

Multi-Tenant SaaS Platform System Design Interview Walkthrough

A spoken walkthrough for the multi-tenant SaaS platform system design interview: requirements in five minutes, an isolation decision you can defend, and a 35-minute run sheet.

  • Multi tenant saas platform system design interview
  • Tenant isolation system design