简体   繁体   中英

Perfmon / PAL: Measurement of send/received bytes for a web server hosted in IIS

I have a web server (.aspx pages and WCF interface) hosted in IIS and wanted to analyze the amount of data received/send. The service communicating over the WCF interface was disabled on the client side. I was creating a Data Collector Set in Perform to track 4h of traffic and analyzed it with PAL. I used the performance counters WebService Total Bytes Received (resp. WebService Total Bytes Send) and expected much more received data, than send. But the send data is much higher.

What exactly is it measuring with the performance counter WebService Total Bytes Received (resp. WebService Total Bytes Send)?

Is the data from/to a WCF service (if it would be requested) also included or is it only my HTTP traffic?

Thanks Marcel

PAL shows the documentation of WebService.TotalBytesReceived and WebService.TotalBytesSent. It is the data sent and received by the web service. It inlcudes the HTTP and WCF traffic.

As it is not possible to just turn off the WCF service ( How to Start and stop wcf services in IIS ) to just measure the HTTP traffic, wireshark was used to find out how many data will be received/send over the corresponding port.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM