开发者

IIS performance improvements

What can be done to improve performance in IIS? When I deploy my webapplication to my local IIS machine it goes much slower than when I run the solution in 开发者_如何学Govisual studio without debugging. The difference is remarkable, like double as fast.


Some things I can think of -

  1. Check your processor usage and memory usage - this can be extremely important.

  2. check if Gzip compression is enabled - enabling this on an already overloaded CPU can further degrade performance. However over network this will save you bandwidth, so its a good option to enable when processor is not overloaded

  3. Is this on the same machine or different machines? If your build machine is less capable than your development machine (which is sometimes the case) that could add to the problem

Also have you considered the initial compile time for the websites? At least the first page load in local IIS will be somewhat slower because of the initial compilation that takes place on request of the page. In Visual studio, you will see this separately as a build step and this could also create an illusion of VS dev server being faster than IIS.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜