如何为性能负载测试增加 WCF 限制 [英] How to increase WCF Throttling for a performance load test

查看:30
本文介绍了如何为性能负载测试增加 WCF 限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am preparing my WCF services for a performance load test. We need to find the system limits.

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

My understanding is that the default WCF throttling settings will impact performance load tests and does not allow to find the system limit.

我需要增加和放宽 WCF 限制设置的配置设置是什么?

What are the configuration settings that I need to increase and loosen up the WCF throttling settings?

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

So far I have the following items in mind and I wonder if they are accurate or the correct ones?

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

推荐答案

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

never forgot to set max connection property:

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

默认值为 2.有关更多信息,您可以阅读以下内容:扩大 WCF 服务

the default value is 2. for more information you can read this: scale up WCF service

这篇关于如何为性能负载测试增加 WCF 限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆