MaxConcurrentSessions默认情况下10或100 *处理器处理器、情况下、MaxConcurrentSessions

2023-09-06 22:24:09 作者:卡卡西

http://msdn.microsoft.com/en-us/library/ ms731379.aspx 说maxConcurrentSessions的值默认为10

http://msdn.microsoft.com/en-us/library/ms731379.aspx says value of maxConcurrentSessions is by default 10

,其中作为http://msdn.microsoft.com/en-us/library/system.servicemodel.description.servicethrottlingbehavior.maxconcurrentsessions.aspx说其100倍的处理器数量

where as http://msdn.microsoft.com/en-us/library/system.servicemodel.description.servicethrottlingbehavior.maxconcurrentsessions.aspx says its 100 times the processor count

哪种说法是正确的?是MSDN要疯了?

Which statement is true? Is MSDN going nuts?

推荐答案

的限制设置默认配置是WCF 3.5和WCF 4.0之间改变,所以10是默认的WCF之前的4.0和100 *处理器数是到WCF 4.0的值。

Default configuration of throttling setting has changed between WCF 3.5 and WCF 4.0 so 10 was default value in WCF prior to 4.0 and 100 * processors count is till WCF 4.0.