Skip to content

Disable Application Request Routing#

Performance Efficiency · App Service · Rule · 2020_06 · Awareness

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.

Comments