CS FundamentalsVery hardProduct company interview · GATE level

A service runs on 3 identical servers, each 95% available and failing independently; it works when at least 2 of the 3 are up (a majority quorum). Traffic reaches them through a single load balancer that is 99.9% available. What is the overall availability?

  1. A. About 85.65%
  2. B. About 99.89%
  3. C. About 99.18%
  4. D. About 99.28%

Correct answer: C. About 99.18%

P(at least 2 of 3 up) = 3 x 0.95^2 x 0.05 + 0.95^3 = 0.135375 + 0.857375 = 0.99275. In series with the load balancer: 0.99275 x 0.999 = 0.99176, about 99.18%. 99.89% treats the tier as working if any one server is up (1 - 0.05^3) and then multiplies; 85.65% needs all three servers; 99.28% forgets the load balancer, the single point of failure.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic