Client-side performance - IIS 6 vs. IIS 7

Jul 7, 2010

I recently had to come up with a good argument for upgrading a Windows Server 2003 to Windows 2008 R2. It is used as a web server, so the benefit I was looking for was the upgrade of IIS 6 to IIS 7.5.

So I thought, why not make two deploys of the exact same website to both server editions and compare the performance. It so happens to be that there are many performance comparison articles about this floating around, but no one addressed the client-side aspect of the performance differences.

I’d already prepared the <system.webServer> section of the web.config with various performance tricks for IIS 7. Of course, IIS 6 ignores the <system.webServer> section and therefore don’t get any of the performance enhancements.

I’ve recorded the performance using YSlow and here is what the result looks like:

IIS 6 vs. IIS 7
Click for larger image

The reason for the slightly different file sizes is due to the compression level of the native IIS 7 compression and my custom compression library. The interesting part is when the browser’s cache is primed. That means when the visitor has visited the website before.

It should be noted that it is indeed possible to achieve the same performance metrics using IIS 6, but then you either need to add custom HTTP handlers or write to the IIS 6 metabase.

Here are the performance optimization tricks I used.

* $4.95/month BlogEngine.net Hosting – Click Here!

Comments (4) -

TweeZz
TweeZz Slovakia
7/7/2010 11:26:07 PM #

Hi Mads..

I’d already prepared the <system.webServer> section of the web.config with various performance tricks for IIS 7

Could you elaborate on this?

Manu.

Remy Bl&#228;ttler
Remy Blättler Switzerland
7/8/2010 1:13:50 AM #

Yep, would also be interested in your web.config performance tricks. We just moved to IIS 7 too, but so far not sooo much impact.

Chintan Shah
Chintan Shah India
7/8/2010 3:04:10 AM #

The second result is for IIS 7 or IIS 7.5 ?

Also, can you share various performance tricks for IIS 7?

Mads Kristensen
Mads Kristensen Denmark
7/8/2010 7:52:37 AM #

It is for IIS 7.5 but the result will be the same for IIS 7.0

Pingbacks and trackbacks (2)+

Comments are closed

About the author

Mads Kristensen

Mads Kristensen
Program Manager at the Microsoft Web Platform team and founder of BlogEngine.NET.

More...

Month List

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer’s view in any way.