Swap Warmup Takes Same Time as Straight Deployment

Mike-E-angelo 491 Reputation points
2022-04-11T08:40:37.893+00:00

This is a continuation of this conversation here:
https://learn.microsoft.com/answers/comments/801047/view.html

I seem to be encountering warmup times after a swap that is the same as when I deploy directly to the environment. This is about 6-7 seconds. The expectation is that if the swap is doing a warmup (directly from the / root path), then the first request should be instant.

Note that no configuration is done with the swap warmup, so the ping path should be the root. This should be sufficient to load/encounter the 6-7 before the swap, but it doesn't appear to be doing so.

Tagging @Ryan Hill here... thank you very much for the conversation and investigation so far. It is greatly appreciated!

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

6 answers

Sort by: Most helpful
  1. Mike-E-angelo 491 Reputation points
    2022-04-18T10:24:51.543+00:00

    Turns out this is due to a known issue, which reduces security posture and subsequently generates an Azure Advisor security warning of medium severity:

    https://github.com/dotnet/aspnetcore/issues/41231


  2. Mike-E-angelo 491 Reputation points
    2022-07-24T20:04:12.37+00:00

    The mystery continues here @Ryan Hill . I just did a deployment w/ a swap and upon checking it with a request it was as fast as I had ever seen it! It had to have been under a second. Very interesting. Maybe a transient bug/issue that has been addressed? Anyways I hope this continues and will keep you updated.

    0 comments No comments

  3. Mike-E-angelo 491 Reputation points
    2022-08-05T21:49:21.86+00:00

    14 freaking seconds, @Ryan Hill :P

    0 comments No comments

  4. Mike-E-angelo 491 Reputation points
    2022-08-14T17:11:27.787+00:00

    Another 5-second "warm" swap @Ryan Hill ... sometimes it's 2 seconds, sometimes it's 4 seconds. Most of the time it's 5-6 seconds, but sometimes 14 seconds like 8 days ago.

    0 comments No comments

  5. Mike-E-angelo 491 Reputation points
    2022-09-04T19:23:10.523+00:00

    Another 14 second deployment @Ryan Hill

    0 comments No comments