<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Maria Allen</title>
    <description>The latest articles on DEV Community by Maria Allen (@maria_allen_df6b5a0aec264).</description>
    <link>https://dev.to/maria_allen_df6b5a0aec264</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3620855%2F41db75f5-6002-462e-acfb-62ca50cf662b.png</url>
      <title>DEV Community: Maria Allen</title>
      <link>https://dev.to/maria_allen_df6b5a0aec264</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/maria_allen_df6b5a0aec264"/>
    <language>en</language>
    <item>
      <title>Unexpected Slow Startup Times in Azure Functions Using Consumption Plan</title>
      <dc:creator>Maria Allen</dc:creator>
      <pubDate>Thu, 20 Nov 2025 11:41:09 +0000</pubDate>
      <link>https://dev.to/maria_allen_df6b5a0aec264/unexpected-slow-startup-times-in-azure-functions-using-consumption-plan-35jc</link>
      <guid>https://dev.to/maria_allen_df6b5a0aec264/unexpected-slow-startup-times-in-azure-functions-using-consumption-plan-35jc</guid>
      <description>&lt;p&gt;Hi all, We are seeing some frustratingly slow and unpredictable startup times with an &lt;a href="https://imatix.com/what-is-microsoft-azure/" rel="noopener noreferrer"&gt;Azure&lt;/a&gt; Function that's on the Consumption Plan. &lt;/p&gt;

&lt;p&gt;Typically, the function fires off in a matter of seconds, but every so often, we are looking at a 20–40 second wait before the initial code even starts running. &lt;/p&gt;

&lt;p&gt;Here is what we have been able to figure out: &lt;/p&gt;

&lt;p&gt;The sluggishness tends to kick in after the function has been sitting idle for a while. &lt;/p&gt;

&lt;p&gt;Application Insights is pointing to a considerable delay before the function runtime actually gets going. &lt;/p&gt;

&lt;p&gt;The &lt;a href="https://learn.microsoft.com/en-us/azure/azure-functions/functions-infrastructure-features#cold-start" rel="noopener noreferrer"&gt;function&lt;/a&gt; is built with .NET 6, and the startup code is kept to a minimum. &lt;/p&gt;

&lt;p&gt;Once the function begins executing, there are no noticeable spikes in memory or CPU usage. Always On isn't an option with the Consumption Plan. &lt;/p&gt;

&lt;p&gt;We are trying to figure out if the delay is solely due to cold starts, or if something in our setup—dependencies, networking, triggers, and so on—is also playing a role. &lt;/p&gt;

&lt;p&gt;Has anyone discovered useful methods for reducing or troubleshooting slow startup times in Azure Functions on the Consumption Plan?&lt;/p&gt;

</description>
      <category>azure</category>
    </item>
  </channel>
</rss>
