There are 25 performance statistics that you can monitor at the Service Component Architecture level. You can use these Application Response Measurement statistics, which are either counters or timers, to measure invocations to and responses from services in a variety of patterns.
The Application Response Measurement (ARM) statistics shown in the following tables are — in a very simplified manner — time and count measurements of caller invocations to the Service Component Architecture (SCA) layer, and the results returned from a service. There are, in fact, a number of service invocation patterns that vary between synchronous and asynchronous implementations of deferred responses, results retrievals, callbacks, and one-way invocations. All of these, however, are between the caller invocation and a service, the response from the service, or, in some cases, a data source, with the SCA layer interposed in between.
Event type | Element(s) |
---|---|
Selector | Operation |
Map | Map Transformation |
Mediation | OperationBinding ParameterMediation |
Resource adapter | InboundEventRetrieval InboundEventDelivery Outbound |
Statistic name | Type | Description |
---|---|---|
GoodRequests | Counter | Number of server invocations not raising exceptions. |
BadRequests | Counter | Number of server invocations raising exceptions. |
ResponseTime | Timer | Duration measured on the server side between the reception of a request and computing the result. |
TotalResponseTime | Timer | Duration measured on the caller side, from the time a caller requests a service to the time when the result is available for the caller. Does not include the processing of the result by the caller. |
RequestDeliveryTime | Timer | Duration measured on the caller side, from the time a caller requests a service to the time when the request is handed over to the implementation on the server side. In a distributed environment the quality of this measurement depends on the quality of synchronization of system clocks. |
ResponseDeliveryTime | Timer | The time required to make the result available to the client. In the case of deferred response this time doesn't include the result retrieve time. In a distributed environment the quality of this measurement depends on the quality of synchronization of system clocks. |
Statistic name | Type | Description |
---|---|---|
GoodRefRequests | Counter | Number of caller invocations to the SCA layer that do not raise exceptions. |
BadRefRequests | Counter | Number of caller invocations to the SCA layer that do raise exceptions. |
RefResponseTime | Timer | Duration measured on the caller side, from the time the caller makes a request to the SCA layer and the time when the results of that call are returned to the caller. |
BadRetrieveResult | Counter | Number of caller invocations to a data source that do raise exceptions. |
GoodRetrieveResult | Counter | Number of caller invocations to a data source that do not raise exceptions. |
RetrieveResultResponseTime | Timer | Duration measured on the caller side, from the time the caller makes a request to the data source and the time when the data source response is returned to the caller. |
RetrieveResultWaitTime | Timer | Duration measured on the caller side if a timeout occurs. |
Statistic name | Type | Description |
---|---|---|
GoodTargetSubmit | Counter | Number of SCA invocations to the service that do not raise exceptions. |
BadTargetSubmit | Counter | Number of SCA invocations to the service that do raise exceptions. |
TargetSubmitTime | Timer | Duration measured on the server side, from the time the SCA makes a request to the service and the time when the results of that call are returned to the SCA. |
GoodResultSubmit | Counter | Number of service invocations to the data source that do not raise exceptions. |
BadResultSubmit | Counter | Number of service invocations to the data source that do raise exceptions. |
ResultSubmitTime | Timer | Duration measured on the server side, from the time the service makes a request to the data source and the time when the results of are returned to the service. |
Statistic name | Type | Description |
---|---|---|
GoodCB | Counter | Number of SCA invocations to the callback that do not raise exceptions. |
BadCB | Counter | Number of SCA invocations to the callback that do raise exceptions. |
CBTime | Timer | Duration from the time the SCA makes a request to the callback, and the time when the results from the callback are returned to the SCA. |
GoodCBSubmit | Counter | Number of invocations from the service to the SCA handling the callback that do not raise exceptions. |
BadCBSubmit | Counter | Number of invocations from the service to the SCA handling the callback that do raise exceptions. |
CBSubmitTime | Timer | Duration from the time the service makes a request to the SCA handling the callback, and the time when the results from the SCA to the service. |
The following topics show how these statistics are used in a variety of implementations: