How do you calculate availability of redundant components in parallel?
BeginnerConceptAvailability Math
Answer
If the system works when at least one of n independent replicas works:
A = 1 - (1 - a)^n
two replicas at 99%: 1 - 0.01^2 = 99.99%
three replicas at 99%: 1 - 0.01^3 = 99.9999%
This assumes truly independent failures and instant, reliable failover. In practice the failover mechanism, shared dependencies and correlated failures (same bad deploy, same AZ) set the real limit.
More on Availability Math
How much downtime per month does each "nine" allow?BeginnerHow do you calculate composite availability of services in series?BeginnerWhy do the parallel-availability numbers lie in practice?AdvancedYour service depends on five services each at 99.9%. What availability can you promise?IntermediateWhat is the difference between a hard and a soft dependency?IntermediateWhat are MTBF and MTTR, and how do they relate to availability?Intermediate