Disable Application Request Routing#
Disable client affinity for stateless services.
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.
Azure App Service sites make use of Application Request Routing (ARR) by default. Consider disabling ARR affinity for stateless applications.
- Configure an App Service app
- Overview of the performance efficiency pillar
- Session affinity
- Performance efficiency checklist