A company hosts a high-traffic e-commerce web application named CartService on Azure App Service. The application runs on a Standard (S1) App Service plan. During flash sales, the application experiences sudden traffic surges, causing incoming requests to queue up before they can be processed by the web workers. You need to configure an Azure Monitor autoscale rule to scale out the App Service plan instances to handle the queued requests. Which metric should you select to trigger the scale-out rule?
- AActive Session Count
- HTTP Queue LengthCevap
- CRequest Execution Time
- DCPU Core Count
Cevap
HTTP Queue Length
The HTTP Queue Length metric represents the number of requests that have entered the queue but have not yet been assigned to a worker thread. When a web application experiences sudden traffic surges, this queue grows, indicating that the existing instances are fully loaded. Autoscaling based on this metric ensures that additional instances are added to handle the excess request volume.
Adım Adım Çözüm
Anahtar Kavram
Autoscale metrics for Azure App Service plans
Tahmini Süre:1m 30s