Measuring Transaction Performance Across Application Asynchronous Flows
Abstract
A mechanism modifies a deployment descriptor of each application component including at least one producer application component or consumer application component, by adding, for each producer application component or consumer application component, an application component identifier, a producer or consumer type, and a recipient identifier of a recipient the application component uses. Responsive to determining a match exists and the given application component is of producer type, the application server virtual machine logs an identifier of a recipient containing a message sent by the given application component, a correlation identifier of the given application component, and an execution start time. Responsive to determining a match exists and the given application component is of consumer type, the application server virtual machine logs an identifier of the recipient resource containing a message processed by the given application component, a correlation identifier of the given application component, and an execution end time.
Claims
exact text as granted — not AI-modified1 . A method for identifying processing time of asynchronous transactions in applications running on an application server virtual machine, wherein the asynchronous transactions involve execution in one application component of a producer application component, sending a message into a recipient, and execution in a consumer application component, the method comprising:
modifying a deployment descriptor of each application component of an application including at least one producer application component or consumer application component, by adding, for each producer application component or consumer application component, an application component identifier, a producer or consumer type, and a recipient identifier of a recipient the application component uses; the application server virtual machine, when executing a transaction using a given application component, determining whether the given application component matches an application component identifier in the deployment descriptor of the given responsive to determining a match exists and the given application component is of producer type, the application server virtual machine logging an identifier of a recipient containing a message sent by the given application component, a correlation identifier of the given application component, and an execution start time; responsive to determining a match exists and the given application component is of consumer type, the application server virtual machine logging an identifier of the recipient resource containing a message processed by the given application component, a correlation identifier of the given application component, and an execution end time.
2 . The method of claim 1 , wherein modifying the deployment descriptor of each application component is performed at application assembly time.
3 . The method of claim 2 , wherein the recipient identifier is a generic name.
4 . The method of claim 1 , wherein modifying the deployment descriptor of each application component is performed at application deployment time.
5 . (canceled)
6 . The method of claim 1 , wherein the recipient identifier is a database table identifier.
7 . The method of claim 1 , wherein the recipient identifier is a queue identifier.
8 . The method of claim 1 , further comprising:
mapping correlation identifiers of records logged by the application server virtual machine; identifying a record with an execution start time and a record with an execution end time having matching correlation identifiers; and computing processing time for the transaction by subtracting the execution start time from the execution end time.
9 . The method of claim 8 , wherein computing processing time for the transaction is performed by an application response measurement (ARM) agent.
10 . The method of claim 8 , wherein computing processing time for the transaction is performed by a composite application manager agent.
11 - 13 . (canceled)
14 . A computing device for identifying processing time of asynchronous transactions in applications running on an application server virtual machine, wherein the asynchronous transactions involve execution in one application component of a producer application component, sending a message into a recipient, and execution in a consumer application component, the computing device comprising:
a processor; and a memory coupled to the processor, wherein the memory comprises instructions which, when executed by the processor, cause the processor to: modify a deployment descriptor of each application component of an application including at least one producer application component or consumer application component, by adding, for each producer application component or consumer application component, an application component identifier, a producer or consumer type, and a recipient identifier of a recipient the application component uses; determine, by the application server virtual machine when executing a transaction using a given application component, whether the given application component matches an application component identifier in the deployment descriptor of the given application; responsive to determining a match exists and the given application component is of producer type, log, by the application server virtual machine, an identifier of a recipient containing a message sent by the given application component, a correlation identifier of the given application component, and an execution start time; responsive to determining a match exists and the given application component is of consumer type, log, by the application server virtual machine, an identifier of the recipient resource containing a message processed by the given application component, a correlation identifier of the given application component, and an execution end time.
15 . The computing device of claim 14 , wherein modifying the deployment descriptor of each application component is performed at application assembly time.
16 . The computing device of claim 15 , wherein the recipient identifier is a generic name.
17 . The computing device of claim 14 , wherein modifying the deployment descriptor of each application component is performed at application deployment time.
18 . The computing device of claim 14 . wherein the recipient identifier is a database table identifier.
19 . The computing device of claim 14 , wherein the recipient identifier is a queue identifier.
20 . The computing device of claim 14 . wherein the instructions further cause the processor to:
map correlation identifiers of records logged by the application server virtual machine; identify a record with an execution start time and a record with an execution end time having matching correlation identifiers; and compute processing time for the transaction by subtracting the execution start time from the execution end time.
21 . The computing device of claim 20 , wherein computing processing time for the transaction is performed by an application response measurement (ARM) agent.
22 . The computing device of claim 20 , wherein computing processing time for the transaction is performed by a composite application manager agent.
23 . A computer program product comprising a computer readable storage medium having a computer readable program stored therein, the computer readable program for identifying processing time of asynchronous transactions in applications running on an application server virtual machine, wherein the asynchronous transactions involve execution in one application component of a producer application component, sending a message into a recipient, and execution in a consumer application component, wherein the computer readable program, when executed on a computing device, causes the computing device to:
modify a deployment descriptor of each application component of an application including at least one producer application component or consumer application component, by adding, for each producer application component or consumer application component, an application component identifier, a producer or consumer type, and a recipient identifier of a recipient the application component uses; determine, by the application server virtual machine when executing a transaction using a given application component, whether the given application component matches an application component identifier in the deployment descriptor of the given application; responsive to determining a match exists and the given application component is of producer type, log, by the application server virtual machine, an identifier of a recipient containing a message sent by the given application component, a correlation identifier of the given application component, and an execution start time; responsive to determining a match exists and the given application component is of consumer type, log, by the application server virtual machine, an identifier of the recipient resource containing a message processed by the given application component, a correlation identifier of the given application component, and an execution end time.
24 . The computing device of claim 23 , wherein the instructions further cause the processor to:
map correlation identifiers of records logged by the application server virtual machine; identify a record with an execution start time and a record with an execution end time having matching correlation identifiers; and compute processing time for the transaction by subtracting the execution start time from the execution end time.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.