Webcervice wcf queue performance counters

I am trying to run a test for a wcf web service which should get a lot of traffic. What performance counters are reasonable to use and for what purposes .. Naturally, I look at the processor and RAM, but I would like to know when IIS calls into question and when it has problems ...

Any advice on smart performance counters would be greatly appreciated ...

Greetings alex

+3
source share
3 answers

MSDN has a whole section of WCF administration and diagnostics , namely performance counters in WCF .

, endpoint .

, .

+2

, , , .

. -, , webservice. , . CPU. . - , , , /. . , / .

, , .

. , , , .

, , , , .

0

, :

HKLM/Services/CurrentControlSet/service/
  Add ServiceModelService 4.0.0.0
  under that add Performance then add a DWORD FileMappingFile.
  The size for that will be number of services exposed * 33 * 350.

<system.ServiceModel>
  <diagnostics performanceCounters="ServiceOnly"/>
</system.ServiceModel>

: CPU/RAM ( )/ ,

CPU will show you how heavily your are saturating your server
RAM will show if you have memory leaks if it continues to grow and grow and grow
Calls will show the number of calls you are getting accumulative, 
Calls Per Second will give you the volume you're handling
Calls Outstanding are clients that are waiting because your services could not handle the volume.

, , " " " ". ( )

, , , . , .

0

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


All Articles