Does a web application run faster when the maximum workflows are more than one?

for IIS7 Does a web application run faster when the maximum workflows are more than one?

+13
iis-7
Apr 07 2018-11-11T00:
source share
2 answers

By increasing your maximum workflows in 1, you create a web garden. So, the short answer is: most likely not ... if:

To quote Chris Adams ex ex IIS PM I have flowers ... should I get a web garden? :

Web gardens were designed for one single reason. By offering applications that are not CPU-bound but that run lengthy requests, you can scale and not use all the threads available in the workflow.
Examples may be as follows:

Applications that perform long-running database queries (for example, a transaction with a high computing base)
Applications with threads busy with long synchronous and network transactions

The question you should ask yourself is
What is the current CPU usage by the server?
What are the application threads running and what types of requests are there?
Based on the above criteria, you should better understand when to use Web Gardens. Web gardens in the metabase are equal to the value of the MaxProcesses metabase property, unless you use the user interface to configure this function.
cscript adsutil.vbs install w3svc / apppools / defaultapppool / maxprocesses 4
I hope I have a run from this blog and, more importantly, I hope this helps you understand it better ...

You might want to take a look at "What is a Web Garden?" from Deploying ASP.NET Web Sites on IIS 7.0 [codeproject.com] , which states:

By default, each application pool works with one workflow (W3Wp.exe). We can assign multiple workflows with one application pool. An application pool with multiple workflows is called Web Gardens. Many workflows with the same application pool can sometimes provide better throughput and application response time. And each workflow must have its own Thread and Own Memory space.

+23
Apr 7 2018-11-11T00:
source share

WebGarden is faster than a single workflow if an application contains locks that prevent it from being parallelized. For example, image processing based on GDI +.

See and for details.

0
Jan 02 '17 at 18:21
source share



All Articles