The Retry pattern

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 ...

Get Serverless computing in Azure with .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.