High availability

High availability is the design of a system so that it keeps working when one of its parts fails.

High availability means a system stays usable despite failures of single machines, disks, racks or networks. It is usually stated as a share of time the system works, such as 99.9 percent. Each extra nine allows much less downtime, from hours a year to minutes. Reaching it means finding every part whose failure stops the whole system, and removing it.

The main method is redundancy: running more than one copy of each critical part. Copies sit in different racks, buildings or regions, so one event does not take them all down. Health checks detect a failed copy, and traffic moves to the others, which is called failover. Data has to be copied as well, or a failover loses whatever the failed copy held.

In a sandbox platform, the control plane and the routing layer are built to survive the loss of single machines. A single sandbox is different, because it runs on one host and its memory lives there. If that host fails, the sandbox stops, and its saved disk or latest snapshot is what remains. Workloads that must not stop keep their state outside the sandbox or can restart from a snapshot.