|
-
May 30th, 2011, 05:09 AM
#1
HttWebRequest ServicePoint.ConnectionLimit
Hi all,
I need to make about 300,000 HTTP requests to an URL. (Yes I know it's a lot, and there's no way to prevent this amount of calls).
To increase the speed, I did some testing with increasing the ServicePoint.ConnectionLimit in the app.config. Increasing the limit to 1000 or even 10,000 give a great performance boost. Making 10,000 calls completed withing 6 seconds.
I did these testing on my PC in a console application. I copied the code into my webapplication. In both my local (ASP.NET) webserver as the production's webserver (IIS) the ConnectionLimit is set to 48. Now it takes abount a minute to complete 10,000 requests.
Is there any wat to increase this limit as well in a webserver?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|