Slow Azure Web App Loading - ASP.Net MVC App

Varun Pande 1 Reputation point
2021-03-25T11:33:54.323+00:00

With only 20 users online my app responding very slow. As per my investigation CPU time is very high, other stats are under control.

81543-image.png

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

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 17,136 Reputation points
    2021-03-29T08:09:58.693+00:00

    Hi @Varun Pande

    Apologies for the delay in response.

    Have you tried, enabling “Always On” setting on your Azure web app? it can increase application responsiveness, especially if the app is not very frequently accessed by your users.

    Here are some other possible mitigations you can apply :

    -Restart the App as that may reduce the high CPU usage temporarily.
    -Upgrading to the next tier can give you more resources if the app is consuming high CPU and you are on a lower tier.
    -You can use Remote Profiling. Remote Profiling is useful if the CPU usage of the process is high and your process is running slower than expected, or the latency of HTTP requests are higher than normal, you can remotely profile your process and get the CPU sampling call stacks to analyze the process activity and code hot paths.
    -Utilize Proactive CPU monitoring. It is an easy, proactive way to take an action when your app or its child process is consuming too much CPU. You can configure CPU rules to temporarily mitigate a high CPU issue until the real cause for the unexpected issue is found.

    Hope that helps.

    Best,
    Grace

    0 comments No comments