title: What happens in BeginProcessRequest()?
body: <p>We are using NewRelic to provide server-side application traces.</p>
  
  <p>We have noticed that some of our applications consistently spend about 100ms in the method <code>System.Web.Mvc.MvcHandler.BeginProcessRequest()</code>.</p>
  
  <p>This happens before any custom controller code is called (which is logged separately, and not cumulatively) - it's not obvious why it would be spending so much time in this method.</p>
  
  <p>What kinds of things will MVC do in this method? Could this simply be request queuing?</p>
  
  <p>[EDIT:] <strong>As suspected - Scalayer's answer below was spot-on. We removed &amp; optimized away all our session dependencies, and saw a massive increase in application scalability &amp; stability</strong></p>