The Retry pattern enables the system to retry an operation that failed if the failure was likely caused by a transient failure.
The Retry pattern should only be implemented for operations that are likely to succeed when re-attempted and we should always check if the tools and frameworks used by the service already implement this pattern. When implementing the pattern, it is important to consider the following two variables:
- Retry interval: This is the period of time the system waits for before re-attempting the failed operation. Retry intervals can be immediate, regular, incremental, or exponential, depending on the length of time the system waits before each subsequent call.
- Retry count: This is the number of times the ...