Patent ID: 8892726

Claim:
A method of associating incoming requests and outgoing requests in a multi-tier computerized environment, the multi-tier computerized environment comprises a first tier and a second tier, comprising: a. monitoring requests of the first tier, comprising: detecting an incoming request received via a first communication channel at the first tier, said incoming request is performed by a first thread operating in the first tier; detecting an outgoing request transmitted via a second communication channel from the first tier, said outgoing request transmitted from the first tier is generated by a second thread as a result of performing the incoming request at the first tier; detecting an incoming request received via the second communication channel at the first tier, said incoming request is accepted by the second thread in response to the outgoing request transmitted via the second communication channel; detecting an outgoing request transmitted via the first communication channel at the first tier, said outgoing request transmitted from the second thread in response to the incoming request received via the first communication channel; b. logging, in a thread-to-thread table, a communication channel ID, a thread ID and a time stamp related to the time each of the detected requests was sent or received; c. identifying, in the data stored in the thread-to-thread table, requests in which the first thread and second thread transmit or receive via a common communication channel based on the communication channel ID; and d. associating the outgoing requests of the first tier to the incoming requests of the first tier based on said identifying; wherein the first thread is different from the second thread; detecting an incoming request received via a third communication channel at the second tier; associating the incoming request received via a third communication channel at the second tier with the outgoing request from the first tier; wherein said associating is performed by generating a first ad-hoc ID for outgoing requests at the first tier and generating a second ad-hoc ID for incoming requests at the second tier, wherein the first tier generates the first ad-hoc ID independently from the second tier, said first ad-hoc ID is not transmitted to the second tier and is not part of the outgoing request when handled by the first tier, wherein the first ad-hoc ID and the second ad-hoc ID are the same.