Question

In Windows Server AppFabric IIS dashboard, I see call duration 0 for some of the WCF services, while it is clearly not 0 (IIS logs also prove that). This only happens to asynchronous services (task-based async). Is this expected? Is there a way to fix this?

Was it helpful?

Solution

AppFabric WCF statistics share many things with WCF performance counters & WCF analytic tracing.

Unfortunately, when working with async operation call duration, call duration is simply not supported because of the worker/IO thread switch.

You can find here and here more informations

When used on an asynchronous WCF service the Call Duration counter will always return -1.

You can try to emit user-defined events to track operations duration, but this will be be visible in the dashboard.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top