Re: Poor ISAPI performance in comparison to ASP.NET
From: Egbert Nierop \(MVP for IIS\) (egbert_nierop_at_nospam.invalid)
Date: 10/01/04
- Next message: Jeff Mowatt: "Re: IIS6 - CGI won't run on 'new website'"
- Previous message: David Wang [Msft]: "Re: Help with IIS 6.0 and port mappings"
- In reply to: Ben Rush: "Re: Poor ISAPI performance in comparison to ASP.NET"
- Next in thread: Wade A. Hilmo [MS]: "Re: Poor ISAPI performance in comparison to ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 1 Oct 2004 10:53:10 +0200
"Ben Rush" <kwendex@yahoo.com> wrote in message
news:OrLzhqzpEHA.896@TK2MSFTNGP12.phx.gbl...
> Wade,
>
> Thanks for your quick response; I appreciate you MS guys monitoring these
> groups.
>
> What I found today was actually quite interesting - it appears that when I
> run my ISAPI extension out of proc, IIS
> runs multiple threads through it. Using the Win32 ::GetCurrentThreadId()
> and ::OutputDebugString, I'm able to see multiple threads passing through
> the code of my ISAPI when its out of proc. However, when in proc there
> appears to be only ONE thread ever used, and the
> ConnID value of the ISAPI context structure is always the same (I assume
> this is due to the same thread). ASP.NET employs its own thread-pooling
> mechanism (I've seen this via empircal tests and
> AppDomain.GetCurrentThreadID()).
>
> In summary, it looks as though the performance hit I'm seeing is a result
> of a single thread of execution hitting my inproc DLL. Would
> an ATL Server solve this? Currently I just created a DLL and exported the
Yes, ATL server makes it more easy to create thread pools and such. A plain
ISAPI filter, runs without threadpools and without caching.
-- compatible web farm Session replacement for Asp and Asp.Net http://www.nieropwebconsult.nl/asp_session_manager.htm > necessary functions - I see a lot of work has gone into ATL Server > in the latest release of Visual Studio. I also see from reading online it > performs its own thread-pooling and I can only assume that, since its ATL, > it's > pretty fast..... >
- Next message: Jeff Mowatt: "Re: IIS6 - CGI won't run on 'new website'"
- Previous message: David Wang [Msft]: "Re: Help with IIS 6.0 and port mappings"
- In reply to: Ben Rush: "Re: Poor ISAPI performance in comparison to ASP.NET"
- Next in thread: Wade A. Hilmo [MS]: "Re: Poor ISAPI performance in comparison to ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|