A real-time calling chain tracking method based on micro-service

A call chain and micro-service technology, applied in the field of communication, can solve the problems of APP adjustment counter system errors, poor data layer access performance, and inability to provide solutions, etc., to improve understanding ability, optimize performance, and improve efficiency.

Inactive Publication Date: 2019-06-21
苏州人之众信息技术有限公司
View PDF5 Cites 52 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. The user failed to place an order to purchase a certain product on a certain APP. Is it because the APP interface made a mistake in adjusting the CRM system, or the APP adjusted the counter system, or the APP adjusted the CRM system, and the CRM adjusted the counter incorrectly;
[0004] 2. When a user handles a certain business, there will always be a certain percentage of failures. Is there a problem with a certain node in a certain microservice cluster?
[0005] 3. In a certain microservice call, the access performance of the data layer is very poor. I want to know whether it is a problem with the performance of accessing the cache server (such as Redis) or the execution time of a certain SQL when accessing a relational database (such as MYSQL). too long?
However, Dapper only proposes a theoretical model and a simple implementation to solve the problem of request invocation. The function is relatively single and cannot provide a comprehensive solution.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A real-time calling chain tracking method based on micro-service
  • A real-time calling chain tracking method based on micro-service
  • A real-time calling chain tracking method based on micro-service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0031] A method for tracking real-time call chains based on microservices, comprising the following steps:

[0032] ⑴. A globally unique traceID will be generated each time the service is initiated, and will be passed to each link link during the link call process. Through this traceID, each isolated call will be connected in series, and the call chain will track the flow The type counter application collects the log information of the same traceID together, calculates the time-consuming of the entire link, and the number of calls, and writes it into Hbase to generate a call chain tracking log for link tracking and performance optimization;

[0033] ⑵. Through the depth and breadth information of the call chain, the timing level information of the microservice call is obtained, and the loop nested call is identified; each link node in the call chain will generate a chainID, which is used to distinguish the call sequence in the call chain from the nesting level;

[0034] ⑶. Tr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a real-time call chain tracking method based on micro-service. According to the method, a calling relation data structure is adopted, a distributed cache and database client monitoring are incorporated into a micro-service calling chain system, a trace ID is implanted into a business log, business information of a calling chain is connected in series, and the method is usedfor clearly sorting calling nesting relations one by one in complex calling. Through the system, the efficiency of positioning production problems can be greatly improved, and the understanding capability of development, operation and maintenance personnel on the system can be improved by analyzing the performance information of each link on the micro-service calling chain, so that the system canbe better optimized and improved.

Description

technical field [0001] The invention belongs to the technical field of communication, and relates to a microservice-based real-time call chain tracking method. Background technique [0002] At present, microservice has become a very popular term in IT Internet technology. The idea of ​​microservice architecture is to split the overall business into independent modules according to the business field. Each microservice module is deployed independently, and the relationship between microservices is loosely coupled. These characteristics of microservices predestined that the microservice architecture is inherently a distributed architecture, and the microservice modules interact through split interfaces and are stateless services. Under this architecture, a complete business process is likely to be processed and forwarded by multiple microservices. So in our daily business, we will encounter the following scenarios: [0003] 1. The user failed to place an order to purchase a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L12/26
Inventor 吴俊
Owner 苏州人之众信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products