Hello I have recently deployed one of my application on azure portal and it is running fine as well but the issue it takes 15 SECONDS TO LOAD for the first time when site load.
After site load successfully once than it runs fine but as I open after some interval time of 10 min or 20 min again it takes 15 SECONDS TO LOAD.
I have read all the documents and applied the same below.
Performance tips
Traffic Manager Routine
Azure Advisor
Application Insights
Azure Site Performance
SOF Question
Azure Resource Health
Scheduler
I have set Scheduler to call my application on 10 minutes of interval time but it is having the same issue as it was.
The one issue I found is that, it is taking time to locate the server and than give the response so is there any routing mechanism I can provide in azure to locate the server faster? or anything else.
To scale your app to a different tier, make sure that the target tier supports the number of slots your app already uses. For example, if your app has more than five slots, you can't scale it down to the Standard tier, because the Standard tier supports only five deployment slots.
This timeout is not configurable, and this cannot be changed. Note that the idle timeout is at the TCP level which means that if the connection is idle only and no data transfer happening, then this timeout is hit.
Did you turn On the Always On knob in Application Settings? —
https://docs.microsoft.com/en-us/azure/app-service/web-sites-configure#general-settings
Always On —
By default, web apps are unloaded if they are idle for some period of time. This lets the system conserve resources. In Basic or Standard mode, you can enable Always On to keep the app loaded all the time. If your app runs continuous WebJobs or runs WebJobs triggered using a CRON expression, you should enable Always On, or the web jobs may not run reliably.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With