Stanislav Lebedenko

In-depth .NET Azure Functions: Flex plan, Isolated mode and performance

Is the new Azure Functions Flex plan always better? Discover the hidden networking trade-offs that can break your app at scale.

In-depth .NET Azure Functions: Flex plan, Isolated mode and performance
#1about 5 minutes

Introducing the new Flex Consumption plan for Azure Functions

The new Flex Consumption plan, built on Kubernetes, replaces the old in-process model with an isolated worker model for better performance and portability.

#2about 6 minutes

Flex plan features, limits, and VNet challenges

The Flex plan includes "always ready" instances and free VNet integration, but is constrained by subscription-level vCore limits and potential IP exhaustion at scale.

#3about 7 minutes

Load testing Flex vs classic Consumption plans

Load tests reveal that the Flex plan scales significantly faster for sudden traffic spikes compared to the classic Consumption plan, which is better for steady workloads.

#4about 2 minutes

Optimizing Flex plan instance size for performance

Choosing the right instance size is key, with 0.5GB instances offering the fastest scaling for spikes and larger instances providing better cost-efficiency.

#5about 5 minutes

Advanced performance tuning with AOT and dependencies

While Native AOT offers limited benefits, you can significantly improve performance by minimizing .NET dependencies and configuring concurrency settings in host.json.

#6about 3 minutes

Portability and final recommendations for migration

The isolated worker model simplifies containerizing functions for migration, and it's crucial to load test, monitor SDK updates, and prepare for Flex to become the default.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
All the videos of Halfstack London 2024!
Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
All the videos of Halfstack London 2024!
DC
Daniel Cranney
Dev Digest 159: AI Pipelines, 10x Faster TypeScript, How to Interview
Inside last week’s Dev Digest 159 . 🤖 How to use LLMs to help you write code ⚡ How much electricity does AI need? 🔒 Is your API secure? Learn all about hardening it… 🟦 TypeScript switches to go and gets 10 times faster 🖼️ An image cropper in your ap...
Dev Digest 159: AI Pipelines, 10x Faster TypeScript, How to Interview
DC
Daniel Cranney
Dev Digest 188: CfP time, the risks of NPM and IKEA algorithms
Inside last week’s Dev Digest 188 . 🤖 GitHub Copilot CLI is now in public review 💻 Microsoft is bringing ‘vibe working’ to office apps 🎣 Attackers abuse AI tools to generate captchas in fishing attacks ⚠️ When LLMs autonomously attack 🧠 Common cause...
Dev Digest 188: CfP time, the risks of NPM and IKEA algorithms
CH
Chris Heilmann
With AIs wide open - WeAreDevelopers at All Things Open 2025
Last week our VP of Developer Relations, Chris Heilmann, flew to Raleigh, North Carolina to present at All Things Open . An excellent event he had spoken at a few times in the past and this being the “Lucky 13” edition, he didn’t hesitate to come and...
With AIs wide open - WeAreDevelopers at All Things Open 2025

From learning to earning

Jobs that call for the skills explored in this talk.

Devops Azure

Devops Azure

Rawson BPO
Municipality of Madrid, Spain

Azure
DevOps