Groups | Blog | Home
all groups > dotnet performance > june 2005 >

dotnet performance : HttpWebRequest: Processing synchronous or asynchronous


Sojwal Chitnis
6/9/2005 10:52:53 PM
Hi,

We have a asp.net web application in which we are making HTTP requests to a
remote
web server (CGI) & get response in form of XML data. We are using
HttpWebRequest
object to post the request. In case of concurrent users using our web
application:
1. On a page if there are multiple such HTTP requests, will IIS process the
requests
synchronously or asynchronously?
2. For concurrent users, will IIS use multiple threads to process the
requests
simultaneously?
We are using IIS6 on Windows 2003. Is there a setting to control this
behaviour?

Thanks in advance.
Alvin Bruney [MVP - ASP.NET]
6/11/2005 9:47:26 AM
by default, there are 2 simultaneous requests per connection. The rest will
be queued irrespective of synchonicity. The setting can be configured in the
config file.

[quoted text, click to view]
IIS is able to service requests asynchronously be default.

[quoted text, click to view]
ASP.NET services users from a threadpool which implies concurrency
--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
[quoted text, click to view]

AddThis Social Bookmark Button