You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/environment/app-service-environment-auto-scale.md
+7-12Lines changed: 7 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,36 +105,37 @@ Understanding and calculating the *App Service plan inflation rate* is important
105
105
106
106
The App Service plan inflation rate is calculated as follows:
107
107
108
-
![App Service plan inflation rate calculation.][ASP-Inflation]
108
+
:::image type="content" source="./media/app-service-environment-auto-scale/asp-inflation-rate.png" alt-text="App Service plan inflation rate calculation.":::
109
109
110
110
Based on the Autoscale – Scale Up rule for the Weekday profile of the production App Service plan:
111
111
112
-
![App Service plan inflation rate for weekdays based on Autoscale – Scale Up rule.][Equation1]
112
+
:::image type="content" source="./media/app-service-environment-auto-scale/equation1.png" alt-text="App Service plan inflation rate for weekdays based on Autoscale – Scale Up rule.":::
113
113
114
114
In the case of the Autoscale – Scale Up rule for the Weekend profile of the production
115
115
App Service plan, the formula would resolve to:
116
116
117
-
![App Service plan inflation rate for weekends based on Autoscale – Scale Up rule.][Equation2]
117
+
:::image type="content" source="./media/app-service-environment-auto-scale/equation2.png" alt-text="App Service plan inflation rate for weekends based on Autoscale – Scale Up rule.":::
118
118
119
119
This value can also be calculated for scale-down operations.
120
120
121
121
Based on the Autoscale – Scale Down rule for the Weekday profile of the production
122
122
App Service plan, this would look as follows:
123
123
124
-
![App Service plan inflation rate for weekdays based on Autoscale – Scale Down rule.][Equation3]
124
+
:::image type="content" source="./media/app-service-environment-auto-scale/equation3.png" alt-text="App Service plan inflation rate for weekdays based on Autoscale – Scale Down rule.":::
125
125
126
126
In the case of the Autoscale – Scale Down rule for the Weekend profile of the production
127
127
App Service plan, the formula would resolve to:
128
128
129
-
![App Service plan inflation rate for weekends based on Autoscale – Scale Down rule.][Equation4]
129
+
:::image type="content" source="./media/app-service-environment-auto-scale/equation4.png" alt-text="App Service plan inflation rate for weekends based on Autoscale – Scale Down rule.":::
130
130
131
131
The production App Service plan can grow at a maximum rate of eight instances/hour
132
132
during the week and four instances/hour during the weekend. It can release instances
133
133
at a maximum rate of four instances/hour during the week and six instances/hour during weekends.
134
134
135
135
If multiple App Service plans are being hosted in a worker pool, you have to calculate the *total inflation rate* as the sum of the inflation rate for all the App Service plans that are being hosting in that worker pool.
136
136
137
-
![Total inflation rate calculation for multiple App Service plans hosted in a worker pool.][ASP-Total-Inflation]
137
+
138
+
:::image type="content" source="./media/app-service-environment-auto-scale/asp-total-inflation-rate.png" alt-text="Total inflation rate calculation for multiple App Service plans hosted in a worker pool.":::
138
139
139
140
### Use the App Service plan inflation rate to define worker pool autoscale rules
140
141
Worker pools that host App Service plans that are configured to autoscale need to
@@ -238,11 +239,5 @@ reach 80% CPU utilization and sets the autoscale rule to increase instances as f
0 commit comments