Thanks for response. If I call another web service C from my web service B,
wouldn't an I/O thread be used ? And, in which case, making the web service
B's web method asynschronous to call web sevice C asynchronously would help
? I saw that recommendation in MSDN. Wouldn't I/O thread be also used when
web service sends data asynschronously over a socket connection ? More
comments below:
"Brock Allen" <> wrote in message
news: ...
>> 1. Is maxIothreads parameter used still in IIS 6 ? For processing web
>> service requests, I don't see ASp.NET AvailableIOThreads going down ?
>> If I use another web service from my web service, would IO thread be used
>> or worker thread ?
>
> IOThreads are no longer used to service requests in IIS6.
>
>> 2. My web service is used by another web service(A) which sends a
>> one-way
>> request to my web service and I want to free up that consumer web
>> service A
>> as soon as possible. So, I use ThreadPool.QueueUserWorkItem to qeuee
>> request
>> for procssing. I see the thread pool thread is the SAME as the request
>> thread used by A web service. Is that normal ? Is the web service A
>> really
>> freed-up ?
>
> The concern with using the thread pool to do async work in ASP.NET (and
> webservices) is that it's the same threadpool that is servicing your pages
> and webservices. So it's very easy to flood your threadpool with async
> work such that your application is no longer responsive. I'd suggest doing
> async work with your own threadpool. Mike Woording has a great one that
> I've used before:
>
> http://www.bearcanyon.com/dotnet/#threadpool
[Navin]Indeed. The question above is different a bit. Just for my
information, when using the system thread pool, is the web service A sending
one way request to web service B in above scenario is really freed up when
its worker thread is reused to server a queued request from the pool.
>
> -Brock
> DevelopMentor
> http://staff.develop.com/ballen
>
>
>