Redundancy

On this page 7

Redundancy is the deliberate duplication of critical components, such as power supplies, disks, network links, servers or entire sites, so that the failure of one component does not stop the service. In server reliability, redundancy is the structural precondition for high availability: without a spare path, no failover mechanism has anything to switch to.

Redundancy is usually described with the N+X notation, where N is the capacity the workload needs and X is the number of extra units. Its value depends on the spare being truly independent of the primary, because two components that share a power feed, a switch or a software bug can fail together.

How redundancy removes single points of failure

A single point of failure is any component whose loss stops the whole service. Redundancy removes it by adding a parallel component that can carry the load alone, together with a mechanism that detects the failure and shifts traffic or writes to the survivor.

The mechanism can be passive, such as a second power supply sharing the load, or active, such as a load balancer that removes an unhealthy node after failed health checks. In both cases the redundant design must be sized so that the remaining capacity still meets demand after a failure.

The table summarizes the common redundancy levels and what they tolerate.

LevelConfigurationFailures toleratedTypical use
NExactly the required capacityNoneTest systems, noncritical workloads
N+1One spare unitOne unitPower supplies, fans, web server pools
N+2Two spare unitsTwo units, or one during maintenanceCritical clusters and storage
2NA full duplicate systemLoss of an entire sideData center power and cooling paths
2N+1Full duplicate plus one spareLoss of a side plus one unitHighest-tier facilities
Redundancy levels in N+X notation

Redundancy at each layer of the server stack

Effective redundancy is applied layer by layer, because protecting one layer does not help if the layer below remains single. The table maps typical techniques to the layers of a hosted service.

LayerTechniqueWhat it protects against
PowerDual power supplies, A and B feeds, UPS, generatorPSU failure, feed outage
StorageRAID 1, RAID 6, RAID 10, erasure codingDisk failure
NetworkBonded NICs, dual switches, multiple uplinksCable, port or switch failure
ComputeSeveral application servers behind a load balancerServer crash or maintenance
DataDatabase replication, synchronous or asynchronousLoss of the primary database
SiteSecond data center or cloud regionFire, flood, regional outage
Redundancy techniques by layer

Each layer adds cost, so architects usually match the depth of redundancy to the business impact of downtime and to the targets set for RTO and RPO.

Redundancy is a property of the design, while neighboring reliability terms describe behavior or targets. Mixing them up leads to designs that look resilient on paper but cannot switch over in practice.

TermWhat it describesRelation to redundancy
RedundancySpare components or pathsThe foundation
FailoverThe act of switching to the spareRequires redundancy to exist
High availabilityA design goal, such as 99.99 percentAchieved through redundancy plus failover
UptimeMeasured time in serviceThe observed result of the design
BackupA point-in-time copy for recoveryNot a substitute; replication copies errors instantly
How redundancy relates to neighboring terms

The last row matters most in practice: replication is not a backup. A deleted table or a ransomware encryption is copied to every replica within seconds, so redundant systems still need independent, versioned backups.

Active-active and active-passive designs

Redundant components run either all at once or with a standby waiting. The choice affects cost, capacity planning and how fast a failure is absorbed.

ModeHow it worksAdvantageDrawback
Active-activeAll nodes serve trafficNo idle hardware, instant absorptionEach node must keep headroom for the others
Active-passive, hot standbyStandby runs and stays synchronizedFast failover in secondsStandby capacity sits idle
Active-passive, cold standbyStandby is started only when neededLowest running costRecovery takes minutes to hours
Choosing between redundancy modes

In an active-active pair, each node should run at no more than about 50 percent of its capacity, otherwise the survivor is overloaded when its partner fails.

Pitfalls that defeat redundancy

Redundancy fails most often because of hidden shared dependencies and untested switchover, not because of missing hardware.

  • Common-mode failures: both servers in one rack, on one power circuit or running the same faulty update.
  • Untested failover: a standby that has never taken production load often fails when it is needed.
  • Silent degradation: a failed RAID disk or a dead secondary link goes unnoticed without monitoring, leaving the system at N.
  • Split brain: two nodes both believe they are primary and accept conflicting writes, which quorum or fencing prevents.
  • Added complexity: every redundant layer adds configuration that can itself cause outages.

In everyday language

Redundancy means keeping a spare ready for anything whose failure would stop you. A car carries a spare tire, and an airplane has more than one engine. Servers work the same way: two power supplies, two disks holding the same data, two machines answering visitors.

The spare only helps if it does not break for the same reason as the original. A spare tire with a puncture is not a spare, and two servers plugged into the same power strip are not truly redundant.

Seen in the real world

A regional e-commerce company hosts its shop on a single server. After a motherboard failure causes six hours of downtime during a weekend, the team redesigns the setup. Two application servers now run behind a load balancer pair, each sized to carry the full load alone. The database runs as a primary with a synchronous replica, and every server has dual power supplies connected to separate A and B feeds.

Three months later a power distribution unit fails in the rack. Every server keeps running on its second feed and no customer notices. In a planned quarterly test, the team stops the primary database, and the replica takes over in under 30 seconds. The redesign turns a single point of failure into a service that survives any one component failing.