Wcf ServiceThrottling默认值?

Wcf ServiceThrottling默认值?,wcf,default-value,throttling,Wcf,Default Value,Throttling,你好, 据此,WCF 4.0的默认值如下: MaxConcurrentSessions: 16*处理器计数 MaxConcurrentSessions: MaxConcurrentCalls+MaxConcurrentSessions 100*处理器计数 MaxConcurrentSessions: 100*处理器计数 我知道,不太清楚。当查看MSDN(WCF 4.0)上的文档时,它说: maxConcurrentCalls:16 maxConcurrentInstances:26 max

你好,

据此,WCF 4.0的默认值如下:

  • MaxConcurrentSessions: 16*处理器计数
  • MaxConcurrentSessions: MaxConcurrentCalls+MaxConcurrentSessions 100*处理器计数
  • MaxConcurrentSessions: 100*处理器计数
我知道,不太清楚。当查看MSDN(WCF 4.0)上的文档时,它说:

  • maxConcurrentCalls:16
  • maxConcurrentInstances:26
  • maxConcurrentSessions:10
但是,如果我看一下wcf4.5一些值是基于CPU的,如第一个示例

  • maxConcurrentCalls:16倍处理器计数
  • maxConcurrentInstances:默认值是MaxConcurrentSessions的默认值和MaxConcurrentCalls的默认值之和
  • maxConcurrentSessions:默认值为处理器计数的100倍

那么,哪一个是正确的呢?

在WCF 4.0之前,默认值是

  • 同时通话:16
  • 同时举行的会议:10次
  • 并发实例:并发调用+并发会话(26)
从WCF 4.0开始,它们是

  • 并发调用:16*处理器计数
  • 并发会话:100*处理器计数
  • 并发实例:并发调用+并发会话

作为参考,这里有一篇MSDN博客文章,明确说明了从4.0开始所做的上述更改: