title: Azure App Service load balancing settings
body: <p>ARM template for Azure App Service has setting to configure load balancing algorithm - loadBalancing. According to <a href="https://docs.microsoft.com/en-us/azure/templates/microsoft.web/sites#siteconfig-object" rel="noreferrer">documentation</a> it's available through SiteConfig object and can have following values: WeightedRoundRobin, LeastRequests, LeastResponseTime, WeightedTotalTraffic, RequestHash.</p>
  
  <p>We performed some testing with Standard S1 app service plan with two instances. First instance was responding to all request with no delay, second instance was responding to all requests with 3 seconds delay, ARR affinity was turned off. </p>
  
  <p>Test showed that all settings perform the same - after some ramp up time all requests spread evenly between two instances. It was not expected at least for LeastResponseTime, which intuitively suppose to direct more traffic to first instance (with low response time). </p>
  
  <p>So the questions is, does this setting even work? And if it does, in what app service configuration it's respected?</p>