Udostępnij za pośrednictwem


Remoting Performance Counters

This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the  Windows Communication Foundation (WCF).

The Performance console .NET CLR Remoting category includes counters that provide information about the remoted objects that an application uses. The following table describes these performance counters.

Performance counter Description

Channels

Displays the total number of remoting channels registered across all application domains since application started. Channels transport messages to and from remote objects.

Context Proxies

Displays the total number of remoting proxy objects in this process since it started. A proxy object acts as a representative of the remote objects and ensures that all calls made on the proxy are forwarded to the correct remote object.

Context Bound Classes Loaded

Displays the current number of context-bound classes that are loaded. Classes that can be bound to a context are called context-bound classes. Context-bound classes are marked with context attributes, which provide usage rules for synchronization, thread affinity, transactions, and so on.

Context-Bound Objects Alloc / sec

Displays the number of context-bound objects allocated per second. Classes that can be bound to a context are called context-bound objects. Context-bound classes are marked with context attributes, which provide usage rules for synchronization, thread affinity, transactions, and so on.

This counter is not an average over time; it displays the difference between the values observed in the last two samples divided by the duration of the sample interval.

Contexts

Displays the current number of remoting contexts in the application. A context is a boundary containing a collection of objects with the same usage rules such as synchronization, thread affinity, transactions, and so on.

Remote Calls / sec

Displays the number of remote procedure calls invoked per second. A remote procedure call is a call on any object outside the caller's application domain. This counter is not an average over time; it displays the difference between the values observed in the last two samples divided by the duration of the sample interval.

Total Remote Calls

Displays the total number of remote procedure calls invoked since the application started. A remote procedure call is a call on any object outside the caller's application domain.

See Also

Other Resources

Performance Counters
Runtime Profiling
.NET Remoting