如何监视排队的连接 [英] how to monitor queued connections
问题描述
nettcpbinding上的listenbacklog属性使您可以为wcf服务设置队列连接的最大数量.
是否可以使用性能监视器(perfmon)/性能计数器或其他工具来监视与服务的排队连接数?我们想知道服务何时无法跟上负载和排队请求.我尝试使用 待处理的呼叫"计数器,但它不反映排队的连接.
谢谢
JP
是的,您可以尝试使用性能计数器来使用Perfmon.exe.有一些关于类似问题的话题讨论,供您参考.
http://stackoverflow .com/questions/2078291/如何找到如何并发连接到wcf-service-
http://forums.asp.net/t/1675037.aspx/1 >
使用"Perfmon"的#WCF服务性能监视
http://www.codeproject.com/Articles/431917/WCF -Performmon服务性能监控
Hi,
The listenbacklog attribute on a nettcpbinding lets you set the maximum # of queued connections for your wcf service.
Is there a way to use performance monitor (perfmon)/ performance counters or some other tool to monitor the number of queued connections to the service? We want to know when the service is unable to keep up with load and queueing requests. I tried using the "Calls Pending" counter, but it does not reflect queued connections.
Thank you,
JP
Hi,
Yes, you can try using performance counters to use Perfmon.exe. There are some threads talks on similar issue, for your information.
http://forums.asp.net/t/1675037.aspx/1
#WCF Service Performance Monitoring using "Perfmon"
http://www.codeproject.com/Articles/431917/WCF-Service-Performance-Monitoring-using-Perfmon
这篇关于如何监视排队的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!