Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42406

Parallel Web Service Call From Windows Form Application

$
0
0
Hi,
I have been trying to write a load tester, in a windows forms application, to send multiple requests to the same web service in a parallel for loop, and get the timing for each call using StopWatch.

However, as soon as I get above 2 threads (I have a processor count of 4 so at least 4 threads should be ok) the requests start to slow down significantly.

A call that usually take 500MS starts to take 1000MS or more, and the more threads i use the slower the calls??

I have increased the allowed number of HTTP requests allowed on my machine from the default 2 to 50 but this made no difference.

Is there a bottle neck some where lower down beyond the code, ie in the operating system??

Many thanks
Paul

Viewing all articles
Browse latest Browse all 42406

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>