Book Image

Mastering Azure Serverless Computing

By : Lorenzo Barbieri, Massimo Bonanni
Book Image

Mastering Azure Serverless Computing

By: Lorenzo Barbieri, Massimo Bonanni

Overview of this book

Application development has evolved from traditional monolithic app development to using serverless options and microservices. This book is designed to guide you through using Microsoft's Azure Functions to process data, integrate systems, and build simple APIs and microservices. You will discover how to apply serverless computing to speed up deployment and reduce downtime. You'll also explore Azure Functions, including its core functionalities and essential tools, along with understanding how to debug and even customize Azure Functions. In addition to this, the book will take you through how you can effectively implement DevOps and automation in your working environment. Toward the concluding chapters, you'll cover some quick tips, troubleshooting techniques, and real-world serverless use cases that will help you make the most of serverless computing. By the end of this book, you will have gained the skills you need to develop and deliver cost-effective Azure serverless solutions.
Table of Contents (19 chapters)
Free Chapter
1
Section 1: Azure Functions 2.0 Fundamentals
5
Section 2: Azure Functions 2.0 Deployment and Automation
10
Section 3: Serverless Orchestration, API Management, and Event Processing
15
Section 4: Real-World Serverless Use Cases

Orchestration as Code - Durable Functions

One of the limitations of Azure Functions is that they cannot call each other: you cannot call an Azure Function from inside another Azure Function. Every time you need to communicate between two different Azure Functions, you need to use an external service (for example, a storage queue or blob storage). In real-world scenarios, you need to orchestrate calls between Azure Functions, and one of the ways is to use Durable Functions.

In this chapter, we will look at Durable Functions and how you can use them to create complex orchestrations between Azure Functions.

The chapter will cover the following topics:

  • What are Durable Functions?
  • The kinds of problems they solve and the kinds of patterns they can implement
  • The types of function in the Durable Functions framework and how Durable Functions manage the state
  • How to manage Durable Functions...