Browse Prior Art Database

System and Method of Non-disruptive Transaction Latency Measurement Based on TCP-IP Packet Tag in Distributed Heterogeneous System

IP.com Disclosure Number: IPCOM000248548D
Publication Date: 2016-Dec-16
Document File: 4 page(s) / 60K

Publishing Venue

The IP.com Prior Art Database

Abstract

A more common, non-distruptive method is disclosed for measuring transaction latency in Distributed Heterogeneous System, the method comprises a technique for encapsulating session id, transaction id to the Option field of TCP(transmission control protocol) header segment on the Web server side without bring any code changes to application server, in this way, the required time-stamps, transaction id, and server info can be extracted from the runtime TCP/IP(internet protocol) packet streaming for transaction latency analysis.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 30% of the total text.

1

System and Method of Non-disruptive Transaction Latency Measurement Based on TCP-IP Packet Tag in Distributed Heterogeneous System

The present invention is related to software applications performance. More specifically, the present invention relates to the transaction latency measurement, which is based on TCP(transmission control protocol)/IP(internet protocol) packet streaming analysis. The latency measurement is critical to identify the performance bottleneck or any issue among the service calling chain. As there is usually 7*24 business need to support multiple concurrent users on the application, there is a need for a performance measurement system and method that can allows measurement of transaction latency for selective operations of an application quickly, easily, and with low cost. Most traditional methods are based on the analysis of logs generated by the applications, they can solve the problem to some extent. however: 1.Most methods are disruptive. Much efforts(code/configuration changes) always are required to be done for existing application system in order to monitor the transaction latency through multiple server nodes especially in a micro-service based environment. 2. Even above 1 is done, there are still require much work to extract transaction specific numbers from huge logs. 3.It is very challenge to get the latency number as there are multiple large logs from multiple system components, and logs are often mixed together with different transactions context. 4.It also needs lots of effort to rewrite the application code based on application framework which is able to monitor the transaction/service latency easily, e.g. the spring cloud framework provide such ability to achieve the goal, however, nowadays, many running systems are not developed based on it.

A more common, nondisruptive or less disruptive method, which introduces as less as change to existing system, this invention disclosed a system and method to measure the application latency based on TCP/IP packet streaming. It brings the following advantages: 1.It is cheap as it can be easily deployed and analyzed. 2.It can help to find the system bottleneck without analyzing multiple large logs in the complex environment. 3.The efficiency is greatly improved so the time is reduced to solve the problem.

The core idea is to measure the application transaction latency based on TCP/IP streaming analysis. The core claim is: A method to encapsulate session id and transaction id to the Options field of TCP header segment. A system to monitor the TCP/IP streaming and extract the required IP address, time-stamp and id info for application latency measurement The system comprises of:

TCP packet modifier: insert session id, transaction id to the TCP header in raw socket mode TCP/IP sniffer: capture the TCP/IP packet between the transaction server nodes TCP/IP packet extractor: extract the IP, time-stamp, session id, transaction id from the run-time network traffic Latenc...