Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Dealing with complex workflows in serverless applications @ Cloud Architectures Meetup

Marc Duiker
February 06, 2020

Dealing with complex workflows in serverless applications @ Cloud Architectures Meetup

These are the slides of the talk I gave at the ServerlessDays meetup in Amsterdam on Feb 6th and at the Cloud Architectures Meetup on Mar 12th.

Running one or two serverless functions is easy. But what if you're rebuilding a complex workflow based on serverless that requires dozens of functions. How do you design and manage that?

In this session, I'll cover building complex long-running workflows using Azure Durable Functions, an extension to Azure Functions that lets your define workflows in code (C# or JavaScript). Durable Functions allow you to:
- Easily chain functions together,
- Perform fan-out/fan-in scenarios,
- Wait for external events,
- Use built-in support for retry policies to achieve a resilient architecture.

The use of multiple orchestrations, in one function app, and across function apps, is also discussed.

Marc Duiker

February 06, 2020
Tweet

More Decks by Marc Duiker

Other Decks in Programming

Transcript

  1. @MarcDuiker Serverless workflows “A workflow consists of an orchestrated and

    repeatable pattern of activity” https://en.wikipedia.org/wiki/Workflow
  2. @MarcDuiker Serverless workflows Fan-out/fan-in FA1 is called for each of

    the items in [N]. FO waits until all FA1 results are in.