next up previous
Next: Creation of new control Up: Approach Previous: Monitoring of Subtransactions:

Correlation of Measurements  

As multiple user transactions, either of the same or of different types can be executed in parallel, all measurements must be correlated to their corresponding transaction. Instead of manually passing some kind of generated identifier through the monitored application, the information about the control flows the application is running in can be used to achieve this correlation.

A single control flow can only execute one user transaction at a time. Each user transaction definitely starts in one single control flow (the one, the GUI of the application is running in). Then - depending on the type of the transaction - it might completely be executed in this control flow or new control flows might be added. Typically, only short running transactions will be executed in the control flow of the GUI, because otherwise no more user transactions can be started while the transaction is running (the GUI is "frozen").

If the complete user transaction is executed within a single control flow, a correlation can very easily be achieved: The measurement agent simply determines the identifier of the current control flow at the time the transaction starts. Every subsequent measurement taking place in the same control flow then must belong to the same transaction until the end of the transaction. When control returns to the GUI, the measurement agent must be informed, that the transaction is not running anymore.

Different ways of UTA execution  [r]


3#3



However, there are many reasons, why a single control flow is not suited to realize an application service. As already mentioned, this would allow only one user transaction to be executed at a time. Additionally, for performance and distribution reasons or ease of programming new control flows might be started. Figure [*] shows the different ways, user transactions (UTAs) can be executed.

As can be seen from the figure, there are essentially two ways to add a new control flow to the execution of a user transaction: A new control flow could be started or an existing one could be activated. The following paragraphs explain, how a correlation of measurements can be achieved in these two cases.



 
next up previous
Next: Creation of new control Up: Approach Previous: Monitoring of Subtransactions:
Copyright Munich Network Management Team