Reputation:
ServicePointManager.DefaultConnectionLimit sets the maximum number of concurrent sessions for a Worker Role, but how can I find the best value here?
Upvotes: 13
Views: 17244
Reputation: 33270
According to Microsoft Support, 12 * [Number of logical CPUs] is a good value.
If you're using .Net 4.5, the defaults are already set to more sensible values.
Upvotes: 12
Reputation: 1469
This is the best advise on getting the value is here on forums. Also read the knowledge base article listed.
The point is that the default of 2 will get you into trouble with connection drops.
Upvotes: 6