You manage an Azure App Service Web App named ImageResizerAPI that is deployed on a Standard (S2) App Service plan. The Web App is currently scaled to 3 instances. You configure an autoscale rule to scale out by increasing the instance count by 1 when the average CPU percentage exceeds . You need to configure a scale-in rule to decrease the instance count by 1 when the CPU load decreases. To prevent autoscale flapping, which scale-in CPU threshold should you configure?
- 50%Cevap
- B65%
- C70%
- D75%
Cevap
A scale-in threshold of 50% should be configured.
A scale-in threshold of 50% is correct because when the App Service scales out from 3 instances to 4 instances at a CPU utilization of 81%, the load is redistributed. The new average CPU per instance becomes (). Since 60.75% is greater than 50%, the scale-in rule is not triggered, preventing an immediate scale-in loop (flapping).
Adım Adım Çözüm
Anahtar Kavram
Autoscale flapping prevention in Azure App Service