QamoosTech
Architecture & DesignReliabilityIntermediate

Exponential Backoff

Pronunciationek-spuh-NEN-shul BAK-awf

Definition

A retry strategy where the wait between attempts grows exponentially, for example 1, 2, 4, and 8 seconds, so a struggling service gets time to recover.

Where you hear it

In API client libraries, message queue consumers, and cloud SDK retry settings.

Examples

  • The client waits 1, 2, then 4 seconds before it retries the payment.
  • Add exponential backoff so all clients do not retry at the same moment.
  • The retry waits 2 seconds, then 4, then 8, and gives up after five tries.

Common mistake

Retrying immediately and often, which makes an overloaded service even more overloaded.

Don't confuse with

Exponential backoff sets how long to wait between retries. Retry logic decides whether and how many times to retry.