Multi-Region and Geo-Distributed Systems Questions
Running a system across regions and continents: multi-region replication, data residency and sovereignty, geo-routing and CDN edge distribution, cross-region consistency and quorum placement, and conflict resolution when two regions accept writes. Covers regional failover and split-brain prevention, recovery objectives (RTO/RPO), region-by-region rollout and blast-radius containment, and the latency, cost, and consistency tradeoffs of going global. Global distribution strategy across the service and data tiers.
Design a global shopping-cart service that caches carts at the edge for low latency but must guarantee carts converge within 1 minute across regions. Describe cache strategy, replication/propagation model, conflict resolution, and cost vs latency trade-offs. Explain how eventually-consistent returns are acceptable or not for checkout flows.
Sample Answer
A shopping cart can safely be fast and loosely consistent for browsing and editing, but the moment of checkout needs a different, stricter path: cache and replicate cart edits at the edge using commutative operations that converge automatically within the 1 minute target, then require an explicit, authoritative validation step before money changes hands, because "the cart eventually agrees across regions" and "the charge is definitely correct" are two different guarantees that shouldn't share the same consistency budget.
Session consistency while a user moves between regions
Cart traffic is heavily read-dominated (reads far outnumber writes, since a user views their cart many times for every edit), and the harder requirement is session consistency: whichever edge a user's session is currently pinned to must always show that session's own latest write immediately, even if a global merge is still in flight elsewhere. This is solved by session stickiness, routing a given session consistently to the same edge region for its duration, with a fallback that, if the user's device roams to a new region mid-session, that new edge reads the user's own recent operation log directly rather than waiting for ordinary cross-region propagation, which is what keeps the cart feeling instantly correct to that one user regardless of the 1 minute global convergence budget.
Cache strategy
Each edit (add item, remove item, change quantity) is appended to a per-cart operation log at the edge closest to the user, rather than overwriting a single cart snapshot; the edge serves reads from its local, fast-growing log plus a periodic snapshot, giving low-latency reads and writes for ordinary cart interaction.
Replication and propagation model
Operations propagate from the accepting edge to every other region via a fast event stream, tagged with an HLC timestamp (hybrid logical clock: a timestamp combining wall-clock time and a logical counter so operations from different regions can still be ordered consistently) and an idempotent (idempotent: applying the same operation more than once has the same effect as applying it once) operation id so a retried or duplicated message never double-applies. Under normal network conditions this propagation completes in well under a second per hop; even allowing generous retry and batching overhead, reaching every region within the 1 minute target leaves wide margin.
Conflict resolution
Cart edits are modeled as commutative operations, similar to a CRDT (conflict-free replicated data type: a structure designed so concurrent updates merge automatically to the same result everywhere) for the item set, where add and remove converge regardless of order, and, for quantities, a structure chosen to match the operation rather than one structure for both operations, because the two cart edits that touch a quantity are not the same shape. "Add 2 of this item" is a delta and it commutes, so a counter-like structure is right: a cart at quantity 1 with two devices each adding 2 converges to 5, which is what the user did. "Change the quantity to 3" is a SET and it does not commute, so a counter is wrong for it: each edge converts the set into a delta against its own local view (+2 from 1), the two deltas merge, and the cart ends at 1 + 2 + 2 = 5 when the user asked for 3 on both devices. Model set-quantity as a last-write-wins register on that item's quantity field, tagged with the same HLC timestamp, which returns 3 for that case; model add-quantity as the counter. Tag each operation in the log with which of the two it is at the moment the client issues it, because the distinction is only recoverable from user intent and is unrecoverable afterwards. With that split, two regions adding different items to the same cart at the same time both survive the merge with no coordinator required, and a quantity edit from two devices lands on the number the user actually chose. For checkout specifically, this automatic merging is deliberately not trusted as the final word: the checkout step re-reads the full operation log, applies a final deterministic merge, and locks the cart before validating price and inventory.
Cost versus latency trade-offs
Fully synchronous cross-region replication on every cart edit would guarantee the cart is always identical everywhere, at a real latency and infrastructure cost that ordinary browsing and editing don't need; the chosen asynchronous, operation-based approach keeps everyday interaction fast and cheap, spending the extra synchronous cost only at the one moment, checkout, where correctness genuinely requires it.
Is eventual consistency acceptable for checkout?
For browsing, adding, and removing items, yes: a cart converging within a minute is invisible to a normal user, who is not adding items from two different continents within the same second. For the actual checkout and charge, no: checkout must perform an authoritative read of the fully merged cart state, lock it against further edits, validate current price and inventory, and only then commit the charge; if two checkout attempts for the same cart somehow race, such as a duplicate tab or a retried request, the right answer is to prevent the second charge rather than to undo it. Carry an idempotency key derived from the cart and the checkout attempt through to the payment call, so the second request resolves to the SAME payment rather than creating a new one, and pair it with the cart lock so only one attempt can reach the payment step at all. A first-commit-wins rule where the loser is refunded and notified is a fallback for the case where prevention failed (two distinct keys were somehow issued), and it should be described as remediation, not prevention: the customer saw two charges on their statement and then saw a refund, which is a support ticket and a trust problem even though the final balance is correct.
Worked example
A user adds an item from a mobile app in the US at time zero. That operation reaches the EU and APAC regions' logs, under normal conditions, well within a few seconds via the event stream; even in a degraded scenario with retries and batching delays pushing propagation to, say, 20 to 30 seconds, the cart still converges with roughly half the 1 minute budget to spare. If that same user opens the site from an EU browser 45 seconds later, they see the item, because normal propagation is far faster than the 1 minute target; if they had opened the EU site within the first second, the session-consistency path described above is what applies, not the propagation delay: because it is the SAME user's session roaming, the EU edge reads that user's own recent operation log directly instead of waiting for ordinary cross-region propagation, so they see the item they just added. The 1 minute convergence budget governs a DIFFERENT observer: another session or device that is not the one which issued the write, for example a partner sharing the cart, or an internal service in another region reading the cart for a promotion check. Keeping those two cases separate is the whole point of the split. If the design ever cannot distinguish them, for instance because session identity is unavailable to the roamed edge, then the user does briefly see a stale cart, and that fallback is the bounded staleness the 1 minute convergence target is defined to cover.
Trade-offs and pitfalls
The operation-log approach handles ordinary editing cheaply and converges well within budget, but it shifts real complexity onto the checkout path, which now has to do an authoritative merge and lock rather than trusting the fast path's already-converged state. The pitfall to avoid is skipping that authoritative re-validation because the cart usually converges fast anyway: the rare case where it hasn't yet converged is exactly the case a checkout-time safeguard exists to catch, and skipping it trades a rare, bounded staleness bug for an unbounded, unpredictable billing bug.
Design a globally distributed user profile service that must serve 500M users, prioritize low-read-latency (p95 < 50ms), and allow eventual consistency across regions. Include choices for data replication, read/write routing, conflict resolution (CRDTs vs last-write-wins), caching layers, and how to handle GDPR-style data deletion requests across regions.
Sample Answer
At 500 million users with a sub-50ms read target, the design's center of gravity is "read locally, write to a home region, replicate asynchronously," with conflict resolution split by field type (automatic merging where that's safe, deterministic last-write-wins where it isn't) and a deletion workflow that treats a GDPR-style (GDPR: the EU's General Data Protection Regulation, which gives users a legal right to have their personal data deleted) erasure request as a high-priority event every region must acknowledge, not an ordinary asynchronous update.
Data replication and read/write routing
A profile service like this is typically read-dominated, for example around 90 percent reads and 10 percent writes per user on a typical day, which is why the design below spends its complexity budget on making reads fast and cheap everywhere rather than on optimizing the comparatively rare write path. Each user is assigned a deterministic home region, and the assignment function matters more than it looks. Hashing the user id is deterministic and trivially rebalanced, but it throws away the one input that actually determines write latency and legal exposure, namely where the user is; a European user hashed into an Asia-Pacific home region pays a trans-continental round trip on every profile edit and stores personal data in a jurisdiction nobody chose. Assign the home region from the user's own locality at signup (with an explicit, auditable residency override where regulation requires one) and keep a hash only as the tie-breaker for users with no locality signal, so the mapping stays deterministic without being arbitrary. Whatever the function, once assigned it is recorded rather than recomputed, so a user who travels does not silently change home regions; writes go to the home region first, then replicate asynchronously to every other region via a change-log stream. Reads are always served from the requester's local region, backed by a local cache, which is what keeps the p95 (95th percentile: 95 percent of requests are faster than this number) under 50ms regardless of where the user's home region is, at the cost of a read from a non-home region potentially being a few seconds stale relative to a very recent write.
Conflict resolution: CRDTs versus last-write-wins
For fields where merging concurrent updates makes sense (a list of interests, notification preferences), use a CRDT (conflict-free replicated data type: a structure designed so concurrent updates made in different regions merge automatically into the same result without needing a coordinator), for example an add-wins set, so two regions adding different preferences at the same time both survive the merge. For single-value fields where merging doesn't make sense (a legal name, a primary email), use LWW (last-write-wins: a rule that keeps whichever update carries the latest timestamp and discards the other), tagged with a timestamp that accounts for clock differences across regions, accepting that the earlier of two truly concurrent edits is silently lost, the correct behavior for fields where keeping both isn't meaningful.
Caching
A regional in-memory cache serves most reads with a short TTL and stale-while-revalidate (serving the cached value immediately while refreshing it in the background), which is what makes the sub-50ms p95 achievable at billions of reads per day.
GDPR-style deletion across regions
Treat a deletion request as a high-priority event, not a normal write, and separate the three things that are usually collapsed into one, because collapsing them is what leaves data being served while everyone believes it is gone.
1. Suppress reads everywhere, immediately, on a channel that cannot be stuck behind replication. Publish the user identifier to a small, independently replicated suppression set that every region's read path consults before returning a profile, and invalidate that key in every regional cache in the same step. This has to bypass the ordinary change-log stream entirely, because the whole point is that the stream can be backlogged. It also has to bypass stale-while-revalidate: a suppressed key must be a hard miss that returns not-found, never a stale copy served while a refresh runs, since stale-while-revalidate is explicit permission to keep serving an expired value and that is exactly the wrong behaviour here.
2. Then run the acknowledgement protocol. Mark the record deleted in its home region, propagate the tombstone to every region ahead of ordinary replication traffic, and require an explicit acknowledgment from every region before the request is considered fulfilled. This step is what gives you PROOF, and proof is genuinely valuable, but be clear that it is an observability guarantee and not the thing that stops the data being served; step 1 is what stops the data being served.
3. Then purge. Only after every region confirms does a background job perform the actual permanent purge from storage, caches, and backups, while an audit log retains proof that the deletion happened, without retaining the deleted personal data itself, for compliance purposes.
Give the protocol a deadline as well as an acknowledgement requirement. A region that has not acknowledged within the internal target (minutes, not hours) is an incident with an owner, not a row on a dashboard, because the regulatory clock for responding to an erasure request runs in days and weeks while the backlog is measured in minutes; a design that can wait indefinitely for one region has no bound at all.
Worked example
A user in Europe requests deletion. The home region marks the record deleted and pushes a tombstone event to the other regions' replication streams within a few seconds under normal conditions. If a region has a backlog and takes 40 minutes to acknowledge, the deletion is not yet considered complete system-wide. Be precise about what that buys and what it does not. Waiting for every region to acknowledge is what makes the gap VISIBLE, and visibility is worth having, because a design that fired the delete and assumed success would have silently left personal data live in the backlogged region well past when compliance believed it was gone. What the acknowledgement protocol does NOT do on its own is stop the data being served: for those 40 minutes the backlogged region still answers reads with the profile, and if the purge is gated on full acknowledgement then even the regions that already acknowledged are still holding the value in cache. That is why the read-suppression step runs first and independently. With suppression in place the 40 minutes become a compliance-reporting problem (the purge has not finished, and someone is paged), rather than 40 minutes of a deleted user's personal data being returned to callers in every region.
Trade-offs and pitfalls
Asynchronous replication keeps reads fast everywhere but means a write is visible in its home region before anywhere else, fine for ordinary profile edits and explicitly not fine for a deletion, hence treating deletions as a separate, higher-priority path rather than reusing the ordinary replication SLA. The pitfall to avoid is forgetting backups: a record purged from live storage and every region's cache but still sitting in a nightly backup snapshot is not actually deleted for compliance purposes, so the deletion workflow has to reach backups on a defined schedule too, not just live storage.
Describe how a CDN and edge caching complement multi-region architectures. For a web application serving static assets and personalized dynamic pages, outline what to cache at the edge, what to keep centralized, and strategies to avoid serving stale or private data from the edge.
Sample Answer
A CDN (content delivery network: a globally distributed network of edge servers that cache and serve content close to the user) exists to make the multi-region system fast and cheap, while the regional origins keep it correct. The dividing line is simple: cache anything that is identical for every visitor or safely reusable at the edge with a generous TTL (time-to-live: how long a cached copy stays valid before it must be re-fetched), and keep anything unique to one user, private, or dependent on the latest write at the regional origin, protected by explicit cache headers rather than TTL alone.
What to cache at the edge
- Static assets (JS/CSS bundles, images, fonts, video): fingerprinted per build (for example app.a1b2c3.js) so a new deploy gets a new URL instead of needing an invalidation; TTL can run weeks to months.
- Public, shared dynamic content: catalog pages, category listings, marketing pages that render identically for every anonymous visitor; TTL of seconds to a few minutes.
- Edge compute results: image resizing/compression, header rewriting, coarse A/B bucket assignment, done once at the edge instead of round-tripping to the origin for every request.
What to keep centralized
- Anything that includes another user's or the requester's own private state rendered into a shared-looking response: account details, cart contents, billing, personalized recommendations. Either mark the response Cache-Control: private, no-store so it never enters the shared edge cache, or serve it from a regional (not edge) cache keyed strictly per user.
- Writes and anything that must reflect the latest write immediately: checkout, payment confirmation, inventory decrement.
Avoiding stale or private data at the edge
- Cache keys must never be built from raw session cookies or the Authorization header. If a response varies by user, either don't cache it at the shared edge or key on a non-identifying attribute (locale, currency, A/B bucket) rather than the identity itself.
- Strip Set-Cookie from any response before it can be cached, and default new endpoints to private until someone deliberately marks them cacheable, not the other way round.
- Prefer fingerprinted URLs over TTL expiry for anything that changes atomically with a deploy: the URL change is instant and unambiguous, whereas a TTL only bounds the staleness window.
- For content that changes occasionally but is not private, use stale-while-revalidate (serve the cached copy immediately while a background fetch refreshes it for the next request) so users rarely see very old data without every request waiting on the origin.
Worked example
A product page splits cleanly: the page shell (layout, JS, CSS) is fingerprinted and cached at the edge for 30 days; the product description and photos are cached for 5 minutes with stale-while-revalidate, so a price change is visible everywhere within 6 minutes worst case, for the reason spelled out at the end of this example; the "2 items in your cart" badge is fetched from the regional origin on every request with Cache-Control: private, because it is per-user state that must never land in the shared cache. Worst-case staleness for the price is NOT the 5-minute TTL, and this is the detail stale-while-revalidate quietly changes: it is an explicit licence to keep serving the expired copy while the refresh runs, so the bound is max-age plus the stale-while-revalidate window, not max-age on its own. Write the header out and the arithmetic stops being ambiguous: Cache-Control: public, max-age=300, stale-while-revalidate=60 bounds staleness at 300 + 60 = 360 seconds, which is 6 minutes, not 5. It is also worth being precise about who absorbs that staleness: the request arriving just after expiry is both the one served the stale copy and the one that triggers the background refresh, so the visitor who sees the late price is the visitor who fixes it for the next one. If the requirement genuinely is a hard 5-minute ceiling, either set max-age=240, stale-while-revalidate=60 so the two sum to 300, or drop stale-while-revalidate and accept that one request per key per TTL pays the origin fetch itself. The cart total has zero staleness because it was never a caching candidate.
Trade-offs and pitfalls
Longer edge TTLs cut origin load and latency at the cost of a wider staleness window; shorter TTLs invert that trade. Fingerprinted URLs sidestep the trade-off entirely for anything that changes atomically with a deploy, at the cost of extra build tooling. The failure mode to actually watch for in production is a response that looks generic but has a per-user fragment baked in (a "Hello, Alice" greeting inside cached HTML); catch it with a header and privacy lint on any new cacheable route before launch, not after a leak is reported.
You are leading a cross-region migration of a customer-facing service. Describe your plan including stakeholder communication, migration waves, cutover and rollback strategy, testing and validation steps, runbook creation, escalation paths, and how you would mentor and prepare the operations team through the migration.
Sample Answer
Direct answer
I would run the migration as a series of small, reversible waves validated against explicit go/no-go metrics, rather than one big cutover (a single all-at-once switch of all traffic to the new setup), with a named owner for every risk and a rollback trigger defined in advance for each wave, because the entire point of going slow is to make every step survivable if it goes wrong.
Stakeholder communication
Map stakeholders up front: customers and support, executives who need status, and the operations team who will live with the new topology daily. Give a pre-migration briefing that lays out the plan and rollback criteria, keep a running status update at every wave boundary, and tell support and ops what changes for them before each wave starts, not after something breaks and they are caught off guard.
Migration waves, cutover, and rollback
Split waves by blast radius (how much of the system, and how many users, would be affected if this particular wave goes wrong), not by convenience: internal or synthetic traffic first, then a single low-risk customer segment's read traffic, then broader read traffic, then a small slice of write traffic, then full cutover. Every wave routes through a mechanism that can be dialed back to zero without a redeploy (a traffic-percentage switch or feature flag), and the rollback trigger for each wave is a specific number decided in advance, for example error rate more than a defined percentage above baseline, or replication lag above a defined threshold sustained for a set number of minutes, so the decision is not made emotionally in the middle of an incident.
A trigger is only as good as the volume it is evaluated on, and this is where carefully written migration plans quietly fail. Deciding the threshold in advance is necessary but not sufficient: the same threshold that is precise on a wave carrying half the traffic is pure coin-flipping on a wave carrying 1% of it, because at low request counts ordinary random variation produces the threshold on its own. So every trigger needs a companion condition, which is the minimum number of requests that must land in the evaluation window before the trigger is allowed to fire at all. Below that count the correct action is to widen the window or extend the soak, not to roll back on noise, and a plan that rolls back on noise teaches the team to ignore the trigger, which is worse than having no trigger.
Testing and validation
Before wave one touches real traffic, run shadow or dark-launch testing: send real traffic to the new path and compare its output without actually serving the response, to validate correctness with zero user risk. Rehearse the rollback path itself in a game day (a scheduled, deliberately-triggered rehearsal of the failure scenario run against a real or production-like environment), not just the forward migration path, since a rollback nobody has ever exercised is the least trustworthy part of the whole plan. After each wave, run a data-reconciliation check to confirm consistency actually held.
Runbooks and escalation
Write a runbook (a step-by-step written procedure covering exactly what to do, and in what order) per wave with the exact cutover and rollback steps, contact information, and known-failure-mode responses, reviewed before the wave starts rather than improvised during it. Name an incident commander (the single person with authority to make real-time decisions during the wave, so nobody is guessing who is in charge) and a backup for each wave window, and define in advance the threshold at which a wave issue graduates from "the migration owner is handling it" to a formal incident with its own escalation.
Updating SLOs and error budgets during the migration
Temporarily widen or separately track the team's error budget (its SLO, or service-level objective, is the internal reliability target the team commits to, and the error budget is the amount of unreliability that target already allows it to spend before breaching) during active migration windows, and communicate that policy change to stakeholders explicitly, so migration-induced turbulence is not silently mistaken for an unrelated production regression, and so it also does not quietly eat the budget the team needs for everything else happening at the same time.
Mentoring and preparing the operations team
Run the operations team through a tabletop rehearsal (walking through the failure scenario as a discussion, with no real actions taken) or a real game-day rehearsal of the new topology's failure modes before they are on point for it live. Pair anyone new to the runbooks with an experienced on-call engineer for the first real wave, and only complete the ownership handoff once they have exercised a failover themselves, not just read the document.
Worked example
Take a service handling 500 requests/second migrating from a single-region primary to a three-region topology, and assume writes are 10% of that, so 50 writes/second and 450 reads/second. Spending those numbers rather than only naming percentages is what turns the plan into a schedule.
- Wave 1, days 1-2: internal synthetic traffic only, no real users.
- Wave 2, days 3-5: 5% of read traffic, which is about 22 requests/second on the new path. Over a 48-hour soak that is roughly 3.9 million requests, so a gate of "error rate within 0.1 percentage points of baseline" is measured against a band about 3,900 errors wide and is comfortably resolvable. Second gate: p95 replication lag (the lag value the worst 5% of measurements exceed) under 5 seconds.
- Wave 3, week 2: 50% of read traffic, about 225 requests/second.
- Wave 4: 10% of write traffic, which is about 5 requests/second, and this is the wave where the gate has to be written differently. In a 5-minute window that path carries about 1,500 requests. If the baseline write error rate is 0.1%, the window is expected to contain 1.5 errors, so a "more than twice the baseline sustained for 5 minutes" rule fires on 3 or more errors, and ordinary Poisson variation alone produces that in roughly 19% of windows, which is a spurious rollback about every 26 minutes of a healthy wave. At a 0.01% baseline it is worse in relative terms: 0.15 expected errors, any single error trips the rule, and noise fires it in about 14% of windows. So for wave 4 the trigger becomes: at least 9,000 requests observed in the window (a 30-minute window at this rate), and the observed error rate more than twice baseline over that window, with an immediate-halt override on any single hard-failure class such as a replication error or a write rejected by the new primary, where one occurrence is already a verdict and volume is irrelevant.
- Wave 5, week 3: full cutover.
A full rollback rehearsal happens once, before wave 1 begins. The general rule the wave-4 arithmetic illustrates is that as traffic share goes down, the evaluation window has to go up to hold statistical power constant, and rare-but-unambiguous failure classes should be watched by count rather than by rate so that low volume does not blind the gate to the failures that matter most.
Trade-offs and pitfalls
Compressing waves to hit a deadline erodes the entire safety rationale the plan was built on. Treating the runbook as a formality that gets written but never rehearsed means it is most likely to fail exactly when it is needed. Setting a percentage threshold without checking the request volume it will be evaluated on produces a trigger that fires on noise, and the real damage is not the wasted rollback but that the team learns to override it. Forgetting to communicate the temporary error-budget policy leads someone to page for what looks like a regression but is actually expected migration noise. And skipping a real rehearsal for the operations team means their first live failover happens during the migration itself, which is the worst possible time for a first attempt.
Propose an architecture for a global write-heavy workload that balances low-latency writes and durability: consider regional primaries with asynchronous cross-region replication plus selective write-forwarding and conflict avoidance via sharding. Provide failure modes, mitigations, and SRE operational cost estimates (bandwidth, runbook complexity, on-call load).
Sample Answer
Direct answer
For a global write-heavy workload, give each region its own primary that owns a disjoint slice of the keyspace (sharding by geography or by a hash), so most writes land locally and fast, and forward the rare write for a key another region owns rather than accepting it locally. Because ownership is exclusive, true concurrent write-write conflicts on the same key shouldn't occur under correct routing, avoiding the constant merge overhead a true multi-master design would carry, at the cost of needing a reliable ownership map and a forwarding path.
Structured elaboration
- Regional primaries with asynchronous cross-region replication: each region's primary replicates its shard asynchronously to the other regions, purely so those regions can serve fast local reads of data they don't own; it is not a write path.
- Selective write-forwarding: when a client in region B needs to write a key owned by region A, region B's application layer forwards that specific write to region A's primary rather than writing locally, using an authoritative ownership map (not a guess) to decide where to send it.
- Conflict avoidance via sharding: because a key has exactly one owning region at any time, the system avoids needing vector clocks, last-write-wins, or merge logic for the common case; the hard part shifts to keeping the ownership map correct and consistent everywhere.
Failure modes and mitigations
- A stale or buggy ownership map causes a write to land in the wrong region's local store. Mitigate by having every primary reject (not silently accept) any write for a key it doesn't authoritatively own, and alert loudly, since an accepted misrouted write is a correctness bug, not a normal event.
- The forward path fails because the owning region is unreachable when a non-owning region tries to forward a write. Mitigate with a bounded retry and a circuit breaker (a mechanism that stops sending an operation to a target it has detected is failing, so callers fail fast instead of piling up retries against something already down; for example, retry for up to 5 seconds, then surface an explicit "try again shortly" response to the caller rather than queueing indefinitely or silently dropping the write).
- Replication lag causes a stale read in a non-owning region right after a write. Mitigate with read-your-writes stickiness: route the writing user's subsequent reads to the owning region, or attach a freshness token, for a short window after their own write.
- Resharding (moving a range of keys from one region's ownership to another's) creates a window where both the old and new owner could believe they own a key. Mitigate with a two-phase handoff: briefly freeze writes on the range being moved, finish replicating it, then flip a versioned ownership pointer atomically, rather than changing ownership gradually while writes keep flowing.
Worked example
Bandwidth: at an aggregate 20,000 writes per second across all regions, each write (roughly 1 KB) replicated asynchronously to 2 peer regions for local read access:
20,000×1KB×2=40,000KB/s=40MB/s 40MB/s×86,400s/day≈3,456,000MB/day≈3.5TB/dayThat 3.5 TB/day is already the cross-region replication volume of the whole topology, not of one region (staying with one consistent, decimal MB-to-TB conversion throughout, 1,000 MB = 1 GB and 1,000 GB = 1 TB, so 3,456,000 MB is 3.456 TB, rounded to 3.5 TB/day). Check the units before multiplying it by anything: the 20,000 writes per second was defined as the aggregate rate across all regions, and the factor of 2 already charged every one of those writes for crossing to both of its peers, so multiplying again by the region count would count the same bytes three times. If writes split evenly, each region's own outbound share is about a third of the total, roughly 1.2 TB/day of egress apiece. The figure only reaches the 10 TB/day range under a different and much larger workload, one where 20,000 writes per second is the rate of each region rather than the aggregate (3 x 20,000 x 1 KB x 2 peers is 120 MB/s, about 10.4 TB/day), so say which of the two you mean before quoting a bandwidth bill to anyone. That is a real, ongoing cross-region data-transfer cost line that should be sized and budgeted, not discovered after the fact, and it argues for batching or compressing the replication stream rather than shipping each write as an individually tiny message.
SRE operational cost estimates
Runbook (the written, step-by-step procedure an on-call engineer follows to handle a specific situation) complexity grows by at least three genuinely new entries beyond a single-writer design: handling ownership-map changes safely, handling forward-path circuit-breaker states, and handling a resharding event without a split-brain window. On-call load concentrates specifically around two events: scheduled resharding operations (which should always be planned, not ad hoc under load) and any partial regional outage that breaks the forward path, since that turns what should be a purely local write for the affected users into a cross-region dependency exactly when the network is already unreliable.
Trade-offs and pitfalls
The core weakness of pure geo-sharding is that it can't relieve a hot spot by spreading writes to another region the way true multi-master could, since a key only has one legitimate owner; a region hit by a genuine spike (a viral event concentrated in one geography) can't be helped by routing its writes elsewhere without a slow resharding operation. A common wrong turn is treating the asynchronous replica in a non-owning region as good enough for a user who needs to see their own just-made write immediately; that specific case needs the sticky read-your-writes handling above, not a blanket assumption that "eventually consistent" is fine everywhere.
Unlock Full Question Bank
Get access to all Multi-Region and Geo-Distributed Systems interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.