简体   繁体   English

云服务工作者角色ServicePointManager.DefaultConnectionLimit

[英]Cloud service worker role ServicePointManager.DefaultConnectionLimit

While reading through the code, often the code sample has a line 'ServicePointManager.DefaultConnectionLimit=12', trying to understand what this is, all seems to point to outbound connection limit for Http request. 在阅读代码时,通常代码示例中有一行“ ServicePointManager.DefaultConnectionLimit = 12”,试图了解这是什么,所有这些似乎都指向Http请求的出站连接限制。 If my worker role does not make any request to other resources, shall I even care about this setting? 如果我的工作人员角色未向其他资源提出任何请求,我是否还会在意此设置? Thanks 谢谢

Yes, if your Role does not make any request to other resources, then this setting does not matter to you. 是的,如果您的角色未向其他资源发出任何请求,则此设置对您而言无关紧要。

You can learn more about this setting at the following link. 您可以通过以下链接了解有关此设置的更多信息。 http://blogs.msdn.com/b/jpsanders/archive/2009/05/20/understanding-maxservicepointidletime-and-defaultconnectionlimit.aspx http://blogs.msdn.com/b/jpsanders/archive/2009/05/20/understanding-maxservicepointidleletime-and-defaultconnectionlimit.aspx

What to set ServicePointManager.DefaultConnectionLimit to 将ServicePointManager.DefaultConnectionLimit设置为什么

-Nithin -Nithin

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM