Skip to content
Ameen Abozaid
SRB-004

Multi-region systems

  • 8 Lessons
  • 4 h practice (estimate)
On this page 9 topics

Overview

Topics

  • Active-active vs active-passive
  • routing
  • data residency

Learn first

4 h of practice (estimate)

Learning outcomes

  1. Compare active-passive and active-active designs by cost, complexity, RPO/RTO, and consistency.
  2. Design traffic routing and failover (DNS, global load balancers, health-based routing).
  3. Handle data residency requirements per region.
  4. Decide which parts of a system need to be multi-region and which do not.

Lessons

  1. 01Why go multi-region
  2. 02Active-passive
  3. 03Active-active and conflict handling
  4. 04Global traffic routing
  5. 05Data residency
  6. 06Selective multi-region
  7. 07Demo: regional failover of the order path, step by step
  8. 08Demo: the hidden single-region dependency that breaks failover

Lab and exercises

Lab

SRB-004-LAB1 · EU expansion

Outcomes: 1, 2, 3, 4 · Time: ~4 h

  1. Collect requirements: EU warehouses, EU data residency, RPO/RTO, latency.
  2. Tier components and pick active-passive or active-active per tier.
  3. Design the regional topology, routing, and data flows for Shop and FulfillCo.
  4. Estimate cost delta and write the topology review notes.

Acceptance: residency enforced by design (no restricted data flows out); cost delta estimated.

Exercises

IDOutcomeTask
SRB-004-EX011A product owner wants multi-region for prestige. Write the questions you ask.
SRB-004-EX021Compare active-passive and active-active for checkout by cost, RPO, RTO, consistency.
SRB-004-EX032Design routing and health checks for the order API across two regions.
SRB-004-EX043List data flows that could violate EU residency in the FulfillCo design.
SRB-004-EX054Tier ten components into must/should/need not be multi-region.
SRB-004-EX064Find hidden single-region dependencies in a topology diagram and fix them.
Show solutions
  • EX01 Which failure or law or latency problem? What RPO/RTO? Budget? Which components?
  • EX02 Active-passive: cheaper, RPO > 0, RTO minutes; active-active: costlier, near-zero RTO, conflict handling needed.
  • EX03 Global load balancer with health checks hitting a deep health endpoint (database and broker reachable), thresholds to avoid flapping, manual override.
  • EX04 Logs, backups, analytics, support tooling, cross-region replication, CI test data.
  • EX05 Checkout and stock reservation tier 1; tracking page tier 2; internal reports tier 3; justify each.
  • EX06 Identity, secrets, CI/CD, DNS, container registry; replicate or provide a degraded path.

Workplace evidence: a multi-region or residency design you contributed to.

Quiz

Outcomes: O1 comparison · O2 routing and failover · O3 residency · O4 selective multi-region.

A self-check for you: nothing is graded, saved or sent anywhere. Choose an answer, then check it. You can try again as often as you like.

  1. 1RPO measures:O1
  2. 2RTO measures:O1
  3. 3Active-passive typically has:O1
  4. 4Active-active's main added concern is:O2
  5. 5DNS failover is limited by:O2
  6. 6A health check should:O2
  7. 7Residency violations often arise from:O3
  8. 8Residency is best enforced:O3
  9. 9Selective multi-region means:O4
  10. 10A common hidden dependency is:O4

Practical part

Topology review: defend your EU design to reviewers. Pass: 70% on the quiz and a topology with enforced residency, tiering, and a cost estimate.

Common mistakes

Active-active by default; forgetting regional dependencies (identity, secrets, CI).

Assessment

Topology review.

Workplace evidence

A multi-region or residency design you contributed to.

Career relevance

HA and DR architecture (ARC-019) and compliance (ARC-029).

Type to search levels, phases, modules and lessons.