How do you get WCF performance metrics?

WCF is a common communication structure, and the more you use it, the more buttons you will find to configure (endpoint, security, serialization, etc.). I have an application that is sensitive to a number of QoS attributes, and I would like to start setting parameters to understand how each affects the bandwidth, latency and scalability of this WCF-based application.

As far as I can see, there is no common entry point for collecting the following indicators, but I hope that we will come up with a list of methods for collecting them:

  • Number of calls
  • Round trip
  • Bandwidth usage
  • Serialized Request and Response Size

FWIW, I am not against capturing these indicators if there are reasonable entry points where I can insert hooks (even if this means that I need to dive into a specific implementation - for example, DuplexChannel).

+3
source share
1 answer

WCF has a ton of performance counters available - from your Windows performance monitor, you can select a wide range of counters to see how things work.

You can measure a ton of things, such as the number of simultaneous calls, the duration of these calls, and more. Click on it - it is almost endless in its capabilities !: -)

For more information, see WCF Performance Counters on MSDN.

, , WCF .

+5

Source: https://habr.com/ru/post/1725462/


All Articles