A method and device for determining a service execution link in a distributed system

A distributed system and execution chain technology, applied in the computer field, can solve problems such as high technical complexity, heavy code burden, and high cost

Active Publication Date: 2021-05-28
ALIBABA CLOUD COMPUTING LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of this application is to provide a method and device for determining the business execution link in the distributed system, so as to solve the problem of tracking the distributed system link by modifying all middleware products in the prior art, which leads to complex implementation technology At the same time, directly modifying the application code needs to add labels to all the methods that need to be tracked, which leads to problems of heavy code burden, high technical complexity and high development cost

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 method and device for determining a service execution link in a distributed system
  • A method and device for determining a service execution link in a distributed system
  • A method and device for determining a service execution link in a distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The application will be described in further detail below in conjunction with the accompanying drawings.

[0028] figure 1 A schematic flowchart of a method for determining a service execution link in a distributed system according to one aspect of the present application is shown, and the method includes step S11, step S12, and step S13. Wherein, the step S11 creates a workflow instance corresponding to the business to be executed in the distributed system; the step S12 records the corresponding execution log during the execution of the workflow instance; the step S13 according to the execution log Determine the execution link of the service.

[0029] In the embodiment of this application, after the user equipment accesses the workflow, each individual service in the distributed system will be defined as an independent workflow instance, where each workflow instance will contain several workflows Activities, sub-processes, semaphores, etc., and during the execution o...

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 purpose of this application is to provide a method and device for determining the business execution link in the distributed system, by creating a workflow instance corresponding to the business to be executed in the distributed system; during the execution of the workflow instance Record the corresponding execution log; determine the execution link of the business according to the execution log, and realize the tracking of the distributed system link, so as to count the end-to-end calls of the distributed system based on the execution link of each business relationship, in order to achieve the purpose of tracking the distributed system links, and to determine the execution link of the business based on the workflow-related identification information and call nesting relationship information in the execution log, so as to analyze the execution link based on the business The execution path of the distributed system is obtained, and the end-to-end call relationship in the distributed system is counted.

Description

technical field [0001] The present application relates to the computer field, and in particular to a technology for determining service execution links in a distributed system. Background technique [0002] System link tracing is a very helpful method for assisting problem diagnosis and abnormal location in a large-scale distributed environment. In a large-scale distributed deployment environment, the establishment of end-to-end system links needs to involve multiple service calls, among which service calls may also span multiple business applications that are completely independently deployed and maintained, and these business applications may use Different programming languages; some service calls may span multiple computer rooms, and service calls may span a long distance physically; from a design perspective, business services may be developed by dozens or even hundreds of independent teams. The intricate call relationship between services is difficult to sort out from ...

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): G06F11/34G06F11/30
Inventor 谭佳
Owner ALIBABA CLOUD COMPUTING 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