How does retrying affect composite availability?
AdvancedConceptAvailability Math
Answer
If failures are independent and transient, one retry turns a dependency at availability a into roughly 1 - (1 - a)^2 for that call: 99% becomes 99.99%. But this only holds for transient, uncorrelated failures. When the dependency is overloaded or down, retries do not help and multiply load (a 3-layer stack each retrying 3 times sends 27x traffic to the bottom). So retries improve availability for blips and harm it during real outages unless you add backoff, jitter and retry budgets.
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