Search code examples
asp.netmulticore

Does ASP.NET by default take advantage of multicore processor?


Or I have to configure IIS specifically for this ? Do I have to use Web garden to take advantage of multiple cores ?


Solution

  • A web server is multi-threaded (at least, IIS is).

    Any multi-threaded program will be distributed over all available cores by the Windows scheduler by default (though "processor affinity" can be tuned in the task manager, for example). Whether you are using ASP.NET or any other application server/language makes no difference here.