Post Content
In this theater session from PyCon US 2025, Engineer Chris Anderson walks through Generators and how they are essential to building resiliant solutions with asynchronous programming, including a live demo of them in action using Azure Durable Functions.
https://learn.microsoft.com/en-us/azure/azure-functions/durable/quickstart-python-vscode
https://www.linkedin.com/in/crandycodes/
00:00 — Intro: Generators and Durable Functions
00:40 — What Are Generators and Why Use Them
01:26 — Custom Range with Generator Example
02:06 — Infinite Generators and Cleanup with close()
03:27 — Sending Data into Generators with send()
04:47 — Using Generators for Async Task Scheduling
05:07 — Orchestration Pattern: A → B & C → D
05:45 — Simulating Failures in Orchestrated Tasks
06:33 — Improving Reliability with Durable Activities
07:43 — Centralizing Retry Logic in Orchestrator
08:42 — Generalizing Durable Activity Wrappers
09:54 — Restarting and Resuming Durable Orchestrations
10:49 — Externalizing State for Crash Recovery
11:20 — Scaling with Distributed Activity Execution
11:41 — Live Demo: Durable Functions in Action
12:43 — Triggering Durable Functions via HTTP
13:27 — Polling Function Status and Viewing Results
14:02 — Long-Running Tasks for Agentic Workflows
14:15 — Using MCP Triggers with Durable Functions
14:47 — Getting Started with Azure Durable Functions
15:00 — Is Azure Functions Open Source?
15:33 — Durable Functions Architecture and Extensions
16:22 — State Management and API Access
16:47 — Running Azure Functions on Kubernetes
17:40 — Database Compatibility and On-Prem Options Read More Microsoft Developer