Retry pattern with transient failures

A transient failure is a common type of failure in a cloud-based architecture and often this is due to the nature of the network itself (loss of connectivity, timeout on requests, and so on).

A common way to react to these failures is to retry sending the request to the target application. You need to implement mechanisms that permit an automatic retry of requests if a failure occurs, maybe adding an increased delay between each retry attempt. This is commonly known as the Retry pattern.

In the Retry pattern, when there's a failure sending a request to a cloud service, the source application can react to this failure by providing the following actions:

  • Retry: The source application can immediately retry ...

Get Implementing Azure Cloud Design Patterns 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.