Glossary termConcept

Fault Tolerance

Ability of a system to continue operating correctly, possibly at reduced capacity, when some of its components fail.

Fault tolerance is the property that allows a system to keep working despite failures in its parts. A fault, such as a failed disk, a crashed process or a corrupted message, need not become a failure of the whole service if the design anticipates it. Fault-tolerant systems detect faults, contain their effects and continue providing correct results, sometimes with reduced performance, a behavior known as graceful degradation. The concept applies at every level, from individual memory chips to globally distributed applications.

Redundancy is the core technique. Hardware may be duplicated or triplicated, with voting logic that masks a single faulty unit, an approach long used in aircraft and spacecraft. Error-correcting code memory fixes flipped bits, and RAID arrays survive the loss of a disk. In software, data is replicated across machines, and consensus algorithms such as Paxos and Raft let a cluster agree on state even when some members crash. Byzantine fault tolerance goes further, tolerating components that behave arbitrarily or maliciously. John von Neumann explored building reliable machines from unreliable parts in work published in 1956.

Fault tolerance is usually a stricter goal than high availability: the aim is continuous correct operation rather than quick recovery. That makes it expensive, so it is reserved for components where interruption is unacceptable, such as flight controls, payment systems or storage. Large internet services increasingly assume that faults are routine and test their tolerance deliberately; chaos engineering, popularized by Netflix, injects failures into production to confirm that systems cope. Fault tolerance does not protect against everything, since a software bug replicated to every redundant copy fails everywhere at once.

Key points

  • A fault is a defect in one component; fault tolerance stops it from becoming a system-wide failure.
  • Redundancy, error correction, replication and consensus algorithms are the main techniques.
  • Graceful degradation lets a system keep providing service at reduced capacity.
  • Redundant copies of the same software can share the same bug, which limits what redundancy can achieve.

Related entries

Glossary term

Design goal and set of techniques for keeping a system operational and accessible for an agreed, very high proportion of time.

Glossary term

Ability of a distributed system to keep reaching correct agreement even when some of its components fail arbitrarily or act maliciously.

Glossary term

RAID

HardwareDevOps

Technique that combines multiple disk drives into one logical unit to improve performance, provide redundancy against drive failure or both.

Glossary term

Policies, tools and procedures for restoring critical technology systems and data after a major disruption such as a disaster, outage or cyberattack.

Glossary term

Increasing a system's capacity by adding more machines or instances that share the work, rather than making a single machine more powerful.

Person

John von Neumann

HardwareProgramming

Hungarian-American mathematician who shaped quantum theory, game theory and computing, describing the stored-program design used by most computers.

Glossary term

Discipline that applies software engineering to IT operations, using automation and measurable reliability targets to run large-scale systems.

Referenced by

Other entries that discuss or point to Fault Tolerance.