Share via

Performance Issue in app services

BR 21 Reputation points
2022-02-17T09:22:34.987+00:00

Hi Team,

We have multiple applications in Azure app services.
One of the application (dms-fp-prd-kn) is very slow in azure.
Where as same application instance work very well in other server.
Can you please verify the performance issue and suggest some solution to improve the performance.
Please take this as a priority as this is impacting our client.

Thanks
Suresh

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

Answer accepted by question author

SnehaAgrawal-MSFT 22,721 Reputation points Moderator
2022-02-17T18:10:32.87+00:00

Thanks for asking question! As you mentioned you are having multiple applications and facing performance issue.

Below are the findings:

Your App Service Plan hosts more than the recommended active sites and is currently saturated.

We detected your app is running on a Small sized worker and the current App Service Plan, on an average, is running 10 simultaneously active apps.

You may want to know that Apps that are a part of the same App Service Plan, compete for the same set of resources.
Our data indicates that 8+ active apps in an App Service Plan running on a small sized worker deteriorates apps performance. It causes CPU and memory contention resulting in availability and reliability loss.

Consider stopping at least 2 apps in order to be within the recommended number of apps to host on a small instance or try one of the solutions described in the below steps:

  1. Go to App Service Diagnostics to scale up the App Service instance.
  2. Alternatively, follow the instructions below.
  3. Navigate to the application in the Azure Portal.
  4. Select the "Scale up (App Service plan)" tab from the left sidebar menu.
  5. Select a pricing tier that fits the performance and feature needs for your application.
  6. Click "Apply" to apply the pricing tier to the application.

Additional Information:
For production applications, it is recommended that an App Service Plan does not exceed a certain number of sites. The number may actually be lower depending on how resource intensive the hosted applications are, however as a general guidance, you may refer to the table below.

177072-table-word.png

Note : An active slot is also classified as an active app as it too is competing for resources on the same App Service Plan.

Check: Azure App Service plan overview

Further there are also Slow Requests Detected and to troubleshoot performance issues or to identify the root cause of the issue, you need to collect additional data because, most likely, the issue lies within Application layer.

You may want to know that Application Insights allows you to debug exceptions and slowness within the application layer and helps you troubleshoot issues with your application code. If you have not integrated Application insights, it is strongly recommended that you integrate your app with application insights to identify application code issues.

Please follow these instructions to integrate app with Application Insights, if it is not already integrated

  1. Go to Application Insights blade for this App.
  2. Make sure that Application Insights is Enabled.

Let us know if there are further queries or issue remains.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. BR 21 Reputation points
    2022-02-24T07:04:02.61+00:00

    Thanks for the elaborate answer. I reviewed app layer logic and found some issues. They have been taken care and noticed some improvement in performance. The fire is temporarily put off. However, there is still some room for improvement.
    Before considering scaling up, I will follow the steps and update the progress.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.