Skip to content

Commit ea1f2bb

Browse files
Merge pull request #278710 from msangapu-msft/patch-14
Update manage-automatic-scaling.md
2 parents 1aa67ae + 23e4dac commit ea1f2bb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

articles/app-service/manage-automatic-scaling.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ Here are a few scenarios where you should scale-out automatically:
4646

4747
__Maximum burst__ is the highest number of instances that your App Service Plan can increase to based on incoming HTTP requests. For Premium v2 & v3 plans, you can set a maximum burst of up to 30 instances. The maximum burst must be equal to or greater than the number of workers specified for the App Service Plan.
4848

49-
> [!IMPORTANT]
50-
> [`Always ON`](./configure-common.md?tabs=portal#configure-general-settings) needs to be disabled to use automatic scaling.
51-
>
5249

5350
#### [Azure portal](#tab/azure-portal)
5451

@@ -173,6 +170,12 @@ If your web app returns a 5xx status, these endpoint pings may result in intermi
173170

174171
**AutomaticScalingInstanceCount** metric will report the number of virtual machines on which the app is running including the prewarmed instance if it is deployed. This metric can also be used to track the maximum number of instances your web app scaled out during an Automatic Scaling event. This metric is available only for the apps that have Automatic Scaling enabled.
175172

173+
## How does ARR Affinity affect Automatic Scaling?
174+
175+
Azure App Service uses Application Request Routing cookies known as an ARR Affinity. ARR Affinity cookies restrict scaling because they send requests only to servers associated with the cookie, rather than any available instance. For apps that store state, it's better to scale up (increase resources on a single instance). For stateless apps, scaling out (adding more instances) offers more flexibility and scalability. ARR Affinity cookies are enabled by default on App Service. Depending on your application needs, you may choose to disable ARR affinity cookies when using Automatic scaling.
176+
177+
To disable ARR Affinity cookies: select your App Service app, and under **Settings**, select **Configuration**. Next select the **General settings** tab. Under **ARR affinity**, select **Off** and then select the **save** button.
178+
176179
<a name="Next Steps"></a>
177180

178181
## More resources

0 commit comments

Comments
 (0)