O'Reilly logo

ASP.NET Site Performance Secrets by Matt Perdeck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuration changes

If you have a lot of free CPU and memory on your server, it may be worthwhile to tweak the maximum number of threads executing requests.

Keep in mind that the runtime conservatively manages the number of threads used to execute requests. Hence, even if you increase the maximum number of threads, that may not lead to more threads being used.

Tip

WARNING

Be careful here. You can spend a lot of time on this and end up doing more harm than good. Load test your solution before taking it into production (chapter 14 shows how to do load testing).

IIS 6, IIS 7 Classic Mode

In IIS 6 and IIS 7 when using the classic pipeline mode, the maximum number of threads is determined by the following formula:

Maximum threads = (maxWorkerThreads * ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required