本文介绍了ServiceThrottling默认值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
根据此链接 WCF 4.0 的默认值为:
- MaxConcurrentSessions: 16 * Processorcount
- MaxConcurrentSessions: MaxConcurrentCalls + MaxConcurrentSessions 100 *处理器数量
- MaxConcurrentSessions: 100 *处理器数量
- MaxConcurrentSessions: 16 * processorcount
- MaxConcurrentSessions: MaxConcurrentCalls + MaxConcurrentSessions 100 * processorcount
- MaxConcurrentSessions: 100 * processorcount
我知道,不清楚。当查看MSDN( WCF 4.0 )的文档时,它说:
I know, not that clear. When looking in the documentation at MSDN(WCF 4.0) it says this :
- maxConcurrentCalls: 16
- maxConcurrentInstances: 26
- maxConcurrentSessions: 10
- maxConcurrentCalls : 16
- maxConcurrentInstances : 26
- maxConcurrentSessions : 10
但是,如果我看看 WCF 4.5 ,其中一些值是基于CPU的,如第一个示例
If I however look at the WCF 4.5 some of the values is based on CPU like the first example
- maxConcurrentCalls:处理器数量的16倍
- maxConcurrentInstances:默认值为MaxConcurrentSessions的默认值与MaxConcurrentCalls的默认值之和
- maxConcurrentSessions:默认值为处理器计数的100倍 >
- maxConcurrentCalls : 16 times the processor count
- maxConcurrentInstances : The default is the sum of the default value of MaxConcurrentSessions and the default value of MaxConcurrentCalls
- maxConcurrentSessions : The default is 100 times the processor count
那么一个女巫是正确的吗?
So witch one is the correct one?
推荐答案在WCF 4.0之前,默认值为
Before WCF 4.0 the default values were
- 并发调用:16
- 并发Sessio ns:10
- 并发实例:并发呼叫和并发会话(26)
来自WCF从4.0开始起
From WCF 4.0 onwards they are
- 并发呼叫:16 *处理器数量
- 并发会话:100 *处理器count
- 并发实例:并发呼叫和并发会话
更多推荐
ServiceThrottling默认值?
发布评论