How long does it take for an Azure App Service to become healthy after cold start?

xdf1038 0 Reputation points
2024-09-11T07:25:12.8033333+00:00

What is the duration for an Azure App Service to become healthy after cold start, where the app service was stopped and started through the Azure portal and health checks are successful, resulting in the load balancer routing traffic to the healthy instances?

I was only able to find information about how long an instance is allowed to be unhealthy before being removed from the load balancer in these docs: https://video2.skills-academy.com/en-us/azure/app-service/monitor-instances-health-check?tabs=dotnet.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,676 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. akinbade abiola 15,295 Reputation points
    2024-09-11T07:50:52.6433333+00:00

    Yes, I think the above is by design as various factors come into play regarding cold starts. Larger apps with more dependencies take longer to load. there are other factors involved which include Deployment stack, your plan, load and your config

    Cold starts take a few seconds to a minute or more, To minimize cold starts, consider enabling Always On in the App Service settings or using Premium plans, which offer better performance.

    On new improvements, see: https://techcommunity.microsoft.com/t5/apps-on-azure-blog/our-latest-work-to-improve-azure-functions-cold-starts/ba-p/4164500

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.