System Design Patterns: From Fundamentals to Real Systems
Vote

0% completed

​

Retry with Exponential Backoff

When a call fails, should the caller try it again? The answer depends on why the call failed. The store's own incident shows when a second try helps and when it does harm.

From 14:02 to 14:07, one of the payment provider's 20 servers accepted connections and never answered. Since the Timeout lesson, checkout gives up on a charge after 1,200 ms, which protects its threads. However, 3,000 buyers saw an error page. For almost all of them, a second try would have reached a healthy server and succeeded in 150 ms.

Trying again is worth a lot

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content