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.

All SRE & Reliability questions

More on Availability Math