Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
What is the relation between WCF performance counter Calls, Calls duration, Calls Outstanding, Calls Per Second?

WCF Performance Counters - WCF | Microsoft Docs[^] mentions
Service: Calls - Number of calls to this service.
Does it mean no. of call sent to the service?

Service: Calls Per Second - Number of calls to this service in a second.
What is the difference between these two? please give an example.

Service: Calls Outstanding - Number of in-progress calls to this service.
How will I know how many calls my service getting and how much it is processing per second? what is the time taken?

Thanks

What I have tried:

WCF Performance Counters - WCF | Microsoft Docs[^] and other internet resources.
Posted
Updated 26-Feb-20 21:35pm
v2

1 solution

girishmeena wrote:
Service: Calls - Number of calls to this service.
The counter of total number of calls issued to the service. Every new call increments this counter by one.

girishmeena wrote:
Service: Calls Per Second - Number of calls to this service in a second.
What is the difference between these two? please give an example.
The result of the division of previous counter by the time, in seconds, the service has been running.
Same as the difference between the distance and the speed.

girishmeena wrote:
Service: Calls Outstanding - Number of in-progress calls to this service.
How will I know how many calls my service getting and how much it is processing per second? what is the time taken?
Another counter, but this one only counts the calls which have not been fully processed yet.

How to use performance counters to diagnose performance of WCF applications | Microsoft Docs[^]
Using Performance Counters - WCF | Microsoft Docs[^]
Service Performance Counters - WCF | Microsoft Docs[^]
 
Share this answer
 
Comments
girishmeena 27-Feb-20 3:49am    
Hi phil,
Thanks for the answer. I understood Calls and Calls per second from your comments.
But how will I know how many calls my service getting at this point of time? calls per second is average.

and Does it mean that my service is currently processing calls = calls outstanding value? calls outstanding always equal to throttling value I set in per call set up.

further, how will I know how many calls my service process finishing per second? it will not equal to calls outstanding, right?
phil.o 27-Feb-20 4:01am    
"But how will I know how many calls my service getting at this point of time? calls per second is average."
You would have to read the value periodically, then substract the previous value and divide by the length of the period. If you choose period 1s, this becomes trivial as this means dividing by one.

"and Does it mean that my service is currently processing calls = calls outstanding value? calls outstanding always equal to throttling value I set in per call set up."
I don't understand this question.

"further, how will I know how many calls my service process finishing per second? it will not equal to calls outstanding, right?"
Same as first answer: choose a period, and each time subtract the previous value and divide by the length of the period. This will give you an idea of an "instant" rate rather than an average one.
girishmeena 27-Feb-20 7:17am    
okay, to know how many calls my service getting I can take N1(no. of calls at lets say 7PM) and then N2(no. of calls at 7:01 PM). N2-N1 is no. of calls i am getting in 1 mins. Thanks

Similarly, for no. of call in processing will find with the help of calls outstanding. what about the calls processed (not processing)?
phil.o 27-Feb-20 7:27am    
Yes, N2 - N1 will be the difference between the count at 7PM and that at 7:01PM. If you want the rate of change, divide by the length of the period (i.e., divide by 60 to get the number of calls per second, or do not divide [or more exactly, divide by one, which is a no-op] and you will have the number of calls per minute).

The first counter counts processed calls.
The second one counts processing calls.
What about processed calls? Why would their mathematics differ from the processing calls?
girishmeena 27-Feb-20 8:23am    
ahh, got it. This counter tells about processed no. of requests.
Service: Calls - Number of calls to this service.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900