ServiceThrottling默认值?

编程入门 行业动态 更新时间:2024-10-28 05:14:49
本文介绍了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:默认值为处理器计数的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默认值?

本文发布于:2023-10-22 08:05:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1516937.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:默认值   ServiceThrottling

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!