是什么限制了 WCF ServiceModelService.Instances?
我正在尝试使用 (IIS6/Server2003/BasicHttpBinding) 对 WCF 服务进行负载测试。 该服务按如下方式进行限制:
<serviceThrottling maxConcurrentCalls="100" maxConcurrentSessions="100" maxConcurrentInstances="100"/>
为了评估服务器上的调用数量,我使用了 ServiceModelService 3.0.0.0 性能计数器。 如果我将 maxConcurrentCalls 限制为 20、15、10 或任何更低的值,则实例性能计数器显示 WCF 正在遵守限制。 但是,如果我将 maxConcurrentCalls 更改为 30,我永远无法让实例数超过 24。此外,未完成的呼叫永远不会超过 24。还有什么可能限制 WCF?
I'm attempting to load test a WCF service with (IIS6/Server2003/BasicHttpBinding). The service is throttled as follows:
<serviceThrottling maxConcurrentCalls="100" maxConcurrentSessions="100" maxConcurrentInstances="100"/>
To assess the number of calls on the server I'm using the ServiceModelService 3.0.0.0 performance counters. If I throttle the maxConcurrentCalls down to 20, 15, 10 or anything lower the Instances performance counter show that WCF is respecting the throttling. However, if I change maxConcurrentCalls to 30 I'm never able to get Instances to go above 24. Additionally, Calls Outstanding never goes above 24. What else could be limiting WCF?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅 为什么 WCF 负载测试只有两个并发请求?
See Why Only Two Concurrent Requests for WCF Load Testing?