Skip to content

Commit 5e3e54f

Browse files
Update web-apps-performance-faqs.md
1 parent 2792f7c commit 5e3e54f

1 file changed

Lines changed: 28 additions & 12 deletions

File tree

support/azure/app-service/web-apps-performance-faqs.md

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Get answers to frequently asked questions about availability, perfo
44
author: genlin
55
ms.author: genli
66
ms.service: azure-app-service
7-
ms.date: 03/05/2024
7+
ms.date: 04/10/2025
88
ms.reviewer: toan, shrahman
99
---
1010
# Application performance FAQs for Web Apps in Azure
@@ -28,6 +28,14 @@ The platform processes will consume a minimum amount of resources (such as CPU,
2828

2929
Multiple factors might contribute to slow app performance. For detailed troubleshooting steps, see [Troubleshoot slow web app performance](/azure/app-service/troubleshoot-performance-degradation).
3030

31+
> [!TIP]
32+
> Enable the **Always On** setting under *Configuration > General settings* to keep your app warm and prevent cold starts. This helps reduce delay after idle time, especially in Basic and higher plans.
33+
34+
> [!TIP]
35+
> Configure a **Health Check** path to monitor app health and automatically replace unresponsive instances. This helps maintain availability and performance.
36+
> [Learn more](https://learn.microsoft.com/azure/app-service/monitor-instances-health-check)
37+
38+
3139
## How do I troubleshoot a high CPU-consumption scenario?
3240

3341
In some high CPU-consumption scenarios, your app might truly require more computing resources. In that case, consider scaling to a higher service tier so the application gets all the resources it needs. Other times, high CPU consumption might be caused by a bad loop or by a coding practice. Getting insight into what's triggering increased CPU consumption is a two-part process. First, create a process dump, and then analyze the process dump. For more information, see [Capture and analyze a dump file for high CPU consumption for Web Apps](/archive/blogs/asiatech/how-to-capture-dump-when-intermittent-high-cpu-happens-on-azure-web-app).
@@ -38,8 +46,11 @@ In some high memory-consumption scenarios, your app might truly require more com
3846

3947
## How do I automate App Service web apps by using PowerShell?
4048

41-
You can use PowerShell cmdlets to manage and maintain App Service web apps. In our blog post [Automate web apps hosted in Azure App Service by using PowerShell](/archive/blogs/puneetgupta/automating-webapps-hosted-in-azure-app-service-through-powershell-arm-way), we describe how to use Azure Resource Manager-based PowerShell cmdlets to automate common tasks. The blog post also has sample code for various web apps management tasks.
42-
For descriptions and syntax for all App Service web apps cmdlets, see [Az.Websites](/powershell/module/az.websites).
49+
You can use PowerShell cmdlets to manage and maintain App Service web apps. In our blog post [Automate web apps hosted in Azure App Service by using PowerShell](/archive/blogs/puneetgupta/automating-webapps-hosted-in-azure-app-service-through-powershell-arm-way), we describe how to use Azure Resource Manager-based PowerShell cmdlets to automate common tasks.
50+
51+
> [!NOTE]
52+
> For current automation scripts, use the latest **Az.Websites** module. The older `AzureRM` module is deprecated.
53+
> [Reference: Az.Websites](/powershell/module/az.websites)
4354
4455
## How do I view my web app's event logs?
4556

@@ -86,15 +97,6 @@ To see what is causing the error and to resolve the issue, follow the steps in [
8697

8798
For information about quotas and limits, see [App Service limits](/azure/azure-resource-manager/management/azure-subscription-service-limits#app-service-limits).
8899

89-
## How do I decrease the response time for the first request after idle time?
90-
91-
By default, web apps are unloaded if they're idle for a set period of time. This way, the system can conserve resources. The downside is that the response to the first request after the web app is unloaded is longer, to allow the web app to load and start serving responses. In Basic and Standard service plans, you can turn on the **Always On** setting to keep the app always loaded. This eliminates longer load times after the app is idle. To change the **Always On** setting:
92-
93-
1. In the Azure portal, go to your web app.
94-
2. Select **Configuration**
95-
3. Select **General settings**.
96-
4. For **Always On**, select **On**.
97-
98100
## How do I turn on failed request tracing?
99101

100102
To turn on failed request tracing, follow these steps:
@@ -191,4 +193,18 @@ For more information about outbound connections in your web app, see the blog po
191193

192194
For a detailed walkthrough that shows you how to debug your web app by using Visual Studio, see [Remote debug your App Service web app](/archive/blogs/benjaminperkins/remote-debug-your-azure-app-service-web-app).
193195

196+
## Additional recommendations for performance and resiliency
197+
198+
> [!TIP]
199+
> Use **Application Insights** and **Azure Monitor** for full-stack observability of your App Service app, including telemetry, dependency tracing, and live metrics.
200+
201+
> [!TIP]
202+
> If you are deploying in regions that support **Availability Zones**, consider enabling zone redundancy for added resiliency during regional outages.
203+
> [Learn more](https://learn.microsoft.com/azure/reliability/reliability-app-service)
204+
205+
> [!TIP]
206+
> App Service undergoes **routine maintenance** for platform reliability. For more control over update behavior, especially in App Service Environment v3, configure **Upgrade Preference** settings.
207+
> [Learn more](https://learn.microsoft.com/azure/app-service/routine-maintenance)
208+
209+
194210
[!INCLUDE [Azure Help Support](../../includes/azure-help-support.md)]

0 commit comments

Comments
 (0)