p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   VS.NET 2002/2003 (http://p2p.wrox.com/forumdisplay.php?f=103)
-   -   Multi threading, web service requests (http://p2p.wrox.com/showthread.php?t=52566)

sheel January 11th, 2007 05:26 AM

Multi threading, web service requests
 
Hi all,

my requirement is to bombard the web service by multiple requests.

I am trying to send multiple requests to the web service through a vb.net application, I am creating multiple threads, a single thread calls shared function which creates request using asynchronous httpwebrequest, on the client side application works fine. But when I checked the service it is only receiving max of 2 threads at a time.

I need help in architecture and code.


planoie January 11th, 2007 03:44 PM

That's a limitation/setting of the web server. Just like how my home phone can only receive (and process) 1 call at a time, regardless of how many people are calling.

-Peter

sheel January 12th, 2007 04:39 AM

the webservice is capable of handling 50+ requests at a time. if i send requests from diferent-2 systems i can see the working threads on the server side and also if i send requests from 3-4 instances of the application on one system then also i can see 6-8 threads.
my prob is the application is not making asynchronous calls or i dont know wats going wrong.



All times are GMT -4. The time now is 04:49 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.