Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Calling several webrequests at the same time

Reply
Thread Tools

Calling several webrequests at the same time

 
 
GM
Guest
Posts: n/a
 
      05-16-2006
(my original post was in a wrong newsgroup)

Hello,

Is it possible to call 4 webrequests from an aspx file at the same time and
then wait for the results of all 4 to come in. (4 webrequests to 4 different
servers)
I know that I can create 4 threads to do this, but when this application is
called by 100 people, will it mean that 400 threads will be running?

Is there a sollution or way around this?



 
Reply With Quote
 
 
 
 
bruce barker \(sqlwork.com\)
Guest
Posts: n/a
 
      05-16-2006
look at async mode. shoudl do what you want.

-- bruce (sqlwork.com)


"GM" <> wrote in message
news:...
> (my original post was in a wrong newsgroup)
>
> Hello,
>
> Is it possible to call 4 webrequests from an aspx file at the same time
> and
> then wait for the results of all 4 to come in. (4 webrequests to 4
> different
> servers)
> I know that I can create 4 threads to do this, but when this application
> is
> called by 100 people, will it mean that 400 threads will be running?
>
> Is there a sollution or way around this?
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
time in milliseconds by calling time.time() scriptlearner@gmail.com Python 3 07-25-2009 06:18 AM
RDOC: several related modules in several C files Victor \Zverok\ Shepelev Ruby 3 03-16-2007 04:15 PM
Calling several webrequests at the same time GM ASP General 1 05-16-2006 07:42 AM
Asynchronous WebRequests? =?Utf-8?B?RGF2ZQ==?= ASP .Net 4 06-29-2005 02:29 AM
WebRequests & 401 Unauthorized errors =?Utf-8?B?RGF2ZQ==?= ASP .Net 0 05-05-2004 12:41 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57