Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Performance / June 2005

Tip: Looking for answers? Try searching our database.

HttpWebRequest: Processing synchronous or asynchronous

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sojwal Chitnis - 09 Jun 2005 18:22 GMT
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] - 11 Jun 2005 14:47 GMT
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.

> 1. On a page if there are multiple such HTTP requests, will IIS process
> the
> requests
> synchronously or asynchronously?
IIS is able to service requests asynchronously be default.

> 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?
ASP.NET services users from a threadpool which implies concurrency
Signature

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

> Hi,
>
[quoted text clipped - 16 lines]
>
> Thanks in advance.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.