Skip to Content
Serverless computing in Azure with .NET
book

Serverless computing in Azure with .NET

by Sasha Rosenbaum
August 2017
Intermediate to advanced
468 pages
12h 5m
English
Packt Publishing
Content preview from Serverless computing in Azure with .NET

The Retry pattern in Azure Functions

In the serverless compute part of our application, there are following three areas where a transient fault can be experienced:

  • Input triggers
  • Calls to external services
  • Writes to data stores

Let us discuss each in more detail.

The Retry logic for input triggers

Azure Functions (or, more precisely, the underlying WebJobs SDK) implement the Retry/Circuit Breaker patterns for triggers that may experience transient faults.

For a Blob-trigger processing failure, a retry policy is implemented by the WebJobs SDK. Upon a new Blob upload, a message is added to a queue and dequeued by the Blob-trigger function. If a Blob-trigger function fails, the message is returned to the queue, and the processing is retried. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni
Implementing Azure: Putting Modern DevOps to Use

Implementing Azure: Putting Modern DevOps to Use

Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali

Publisher Resources

ISBN: 9781787288393Supplemental Content