title: How long does it take for Azure Websites to Autoscale?
body: <p>I am using MVC3, ASP.NET4.5, C#, Razor, EF6.1, SQL Azure</p>
  
  <p>I have been doing some load testing using JMeter, and I have found some surprising results.</p>
  
  <p>I have a test of 30 concurrent users, ramping up over 10 secs. The test plan is fairly simple:</p>
  
  <pre><code>1) Login
  2) Navigate to page
  3) Do query
  4) Navigate back
  5) Logout.
  </code></pre>
  
  <p>I am using "small" "standard" instances.</p>
  
  <p>I have found that when my Azure setup is configured to "autoscale", it behaves like my test with one "small" instance with no autoscale. When I setup two "small" instances with no autoscale, it goes twice as fast, or rather the average process time per request is 2x, over the test. So it appears that it is NOT autoscaling. I have tried setting the CPU trigger to a lower target ie 40-70. Still no joy. </p>
  
  <p>On further investigation, when "Autoscale" was first introduced, it seems it evaluated the metrics over the previous hour, and now I see references to "10 minutes". I thought that once the CPU started hitting the target value, then it immediately triggered the new instance, which must be the whole point of "autoscale". If I have a burst of concurrent usage, I need the extra instances now, hence a reason for using a PAAS . Since my test took less than 10 minutes, "Autoscale" never kicked in. So what should be the time that Autoscale takes to kick in?</p>
  
  <p>Thanks.</p>