13 / 18 · Module 16 — Production Engineering and Observability · filtered: cheatsheet← prev⊞ allnext →
16.14Retry + timeout can explode latency
Suppose:
timeout = 5 seconds
retries = 3
Worst case can become roughly:
5 sec
+ wait
+ 5 sec
+ wait
+ 5 sec
possibly exceeding:
15+ seconds
Don't configure timeout and retry independently.
Always calculate:
worst-case latency