Re: Multiple threads or app instances?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Tumur:

On Fri, 1 Jul 2005 17:10:01 +0900, "Tumurbaatar S."
<spam_tumur@xxxxxxxxxxx> wrote:

>
>What do all above mean? ASP.NET/IIS launches multiple web applications for
>every
>request/session or one application (which starts when first request comes)
>with multiple threads where each thread is responsible for each
>request/session?
>

No, ASP.NET doesn't launch an application for every request.
HttpApplication is a poor choice for the name of the class - it
doesn't really represent an 'application'. ASP.NET will create a bunch
of these objects, and keep them in a 'pool', and each time a request
arrives one will get pulled out of the pool and associated with the
request.

I have some more information in an article, with additional links at
the bottom:
http://odetocode.com/Articles/89.aspx

--
Scott
http://www.OdeToCode.com/blogs/scott/
.



Relevant Pages

  • Re: pop century or all star sports
    ... How did you request your room prefrence at Pop Century? ... My son was 6 the first time we stayed on property and Sports was our first ... we LOVED the baseball themed pool. ... The foodcourt was only a 5 minute walk, ...
    (rec.arts.disney.parks)
  • Re: Shared Pool v$sgastat problem
    ... > Shared Pool: 256 MB ... Number of times that no memory was found to satisfy a request (that ... flushing objects from the LRU list ... And you should also be looking at WHICH pool is causing your errors. ...
    (comp.databases.oracle.server)
  • Re: Threading advice sought
    ... tcl, or are at the C level (mapping shared memory pages, or simply ... You can think about it in terms of other servers. ... create new COM objects for every request, ... or create a pool of COM objects for reuse. ...
    (comp.lang.tcl)
  • Re: [PATCH rc6] block: Fix CDROMEJECT to work in more cases
    ... > On Tue, 20 Dec 2005, Jens Axboe wrote: ... There are two sides to this - looking at the request allocations pools, ... But a request that originates from that particular pool (in this ... not issue any request unless it needed to transfer data from a device. ...
    (Linux-Kernel)
  • Re: Asynchronous Fire-And-Forget Call
    ... at the start of the request a thread is selected from the pool. ... you proably want one background thread, or a pool, created as needed. ... I am using an AsyncHelper class mentioned in other posts to help get ...
    (microsoft.public.dotnet.framework.aspnet)