How do you calculate availability for a multi-region active-active setup?
AdvancedConceptAvailability Math
Answer
With two regions each at 99.9% and global load balancing that fails over automatically:
regions in parallel: 1 - 0.001^2 = 99.9999%
times global LB/DNS availability (say 99.99%): ≈ 99.99%
The global routing layer and any shared global dependency (a single-region database primary, a global config service, the CI/CD system that pushes bad config everywhere) end up dominating. Also each region needs capacity for 100% of traffic during failover, which doubles the cost.
More on Availability Math
How much downtime per month does each "nine" allow?BeginnerHow do you calculate composite availability of services in series?BeginnerHow do you calculate availability of redundant components in parallel?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?Intermediate