Skip to content

Disable Application Request Routing#

Performance Efficiency · App Service · Azure.AppService.ARRAffinity

Disable client affinity for stateless services.

Description#

Azure App Service apps use Application Request Routing (ARR) by default. ARR uses a cookie to route subsequent client requests back to the same instance when an app is scaled to two or more instances. This benefits stateful applications, which may hold session information in instance memory.

For stateless applications, disabling ARR allows Azure App Service more evenly distribute load.

Recommendation#

Azure App Service sites make use of Application Request Routing (ARR) by default. Consider disabling ARR affinity for stateless applications.


Last update: 2021-09-24