Sunday, January 09, 2011

Webfarm and IIS configuration tips/tricks

I was recently talking with some good friends about tips for performance and what an IIS Administrator could do on the server side.  I also see this question from time to time in the forums @ http://forums.iis.net.    Of course, you should test individual settings in a controlled environment while performing load testing before just implementing on your production farm.



  • IIS Compression enabled (both static and dynamic if possible, set it to 9)  If you are running IIS 6, check this article out by Scott Forsyth.



  • Run FRT for long running pages (Failed Request Tracing)



  • Sql Connection pooling in code



  • Look at load testing using visual studio load testing tools



  • Log parser  finding long running pages.  Here is a couple examples



  • Look at CPU, Memory and disk counters.  Make sure the server has enough resources.



  • Same machineKey account across all same nodes



  • Localize content vs. using UNC based content on a single server (My UNC tag with great posts)


  • Read more: Steve Schofield Weblog