【问题标题】:How to increase WCF Throttling for a performance load test如何为性能负载测试增加 WCF 限制
【发布时间】:2017-04-02 18:52:32
【问题描述】:

我正在准备我的 WCF 服务以进行性能负载测试。我们需要找到系统限制。

我的理解是,默认的 WCF 节流设置会影响性能负载测试,并且不允许找到系统限制。

增加和放松 WCF 限制设置需要哪些配置设置?

到目前为止,我想到了以下几点,我想知道它们是准确的还是正确的?

        <behavior name="B1">
            <serviceThrottling maxConcurrentCalls="20000" maxConcurrentSessions="20000" maxConcurrentInstances="20000"/>
        </behavior>

【问题讨论】:

    标签: wcf throttling


    【解决方案1】:

    永远不会忘记设置最大连接属性:

    <system.net>
    <connectionManagement>
      <add address="*" maxconnection="500" />
    </connectionManagement>
    

    默认值为 2。有关更多信息,您可以阅读以下内容:scale up WCF service

    【讨论】:

      猜你喜欢
      • 2010-11-14
      • 2012-06-06
      • 2011-11-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多