These are the slides of the presentation I gave at the Azure Thursday Meetup on the 1st of Februari 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).
3. 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
24. Marc Duiker
Durable Functions
Visual Studio 2017 15.5+
- “Azure development tools” workload
- Extension: Azure Functions & Web Jobs Tools
- Azure Storage Emulator
Local development
28. 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.
29. 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
32. 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.
33. 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
55. 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