Client-side performance - IIS 6 vs. IIS 7

by Mads Kristensen 7. July 2010 19:56

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.

* Only $4.95/month ASP.NET & Windows 2008 + IIS 7 Hosting! FREE SQL Included

Tags: , ,

Client-side

Comments

7/7/2010 8:20:49 PM #

pingback

Pingback from topsy.com

Twitter Trackbacks for
        
        Client-side performance - IIS 6 vs. IIS 7
        [madskristensen.net]
        on Topsy.com

topsy.com |

7/8/2010 8:26:07 AM #

TweeZz

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.

TweeZz Slovakia |

7/8/2010 10:13:50 AM #

Remy Blättler

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.

Remy Blättler Switzerland |

7/8/2010 12:04:10 PM #

Chintan Shah

The second result is for IIS 7 or IIS 7.5 ?

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

Chintan Shah India |

7/8/2010 4:52:37 PM #

Mads Kristensen

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

Mads Kristensen Denmark |

7/9/2010 4:37:41 PM #

trackback

Производительность на стороне клиента - IIS 6 vs. IIS 7

Thank you for submitting this cool story - Trackback from progg.ru

progg.ru |

Comments are closed

About the slave

Mads Kristensen Mads Kristensen
Web developer at ZYB and founder of BlogEngine.NET. More...

LinkedIn ZYB Facebook Last.fm Twitter View Mads Kristensen's profile on Technorati

The Lounge

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008