Workflows are a way to segment the execution of your website through multiple exe. You do this for several reasons: one, if one of the workers gets clogged due to run-time problems, this does not remove the others. For example, if an html request arrives that causes the process to run to nothing, then only other requests that are processed by this working worker processor will be killed. Another example is that one request may block other threads being processed by the same worker.
As you need, do some stress tests. Hit the application hard and see what happens with only one. Then add a little more and click again. At some point, you will reach a point of truly saturating the network of machines, disk, processor, and bar. This is when you know that you have the right balance.
By the way, you can control the number of threads used for each workflow through the machine.config file. I believe the key is maxWorkerThreads.
Now, be careful if you are using a session, the state of the session is not shared between workflows. I generally recommend avoiding the session anyway, but this should be considered.
For all purposes and tasks, you can consider each workflow, since it belongs to a separate web server. In addition, they work in one window.
NotMe Jan 28 '10 at 0:15 2010-01-28 00:15
source share