N+1 redundancy

term

networkingcloudops culture

Kept in this browser · My desk

A count of units against need: N units carry the load and each +1 is a spare that can be lost without losing capacity; 2N is a complete second set, N+M shares M spares among N working units.

Google's SRE book sizes a service at 3,470 queries per second, 100 per task, as 35 tasks, and deploys 37, N+2: one spare covers a task down for an update, the second a machine failure during the update. The IETF's names for paths are 1+1 protection (a full duplicate), 1:N and M:N (shared spares). In reliability terms an N+M group is an N-out-of-(N+M) system.

Worked example. The SRE book's production chapter splits the 3,470 queries per second by region and keeps N+2 in each, 17 tasks in the United States, 16 in Europe and 6 in Asia, while running South America at N+1 to lower the overhead and accepting the risk of higher latency. Protection types. RFC 4427 defines 1+1 protection, with traffic permanently bridged onto a working and a protection path, 1:N protection, with N working paths and one protection path that may carry extra traffic, and M:N protection, with N working and M protection paths. Arithmetic. A group that needs N of its N+M members is a k-out-of-n system, whose availability is the binomial sum in NIST's r out of n model: four switches at 99.9% that are all needed give about 99.6%, while three needed out of four give about 99.9994%. Counting losses. Power-system operators count from the other side as N-1; the report of Brazil's ONS on the blackout of 15 August 2023 records lines that could not be re-energized until the N-1 condition was met at a substation.

Also known as: n+1, n+2, 2n, 2n+1, n+m, 1+1 protection, 1:n protection, m:n protection, redundância n+1

← Back to N Back to the glossary