Monday, June 19, 2017

Average response time high in Azure Web app

We have configured some alerts for our Azure Web app. One of them triggers when the average response time of the application is higher than the configured threshold value for certain duration. For eg:- "Average Server response time is xx.xx seconds: crossed threshold for 5 minutes".
We were trying to dig out the reason for this alert found no exceptions in the the application, CPU usage and Memory usage were also normal. It wasn't getting easy to reach out to the actual root cause for the CPU usage.
Later on with the help of Microsoft support We come to know that there is an activity called "Storage volume switch" which was causing the slow responses for the application.
Two recommendations were provided to us:-
  1. Switch of always on setting on the staging deployment slot of web app. This can be found in application settings section of your web app on azure portal
  2. Use local cache on the web app
Thanks

No comments:

Post a Comment