azure-functions
Expert patterns for Azure Functions development including isolated worker model, Durable Functions orchestration, cold start optimization, and production patterns. Covers .NET, Python, and Node.js programming models. Use when: azure function, azure functions, durable functions, azure serverless, function app.
Author
Category
Development ToolsInstall
Hot:5
Download and extract to your skills directory
Copy command and send to OpenClaw for auto-install:
Download and install this skill https://openskills.cc/api/download?slug=sickn33-skills-azure-functions&locale=en&source=copy
Azure Functions - Expert Mode Guide for Serverless Computing
Skill Overview
The Azure Functions skill provides an expert mode for production-grade serverless function development, covering the .NET Isolated Worker, Node.js v4, and Python v2 programming models, as well as core practices such as Durable Functions orchestration and cold-start optimization.
Use Cases
When you need to build loosely coupled systems triggered by HTTP requests, queue messages, timers, or blob events, Azure Functions provides an on-demand, serverless compute solution.
For complex business processes that require state management and orchestration, Durable Functions provides durable function orchestration capable of handling human interaction, external API calls, and distributed transactions.
When teams build cloud-native applications using .NET, Python, or Node.js, this skill provides the latest programming models and production best practices for each language.
Core Features
A modern process-isolated execution model that runs independently of the Azure Functions runtime, offering better versioning and performance; it is the recommended choice for new .NET projects.
Covers the Node.js v4 code-first model, the Python v2 decorator model, and the .NET Isolated Worker model, providing a native development experience for each language.
Includes production-deployment essentials such as cold-start optimization, asynchronous programming best practices, HttpClient management, timeout configuration, and Application Insights integration.
Frequently Asked Questions
How long does Azure Functions cold start take, and how do you optimize it?
Cold starts typically occur on the first request after a function app has been idle, taking anywhere from several hundred milliseconds to a few seconds. Optimization strategies include: using warm-up triggers to initialize code, choosing a Premium or dedicated plan, keeping functions lean, avoiding heavy initialization operations, and enabling the Always On setting (Premium plan).
What scenarios are suitable for Durable Functions?
Durable Functions are best suited for long-running workflows that require state management, such as approval processes involving human interaction, data processing that aggregates responses from multiple external APIs, scheduled task chains, and complex business processes that require retries and error handling. It addresses the problem of state management in serverless computing through the durable function pattern.
What is the difference between the Isolated Worker and In-Process models?
In the In-Process model, function code runs inside the Functions runtime process and is tightly coupled to the runtime version. The Isolated Worker Model runs code in a separate process, supports .NET Long-Term Support (LTS) versions, and offers better performance and control; it is the recommended choice for new .NET projects. Existing projects can continue using In-Process, but new development should prioritize the Isolated Worker.