How to increase WCF Throttling for a performance load test

Deadly 提交于 2020-01-15 08:42:49

问题


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

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

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>

回答1:


never forgot to set max connection property:

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

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



来源:https://stackoverflow.com/questions/40685244/how-to-increase-wcf-throttling-for-a-performance-load-test

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!