Hi,
a) Yes. This is called a "web garden". You may wish to do this if your
application is designed in such a way that all the threads in one worker
process become busy. This leaves threads in the other process available to
service requests
b) Yes
c) No - you can not choose to have App1 services by one w3wp.exe and App2
serviced by a separate w3wp.exe. If you want to do that, create three
separate application pools, and assign each application to a different app
pool. Then, each app pool will have it's own w3wp.exe process, and requests
for App1, App2, App3 will be routed to their respective w3wp.exe processes
Yes, you will need to use out-of-process session state management. Unless
you serialise objects out (e.g. to disk or similar) you can not access them
across process boundaries.
Cheers
Ken
[quoted text, click to view] "J-T" <J-T@nospam.com> wrote in message
news:e2OxxGh9FHA.808@TK2MSFTNGP09.phx.gbl...
:
: I guess I'm a litte bit confused about app pool and worker process.
:
: In IIS 6.0 We have a concept of worker processes and application pools. As
I
: understand it, we can have multiple worker process per appliction pool.
Each
: worker process is dedicated to a pool. If I assign only one application to
a
: applicaton pool then:
:
: 1) Can I have multiple worker processes assigned to that pool? If yes,what
: is the advantage of doing so?
:
: 2) if the answer to the above question is yes,Will my application be
: processed by many worker processes?
:
: 3) let's assume there are three worker processes in my application pool
and
: each one is for one application -App1,App2,App3 -How do I share an object
: between all these three application ? about the state I guess I have to
use
: an state management tool from outside ,but about application variables I
am
: not sure.
:
:
: Thanks a lot for your time
:
: