Skip to content
IT glossary
ArchitectureUpdated December 3, 2026

High availability

Высокая доступность

A highly available service keeps working for users almost all the time. When a component fails, the service keeps running or recovers quickly enough to limit the interruption.

Also known as: HA, отказоустойчивость

What makes a service highly available?

High availability (HA) is about whether people can actually use a service, not whether its servers are running. An online store can still load its homepage while checkout is unavailable. Define availability around the operation that matters, such as placing an order and getting a confirmation within a specified time.

A target needs both a measurement and a window. If you measure elapsed uptime, 99.9% availability over 30 days allows about 43 minutes of downtime. If you measure the fraction of requests that succeed within a latency threshold, 99.9% allows one bad request per thousand eligible requests over the window. Those budgets are not interchangeable: a minute during peak traffic may affect far more requests than a minute overnight.

Design for a specific failure

Start with what the service needs to survive: a crashed process, a lost machine, or an entire availability zone going offline. Spare instances only help if they don't share the failure you're planning for. Two containers on the same host, for example, can both disappear when that host goes down.

Redundancy also needs a way to use it. For application servers, a load balancer can stop sending traffic to instances that fail health checks. In an active-active setup, healthy instances already serve traffic and take on the extra load. In an active-passive setup, a standby takes over; failure detection and switchover add time. In either case, check that the surviving capacity can handle demand and that the traffic routing layer can survive the same failure.

Example: the web tier survives, but writes stop

Suppose an order API runs in two zones. One zone goes down, and the load balancer routes new requests to the other. That works for the web tier, but if the only writable database was in the failed zone, the API still can't accept orders. Restoring writes requires a suitable replica, a safe way to promote it without leaving two writable primaries, and a way for clients to connect to it.

Even a successful failover can leave users with timeouts or failed requests. Test the full order flow during a failover drill, not just whether the replica becomes primary. With asynchronous replication, also check for acknowledged writes missing from the new primary: fast recovery doesn't imply zero data loss.

Common confusion and interview focus

Availability is the outcome you measure; fault tolerance is the ability to keep operating through specified faults. Brief interruptions can fit an HA target, whereas a backup is there to restore data and doesn't serve live traffic. In a system design interview, state the availability target and failure scope first. Then trace a request through the system and explain what happens to it during detection, switchover, and recovery.