Unlock instant, AI-driven research and patent intelligence for your innovation.

A distributed link tracking and analysis method, server, and global scheduler

A link tracking and link analysis technology, applied in the computer field, can solve the problems of high cost of storage and network bandwidth, central warehouse pressure, high cost of data storage and network bandwidth, etc., to speed up the link analysis process and narrow the search range Effect

Active Publication Date: 2022-03-25
ALIBABA GRP HLDG LTD
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] One problem with this approach is the high cost of data storage and network bandwidth
The original information data on each server must be transmitted to the central warehouse for storage through the network, so when there are many servers in the cluster and the original information data volume of a single server is also large, the cost of storage and network bandwidth is very high. High (such as daily TB level), causing great pressure on the central warehouse
These network transmissions will also have some additional overhead on the cluster production server (overhead)
In addition, scalability is also a problem. For example, the central warehouse must increase with the number of servers in the cluster and the overall QPS ((how many requests the server processes per second)), so the central warehouse may become a bottleneck point
After massive data is stored in the central warehouse, a large database of TB level is required to meet the efficient query of these data, which in turn introduces a large amount of CPU resources
Finally, people are generally more concerned about the data of abnormal requests that account for a small proportion of them, and usually only check the link status of these abnormal requests, which makes this solution less cost-effective

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 distributed link tracking and analysis method, server, and global scheduler
  • A distributed link tracking and analysis method, server, and global scheduler
  • A distributed link tracking and analysis method, server, and global scheduler

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0075] This embodiment relates to a white-box distributed link tracking and analysis system based on tracking identifiers, including a global scheduler and a server in a distributed cluster. Events generated by the server in the process of processing user requests are stored locally on the server. During the road analysis, the global scheduler collects the corresponding event information from the server for link analysis, and no longer establishes a data warehouse and a large database for link tracking and analysis.

[0076] This embodiment relates to a distributed link tracking method and a corresponding server. Distributed link tracking mainly involves the generation and storage of events, and is the basis of distributed link analysis.

[0077] The distributed link tracking method in this embodiment is as follows: figure 2 shown, including:

[0078] Step 110, the server in the distributed cluster generates an event in the process of processing the user request, and the eve...

Embodiment 2

[0104] In the first embodiment, the link tracking method of the server in the distributed cluster has been described, the server saves the generated events locally, and does not need to be uploaded to the data warehouse. In the distributed link analysis method of this embodiment, the global scheduler performs a link query to the server, obtains information about related events, and performs summary analysis.

[0105] The distributed link analysis method in this embodiment is used in the global scheduler, such as Figure 4 As shown, the distributed link analysis method includes:

[0106] Step 210: When the global scheduler in the distributed cluster needs to perform link analysis on the user request, it sends a link query request to the server in the distributed cluster, carrying the tracking identifier of the user request;

[0107] In this embodiment, the global scheduler performs link analysis on user requests, which may be triggered according to user instructions, or may be...

Embodiment 3

[0128] This embodiment relates to a link analysis method executed by a server in a distributed cluster. After receiving the link query request sent by the global scheduler, the server searches for relevant events locally according to the tracking identifier, and returns the searched event information to Global scheduler. To speed up the search process, the search window can be used to narrow down the search.

[0129] The distributed link analysis method in this embodiment is as follows: Image 6 shown, including:

[0130] Step 310, the server in the distributed cluster receives the link query request sent by the global scheduler, where the link query request carries the tracking identifier requested by the user;

[0131] Step 320, the server locally searches for events related to the tracking mark according to the first search time window, the start time of the first search time window is the generation time of the tracking mark, and the duration is less than or equal to the...

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

A distributed link tracking and analysis method, server, and global scheduler. During link tracking, the servers in the distributed cluster generate events during the process of processing user requests, and the events are sequenced according to the time when the events are generated They are stored in the files in the local event storage directory in sequence, and the next file is saved after one file reaches the set maximum size. During link analysis, the global scheduler in the distributed cluster sends a link query request to the server, and the server returns information about events related to the tracking identifier after searching locally; the global scheduler then based on the received event information Link analysis is performed on the user request. This application adopts the method of local storage and on-demand analysis, which solves the problems of high cost and scalability of data storage, analysis and network bandwidth in traditional methods.

Description

technical field [0001] The present invention relates to computer technology, and more particularly, to a distributed link tracking and analysis method, server and global scheduler. Background technique [0002] Tracing is a technique used by computer systems to track the running status of the system, and is mostly used for debugging, monitoring and tracing purposes. It is similar to logging, but with better performance, less interference to the target system, wider coverage, and is often used to record higher-frequency, lower-level events. [0003] In the tracing field of computer science, "event" means that when the processor runs to a specified code point, a series of operations are triggered because the conditions set in the code point in advance are met, which is identifiable. For example, a user sets a Boolean variable somewhere in the program code in advance. When the processor runs here and detects that the Boolean variable is true, it will trigger an event and perfo...

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): G06F9/48G06F9/50H04L67/1097H04L67/06H04L67/146
CPCH04L65/40H04L67/10G06F9/4843G06F9/5027G06F9/5083
Inventor 冯书志任震宇
Owner ALIBABA GRP HLDG LTD