01Chapter 1: What active-active means and how it differs from active-passiveThis chapter assumes you know basic cloud networking and DNS, how stateless web services sit behind load balancers, and the basics of relational or NoSQL databases. It also assumes you treat availability and latency as service goals. Later chapters cover routing, replication and conflicts in detail.2 min read
02Chapter 2: Setting goals: availability, latency, RTO and RPOThis chapter assumes you know basic cloud networking and DNS, can run stateless web services behind a load balancer, and have used a relational or NoSQL database. You should also be comfortable treating availability and latency as service goals. Before you pick a design, you need numbers that justif3 min read
03Chapter 3: Consistency trade-offs: CAP, PACELC and consistency modelsThis chapter assumes you know basic cloud networking, how stateless services sit behind load balancers, and how a database stores and reads data. It explains why an active-active design forces you to choose how consistent your data is across regions.3 min read
04Chapter 4: Routing users to regions: DNS, anycast and global load balancingThis chapter assumes you know basic DNS (records, TTLs, resolvers), what a load balancer does, and why a service might run in more than one region. It covers how a user's request reaches a region. Health-based failover has its own chapter.3 min read
05Chapter 5: Health checks and automatic failoverThis chapter assumes you know basic DNS, load balancers, and the routing options from the previous chapter. It covers how a multi-region system decides a region is unhealthy and moves traffic away from it.3 min read
07Chapter 7: Replicating data across regionsThis chapter assumes you know basic DNS and load balancing, and that you have worked with relational or NoSQL databases. It covers how data moves between regions and what each choice costs you.3 min read
08Chapter 8: Avoiding conflicts with write ownership and partitioningThis chapter assumes you know basic cloud networking and DNS, stateless web services behind load balancers, and relational or NoSQL databases. It also assumes you have read the chapter on replicating data across regions.2 min read
09Chapter 9: Resolving conflicts: last-writer-wins, version tracking and CRDTsThis chapter assumes you know how asynchronous cross-region replication works and why two regions can accept writes to the same record at the same time. If you can't avoid conflicts by assigning write ownership, you need a rule for resolving them. Three common approaches are last-writer-wins, versio3 min read
10Chapter 10: Replicating events and messages between regionsThis chapter assumes you know message queues and publish/subscribe, and that you have read the chapters on data replication and write ownership. Here you will learn how events cross region boundaries and what guarantees you can rely on.3 min read
11Chapter 11: Idempotency and safe retriesThis chapter assumes you know basic DNS and load balancing, how stateless services work, and the cross-region replication and messaging ideas from the earlier chapters. Here you will see why retries are unavoidable in an active-active system and how to make them safe.3 min read
13Chapter 13: Capacity planning and surviving the loss of a regionThis chapter assumes you know how global routing and health-based failover work, and that you understand availability and latency as service goals. Active-active only protects you if the surviving regions can carry the load of a failed one. Capacity planning is how you make sure they can.3 min read
14Chapter 14: Observability, replication lag and failure testingThis chapter assumes you know basic cloud monitoring, the replication ideas from earlier chapters, and how health checks drive failover. An active-active design only works if you can see its state and have practiced its failures. Here you will learn what to measure, how to treat replication lag, and2 min read
16Chapter 16: Cost, complexity and when not to use active-activeThis chapter assumes you know the earlier material: how active-active differs from active-passive, RTO and RPO targets, capacity headroom, and replication trade-offs. Here you decide whether the design is worth what it costs.2 min read