title: ASP.NET MVC intermittent slow response
body: <p><strong>Problem</strong></p>
  
  <p>In our production environment, system occasionally delays the page response of an ASP.NET MVC application up to 30 seconds or so, even though same page renders in 2-3 seconds most of the times. This happens randomly with any arbitrary page, and GET or POST type requests. For example, log files indicates, system took 15 seconds to complete a request for jquery script file or for other small css file it took 10 secs. </p>
  
  <p>Similar Problems:</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/650618/asp-net-random-slow-downs">Random Slow Downs</a></li>
  </ol>
  
  <p><strong>Production Environment:</strong></p>
  
  <ol>
  <li>Windows Server 2008 - Standard (32-bit) - App Pool running in integrated mode.</li>
  <li>ASP.NET MVC 1.0</li>
  </ol>
  
  <p>We have tried followings/observations:</p>
  
  <ol>
  <li>Moved the application to a stand alone web server, but, it didn't help.</li>
  <li>We didn't ever notice same issue on the server for any 'ASP.NET' application.</li>
  <li>App Pool settings are fine. No abrupt recycles/shutdowns.</li>
  <li>No cpu spikes or memory problems.</li>
  <li>No delays due to SQL queries or so.</li>
  <li>Converting App Pool to classic mode didn't help either</li>
  </ol>
  
  <p>It seems as something causing delay along HTTP Pipeline or worker processor seeing the request late.</p>
  
  <p>Looking for other suggestions.</p>
  
  <p>-- Thanks</p>