Pointers to speed up web app startup time

My SaaS ASP.Net MVC web app startup time is about 20 to 30 seconds. The typical usage pattern is tied to business hours. So, when the first user in the morning browses to the home page, the page takes about 20 to 30 seconds to load. Thereafter, performance on subsequent page loads is not a problem.

It's running on cloud-hosted infrastructure...Win2008 R2, quad core Xeon with 6GB RAM.

Any pointers as to what I can do to improve this startup time?

Answers


The problem might be that your application is being shutdown during idle periods. Try setting up a service to periodically make a request to your application and keep it alive.


Need Your Help

D3 mercator function NaN

javascript d3.js mercator

I'm not too familiar with the D3 mercator projection function, and I'm getting some unexpected results. I'd like to project the following latitude and longitude (somewhere in Mexico):

Populating Html Helpers route arguments

c# asp.net-mvc razor

Is there a way to populate anonymous type properties (route arguments) in Html Helpers like Html.ActionLink or Url.Action with data.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.