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

Orchestrate your Azure Functions with Durable F...

Orchestrate your Azure Functions with Durable Functions @ Azure Thursday Meetup

These are the slides of the presentation I gave at the Azure Thursday Meetup on the 1st of February 2018 at Ordina.

The source code for the demos I gave can be downloaded from this GitHub repository: https://github.com/marcduiker/demos-azure-durable-functions (see the Readme for instructions).

Marc Duiker

February 01, 2018
Tweet

More Decks by Marc Duiker

Other Decks in Programming

Transcript

  1. Marc Duiker Durable Functions • What are orchestrations? • Why

    do we need them? • What is Durable Functions? • Local development • Examples • Function chaining • Fan-out/Fan-in • Stateful Singleton • Closing remarks
  2. Marc Duiker Durable Functions Orchestration? Orchestration is the automated arrangement,

    coordination, and management of computer systems, middleware, and services.
  3. Marc Duiker Durable Functions Visual Studio 2017 15.5+ - “Azure

    development tools” workload - Extension: Azure Functions & Web Jobs Tools - Azure Storage Emulator Local development
  4. Marc Duiker Durable Functions Demo: Use case As a speaker

    I want to arrive early at the next meetup so I still have some time to tweak my slides at the very last moment.
  5. Marc Duiker Durable Functions Demo: Control flow In - meetup

    group - departure address - travel mode Out - event name - group name - destination address - departure time - duration Returns one event For the event returned by FA1
  6. Marc Duiker Durable Functions Fan-out/fan-in FA1 returns a collection of

    items FA2 is called for each of the items from FA1
  7. Marc Duiker Durable Functions Demo: Use case As a meetup

    visitor I want a list of relevant events, sorted by travel duration so I can choose which events I will attend.
  8. Marc Duiker Durable Functions Demo: Control flow In - search

    text - max nr of events - departure address - travel mode Out Collection of - event name - group name - destination address - departure time - duration For each event returned by FA1 Returns collection of events
  9. Marc Duiker Durable Functions • Orchestration Functions can only call

    Activity Functions in the same Function App. • Duration timers can’t last longer than 7 days. • Keep your orchestration small. • What changes together should be deployed together. Closing remarks