You must implement a retry loop around an operation that sometimes returns 409 conflicts due to concurrent updates. Which policy is most correct for avoiding infinite retries while still achieving eventual success?

Answer

Use exponential backoff with jitter and cap total elapsed time; on persistent conflicts, re-fetch the latest state and re-apply only the necessary delta

Explanation

Capped exponential backoff avoids infinite loops, while re-fetching enables convergence under concurrent modification. Applying only deltas reduces the chance of conflicting writes.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list