01Chapter 1: Availability and what the nines meanAvailability is the share of time a service is able to do its job. This chapter defines it, shows what each "nine" costs in downtime, and gives you the series and parallel formulas that the rest of the tutorial builds on.7 min read
02Chapter 2: How systems fail and where single points of failure hideThis chapter assumes you know basic client-server architecture, what a load balancer and DNS do at a high level, and what timeouts and health checks are. It builds on the previous chapter's availability math and prepares the ground for redundancy. Before you can remove a weak point, you need to know6 min read
03Chapter 3: Redundancy: spare capacity that removes single points of failureThis chapter assumes you know basic client-server architecture, what a load balancer does, and how timeouts and health checks work at a high level. It builds on the previous chapter's idea of a single point of failure (SPOF): a component whose failure takes down the whole service.6 min read
04Chapter 4: Fault domains: making sure copies do not fail togetherThis chapter assumes you know what redundancy is (spare copies of a component) and how availability is calculated for components in series and in parallel. It also assumes basic familiarity with hosts, racks, networks, and cloud regions. By the end you should be able to name the fault domains a serv6 min read
05Chapter 5: Active-active, active-passive, and N+1 designsThis chapter assumes you know how availability is calculated for components in series and in parallel. It also assumes you know what a single point of failure is, and you should be comfortable with load balancers and health checks at a high level. Here you will compare the three common ways to arran7 min read
06Chapter 6: Detecting failure with health checks and heartbeatsFailover starts with detection. A system cannot switch away from a failed component until something decides that the component has failed. This chapter assumes you know what a load balancer is, how timeouts work, and the basic ideas of redundancy and single points of failure from earlier chapters. I7 min read
07Chapter 7: The failover sequence: detect, decide, switch, verifyFailover moves work from a failed component to a healthy one. This chapter breaks it into four phases and shows where time is spent and where each phase tends to go wrong. It assumes you know what health checks, load balancers, and DNS TTLs are, and that you have seen the difference between active-a7 min read
08Chapter 8: Failing over traffic with load balancers and DNSThis chapter assumes you know what a load balancer and a DNS record are, and that you understand health checks and timeouts at a basic level. It builds on the failover sequence (detect, decide, switch, verify). Here we look at the "switch" step for network traffic. There are two main ways to do it: 6 min read
09Chapter 9: Client-side timeouts, retries, and endpoint listsServer-side failover takes time. A load balancer needs several failed health checks before it removes a node, and a DNS change needs time to spread. During that window, clients still send requests to a dead component. A well-built client hides much of this gap. It gives up on a slow request, tries a6 min read
10Chapter 10: Replicating state: synchronous versus asynchronousRedundant servers are easy to add when they hold no data. Once they hold state, such as database rows, queue messages, or files, every copy has to be kept up to date. This chapter covers how replication works, what each mode costs, and how the mode you pick sets how much data a failover can lose.6 min read
11Chapter 11: Setting recovery time and recovery point objectivesThis chapter assumes you know what availability percentages mean, how active-active and active-passive designs differ, and how synchronous and asynchronous replication work. It covers how to turn a business need into two numbers, the recovery time objective and the recovery point objective, and how 7 min read
12Chapter 12: Quorum and leader electionThis chapter assumes you know how synchronous and asynchronous replication work, what a heartbeat and a health check are, and that nodes talk over a network that can delay or drop messages. Earlier chapters covered how replicas copy data. This chapter covers how a group of replicas agrees on who is 8 min read
13Chapter 13: Split brain and fencingThis chapter assumes you know what a heartbeat and a health check are, how a primary and a standby pair works, and what synchronous and asynchronous replication mean. It also builds on the previous chapter's quorum and leader election. Here you will see how a cluster ends up with two leaders, what d7 min read
14Chapter 14: Failback and restoring redundancyFailover moves work off a failed component. The system is not safe yet. It is running on fewer copies than it was designed for, and one more fault may cause an outage. Failback is the work that follows: repairing or replacing the failed component, bringing it back in sync, and restoring the original8 min read
15Chapter 15: Testing failover: drills, game days, and fault injectionThis chapter assumes you know how failover works: health checks, replication, RTO and RPO, quorum, fencing, and failback. It covers how to prove that your design works before a real outage does it for you.6 min read