ProLesson 11.3Intermediate3 min readUpdated 31 October 2026
Retries, Backoff & Bulkhead Isolation
Prevent retry storms using exponential backoff with decorrelated jitter, and implement physical thread isolation with Resilience4j Bulkheads.
When a network request fails, the intuitive reaction of many developers is simple: try again immediately.
In distributed systems, naive retries are one of the most common causes of self-inflicted denial-of-service (DDoS) disasters.
01The Danger of Immediate Retries: Retry Storms
Imagine 1,000 active users attempting to check out during a product launch. The payment database experiences a temporary 1-second disk flush:
- All 1,000 requests encounter a connection timeout.
- Each client is configured with:
retry: 3 immediate attempts. - At second 2, all 1,000 clients simultaneously fire 3,000 retry requests directly into the already struggling database.
- The database, which would have recovered in 1 second, is completely obliterated by a 300% traffic wave. It crashes permanently.
Loading the rest of the lesson…