Skip to content
tezvyn:
Menu

N+1 Redundancy: One Spare for the Whole System

Source: Wikipedia: N+1 redundancyMediumHow cards are made

N+1 redundancy is like having one spare tire for your whole car. You have N active components and one shared, passive backup. It's used in server racks or power supplies for high availability without doubling costs.

Why it exists

Systems need to stay online even when parts fail, but duplicating every single component (a model called N+N or 2N) can be prohibitively expensive. N+1 redundancy offers a cost-effective compromise between full redundancy and no redundancy, providing resilience without doubling the hardware budget.

The mental model

Think of a data center with 10 server racks that each require a power supply. Instead of buying 20 power supplies (10 active, 10 backups), you buy 11. Ten are in use (N=10), and one sits as a shared, standby spare (+1). If any of the 10 active units fail, the system automatically switches the load to the one spare.

How it works

A system requires N components to operate at full capacity. An additional identical component, the "+1", is included but remains passive or on standby. Monitoring systems detect the failure of one of the N active components. A controller then automatically fails over, switching the workload from the failed component to the standby one. This keeps the system operational, though it now runs with no remaining redundancy (N+0) until the failed unit is repaired or replaced.

When to use it

Use N+1 when you need high availability but are sensitive to cost, and the components are homogenous (the spare can replace any of the active units). It's ideal for infrastructure like power distribution units (PDUs) in a rack, data center cooling systems, and nodes in a compute cluster.

When not to use it

Avoid N+1 for systems where even a momentary degradation during failover is unacceptable, or where the risk of a second failure during the repair window is too high. Mission-critical systems that demand the highest possible uptime often require more expensive N+N (fully mirrored) or multi-region redundancy. It is also ineffective for heterogeneous components that are not interchangeable.

One canonical example

A server farm needs 5 power supplies to run (N=5). The design includes a 6th identical supply (the +1) connected to the same power bus. When one of the 5 active supplies fails, the 6th unit instantly takes over its load, preventing server downtime. The system sends an alert, and an operator can then replace the failed unit, restoring the N+1 redundancy.

Interview question

In which scenario would N+1 redundancy be the most appropriate choice for a system?

  • a.A system composed of diverse, non-interchangeable components.
  • b.A system designed to automatically provision new spare units upon detecting a failure.
  • c.A cost-sensitive infrastructure requiring high availability with homogenous components.Correct
  • d.A mission-critical system where any momentary service interruption is unacceptable.
Why?

The card states N+1 is ideal "when you need high availability but are sensitive to cost, and the components are homogenous." Option D describes a scenario where N+1 is explicitly advised against due to potential momentary degradation during failover.

Just read this? Test yourself on what you have been reading.

Read the original → en.wikipedia.org

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Open roles that interview on sre — each one lists the topics its interview covers.

See open roles