backoff

Waiting longer and longer between successive retries, often doubling the delay each time, so a struggling service has room to recover.

In more detail

Backoff does not guarantee success; it stops one failure turning into a storm. Combine it with jitter, a maximum number of attempts, and any Retry-After the server sends.

Examples

The kubelet doubles the delay between container restarts up to five minutes; that is the BackOff in CrashLoopBackOff.
A Kubernetes Job retries failed pods with backoff until backoffLimit.
delay = min(maxMs, baseMs * 2 ** attempt)

Related terms

Taught in

References

Certification courses