Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Distributed service tracking implementation method

A distributed service and implementation method technology, applied in the field of distributed service tracking implementation, can solve problems such as not providing implementation, and achieve the effect of reducing intrusion

Active Publication Date: 2017-03-08
优赛恒创科技发展(北京)有限公司
View PDF7 Cites 122 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But Dapper only proposed a theoretical model to solve the problem of request invocation, and did not provide a specific implementation

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
  • Distributed service tracking implementation method
  • Distributed service tracking implementation method
  • Distributed service tracking implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Distributed systems bring features such as high availability, high performance, and horizontal expansion to applications, but also bring complexity to application deployment, troubleshooting, and monitoring. For a single-process system, all processing related to a user request is in the same process, and all attributes related to the request can be recorded locally, without the need to transfer between multiple systems, and the sequence of method calls It is only necessary to follow the chronological order of the event records, and it is easy to handle. For distributed systems, the problems faced are much more complicated. The distributed services that respond to a request may be scattered in different processes of different servers. How to accurately find and associate these services is the primary problem it faces. At the same time, it is also a difficult problem to accurately analyze the sequence of these services. Since the service-related processes are distribute...

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 present invention provides a distributed service tracking implementation method. When a front-end request arrives at a server, before an application container performs actual service processing, the embedded logic of Cicada is executed first, the embedded logic distributes a global unique call chain ID which is called as TraceId for the front-end request, the embedded logic places the TraceId into a calling context object Span, a calling context object is stored into ThreadLocal, the ThreadLocal can carry out data storage and reading based on a thread, and information can be transmitted among multiple local processing methods of a same time of request. The calling context can be transmitted transparently, the system behavior is understood, a back end calling relation is cleared, the call chain tracking is realized, the path analysis is called, the service personnel is helped to position a performance bottleneck and investigate a fault reason, at the same time, the method needs to be transparent to the user, and the invasion to a business code is reduced.

Description

technical field [0001] The invention relates to a tracking processing method of a distributed system, in particular to a tracking implementation method of a distributed service. Background technique [0002] Today's Internet services are usually implemented using complex, large-scale distributed clusters, and Internet applications are built on different sets of software modules. These software modules may be developed by different teams, may also be implemented using different programming languages, and may be deployed on different servers, spanning multiple different data centers. Therefore, there is a need for tools that can help understand system behavior and analyze system performance issues. For example, in a search system, a user's request will be processed by multiple subsystems in the system, and these processes occur on different machines or even different clusters. When an exception occurs in the request processing, it is necessary to quickly find the problem and ...

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/24H04L29/08
CPCH04L41/069H04L67/10
Inventor 张若飞朱鹏程赵泽成
Owner 优赛恒创科技发展(北京)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products