API Retries and Exponential Back-offs
Author:
Fluent Commerce
Changed on:
5 July 2024
Overview
Exponential backoff is a standard error handling policy for network communications such as the Fluent APIs.
Exponential backoff involves a client periodically retrying a failed request over an increasing amount of time.
Key points
- Retries & Exponential Back-offs
For operations that create or update data, a check is recommended before retrying the API call to avoid unnecessary duplication.
This is the recommended approach when dealing with server-side or network-related errors.