Mar 23, 2010

SharePoint Warmup Script for Extranet or Intranet Site

Sharepoint Warmup Script Myth DeMystified

Accessing SharePoint Site in the morning is like warming up the car on a cold winter morning before you can expect optimal performance on takeoff.

SharePoint Site resources are recycled from the server memory by default IIS configuration on a regular/nightly basis similar to the concept that after driving certain miles you need to re fuel your car.

To keep things notch up, like cars which start automatically when the temprature falls below cetain fahrenheit. For SharePoint we need to schedule warmup script to run automatically when the application pool memory gets recycled.

SharePoint Sites are hosted on top of WSS, which runs on top of .Net framework hosted on IIS Servers. Same like cars have different types of engine but basically they move the piston/wheel. Abstraction is the key, if you note above.

In a scenario, where you have a 2wd/4wd car still you have to make sure to warmup the engine for optimum performance. Same is the case with SharePoint, (for a given Site) whether it's the Extranet / Intranet Site URL both uses the same Site Collection (and also the same application pool) to access the information need to be displayed to the end user.

From the above you can note that in your warmupscript whether you access the intranet url or extranet url, it doesn't make any difference both works exactly the same helping the ASP .Net JIT compilation and hence site performance doesn't degrade drastically during the wee hours of the morning.

You can use the well known warmup script located at: link

No comments:

Pages