MDC-based multi-threaded link tracking method, device and computer-readable storage medium

A link tracking and multi-threading technology, applied in the field of log tracking system, can solve problems such as inaccurate troubleshooting, inability to quickly locate http request response time, inability to optimize the system to provide evidence, etc., to achieve the effect of improving processing capacity

Active Publication Date: 2021-08-17
UNICLOUD (NANJING) DIGITAL TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] After the SpringBoot microservice receives the http request, it will call the custom controller, service, dao, driver and other modules to complete the basic business process. During this process, the controller, service, dao, and driver will respond to multiple http requests concurrently, and the service The log will be written concurrently by multiple http requests. Compared with the log of a service, it will be written alternately to the log file. If an exception occurs in the service, the method of alternately printing the log will make it impossible to accurately and quickly locate the source of the exception through the log. It is impossible to accurately troubleshoot the problem, and at the same time, it is impossible to quickly locate the response time of each http request, and it is impossible to provide a basis for optimizing the system

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
  • MDC-based multi-threaded link tracking method, device and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to further illustrate the various embodiments, the present invention provides accompanying drawings, which are part of the disclosure of the present invention, and are mainly used to illustrate the embodiments, and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments, for reference Those of ordinary skill in the art should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.

[0027] According to the embodiments of the present invention, an MDC-based multi-thread link tracking method, device and computer-readable storage medium are provided.

[0028] Now in conjunction with accompanying drawing and specific embodiment the present invention is further described, as figure 1 As shown, according to one embodime...

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 an MDC-based multi-threaded link tracking method, device and computer-readable storage medium. The tracking method includes the following steps: S1, complete link identification creation through preset rules; S2, complete link identification using preset rules Inheritance of multi-threaded link parameters; S3, record the response time according to the preset method; S4, output the record result of the response time to the log file by using the preset principle; S5, complete the unique identification of the multi-threaded link according to the preset criteria record of. Beneficial effects: By generating a unique link identifier for each http request, each http request can be quickly searched under the action of the unique identifier, and the execution time, entry time, and response time of each http request can be distinguished, and at the same time, it can be realized The screening of all logs in the log file can quickly locate and troubleshoot online problems, thereby effectively improving the processing capacity of online problems.

Description

technical field [0001] The present invention relates to the technical field of log tracking systems, in particular to an MDC-based multi-threaded link tracking method, device and computer-readable storage medium. Background technique [0002] After the SpringBoot microservice receives the http request, it will call the custom controller, service, dao, driver and other modules to complete the basic business process. During this process, the controller, service, dao, and driver will respond to multiple http requests concurrently, and the service The log will be written concurrently by multiple http requests. Compared with the log of a service, it will be written alternately to the log file. If an exception occurs in the service, the method of alternately printing the log will make it impossible to accurately and quickly locate the source of the exception through the log. It is impossible to accurately troubleshoot the problem, and at the same time, it is impossible to quickly ...

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 Patents(China)
IPC IPC(8): H04L29/08G06F3/12G06F9/50
CPCH04L67/025H04L67/146H04L67/30G06F9/5027G06F3/1205G06F3/1257G06F3/1258G06F2209/5018H04L67/63
Inventor 杨志鹏
Owner UNICLOUD (NANJING) DIGITAL TECH CO LTD
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