2

I Pay-As-You-Go subscription with S3 plan

enter image description here

Having scale out settings like Min 2 instance Max 4. Based on CPU and Memory consumption it will add 1 more instance

enter image description here

enter image description here

Why first instance showing 82% CPU utilization while other is <40% CPU utilization ? I would expecting equal utilization.

enter image description here

enter image description here

Anish Sinha
  • 129
  • 11

2 Answers2

1

based on R&D i come to know because application sticky session instance does not sharing equal utilization.

Anish Sinha
  • 129
  • 11
  • 1
    I believe that you are correct, and that ARR affinity should be checked. If a session is started on instance 1 with ARR affinity enabled, it will not be load balanced to a new server when a scale out rule is triggered. – Rob Reagan Mar 19 '21 at 13:19
0

Automatic scaling is implemented in accordance with certain rules, and it is not clear which instance is accessed or used. You can achieve load balancing in the following ways, which should meet your needs.

Solution:

How Azure load balances scaled out App Service plan?

The reason of the problem

Please read below tips, when you configure the settings.

No metric rules defined; click Add a rule to scale out and scale in your instances based on rules. For example: 'Add a rule that increases instance count by 1 when CPU percentage is above 70%'.

enter image description here

Jason Pan
  • 15,263
  • 1
  • 14
  • 29