-1

Is there a way to swap slots only after app full initialization? I have a web app on Azure and swapping slots process is pretty fast, but after that, the application had to do the initialization which in my app takes a few minutes, since there are some heavy tasks.

Swapping slots for me at this moment is not worthing because of this.

I want to use swap slots to reduce downtime, we have a frequently update schedule, since my clients work 24 hr/day, even on the weekends.

I may optimize this initialization process, but not right now... So I need a way to swap after this initialization, this will reduce my downtime to the time spent swapping the slots which take a few seconds redirecting all current requests.

I was thinking of to start a job after initialization and prompt Azure to do the swapping, but i couldn't find a way to do that. Is this bad? There's a better way to do it?

Thanks.

Trxplz0
  • 371
  • 1
  • 2
  • 13