What to set ServicePointManager.DefaultConnectionLimit to

前端 未结 2 1115
野的像风
野的像风 2020-12-05 16:14

ServicePointManager.DefaultConnectionLimit sets the maximum number of concurrent sessions for a Worker Role, but how can I find the best value here?

2条回答
  •  旧巷少年郎
    2020-12-05 16:39

    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.

提交回复
热议问题