How do you calculate composite availability of services in series?
BeginnerConceptAvailability Math
Answer
If a request needs every component to work (hard dependencies in series), multiply the availabilities:
LB 99.99% x API 99.9% x DB 99.95%
= 0.9999 x 0.999 x 0.9995 = 0.9984 -> 99.84%
The composite is always lower than the weakest component. That is why a long chain of synchronous microservice calls is a reliability problem in itself.
More on Availability Math
How much downtime per month does each "nine" allow?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?IntermediateWhat are MTBF and MTTR, and how do they relate to availability?Intermediate