MaxConcurrentSessions默认为10或100 *处理器

时间:2011-04-03 19:52:05

标签: .net wcf performance

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

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

哪种说法属实? MSDN会疯了吗?

1 个答案:

答案 0 :(得分:2)

限制设置的默认配置在WCF 3.5和WCF 4.0之间已经更改,因此10是WCF之前的默认值4.0和100 *处理器计数直到WCF 4.0。