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

The Durable Functions execution state

In the previous sections, you learned about Durable Functions and the types of functions you can use when you create a solution using this technology.

In this section, you will see how Durable Functions manage the state and can orchestrate the activity functions (the execution state).

When you talk about the execution state, you keep in mind three pillars:

  • Event sourcing
  • Checkpoint
  • Replay

The orchestrator functions manage their state using the event sourcing design pattern.

This pattern is based on registering all the events a single Durable Function receives. In this way, every moment a single instance of a Durable Function can rebuild its actual state simply replays the whole set of events received.

Every time a Durable Function calls an activity or an activity completes its work, the Durable Task Framework (transparently) saves the event...