k-out-of-n system

term

ops culturecloud

Kept in this browser · My desk

A system that works while at least k of its n components work; it includes the series system (k = n) and the parallel system (k = 1) as special cases.

NIST's handbook gives its reliability for identical, independent components as a binomial sum. Majority quorums are k-out-of-n: Raft's authors note that a typical five-server cluster stays available while any three can communicate, tolerating any two failures. Computed for members at 99.9%: three needed of four gives about 99.9994%, two of three about 99.9997%, three of five about 99.999999%.

Formula. For n identical components of availability A, the probability that at least k work is the sum, for i from k to n, of C(n, i) times A to the power i times (1 - A) to the power n - i (NIST e-Handbook, 8.1.8.4, which writes r for k). Uses. Spine layers, power supplies and fans sized N+M are N-out-of-(N+M) systems. Consensus systems need a majority of 2f + 1 members to tolerate f failures: Ongaro and Ousterhout describe Raft as fully functional while any majority of servers is operational and can communicate with each other and with clients. Limits. The model assumes independent components, the same assumption as the series and parallel models, so a common cause that reaches several members at once, such as a shared switch or a software version, breaks it the way it breaks every redundancy formula.

Also known as: k-of-n, r-out-of-n, m-out-of-n, k-de-n

← Back to K Back to the glossary