CDN edge node cross-machine scheduling method and system based on eBPF technology

A technology of edge nodes and scheduling methods, applied in the direction of transmission systems, electrical components, etc., can solve problems such as directional dead loops, inability to guarantee IP lines, increase efficiency of client access lines, etc., to avoid dead loops, reduce efficiency, The effect of optimal scheduling

Active Publication Date: 2021-06-15
北京网聚云联科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Multiple 302 redirects increase the efficiency of client access lines and affect customer access experience;
[0006] 302 is redirected to other IP lines. It cannot guarantee that the IP

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
  • CDN edge node cross-machine scheduling method and system based on eBPF technology
  • CDN edge node cross-machine scheduling method and system based on eBPF technology
  • CDN edge node cross-machine scheduling method and system based on eBPF technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] For a clearer illustration of the implementation of existing local load scheduling see figure 1 , for dynamic IP resource nodes, virtualize multiple virtual network cards in the node stand-alone, and request networking through network card dial-up. The overall steps are as follows:

[0051] 1. The user terminal requests the URL;

[0052] 2. The user terminal is guided to the HTTP dispatch center of the CDN through the CNAME record;

[0053] 3. The HTTP dispatch center returns a status code of 302 and a Location header, which contains the IP node address after global dispatch;

[0054] 4. The user terminal receives the 302 status code and redirects to the node IP to request access to the URL in the Location header;

[0055] 5. The request arrives at the node, assuming that the request is to the virtual network card 1, and flows to the network card driver XDP;

[0056] 6. The access request flows through the TC layer of the kernel to the Cache layer; if there is cached...

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 CDN node cross-machine scheduling method and system based on an eBPF technology, and the method comprises the steps: judging the load conditions of virtual network cards under a first server and a second server on a CDN node; when the first server does not have a virtual network card with a redundant bandwidth, guiding the access request to a virtual network card with the minimum load in a second server under the CDN node; embedding eBPF module codes in a TC layer of an operating system kernel in each machine, and installing a communication Agent module in each single machine, wherein the Agent module is mainly responsible for cross-machine communication (through an ARP broadcast function of a router) and data interaction (cross-machine network card load condition intercommunication, and UDP communication is adopted), and the eBPF module is mainly used for selecting a virtual network card with low bandwidth load from a machine cluster in a node to carry out data return, so that the problem of multiple 302 redirection of a client is solved. and the effect consumption of the request is reduced; besides, an endless loop is avoided during cross-machine scheduling in the node, so that the optimal scheduling is realized.

Description

technical field [0001] The invention relates to the field of CDN node scheduling, in particular to a CDN node cross-machine scheduling method and system based on eBPF technology. Background technique [0002] In the field of CDN distribution, the HTTP 302 scheduling mechanism (redirection mechanism) is usually used to achieve better scheduling effects. The principle of the HTTP 302 scheduling mechanism is as follows: Assume that domain name A is connected to the CDN network and an HTTP dispatch center is configured. When a user terminal initiates a request for domain name A, the request for domain name A will be guided by the CNAME to the HTTP dispatch center of the CDN. Based on the node health status, load status and other information in the preset DNS resolution table, the center comprehensively judges and gives the scheduling result, returns a 302 status code, and returns the redirected IP address in the Location response header, and the user terminal receives a 302 redi...

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
IPC IPC(8): H04L29/08
CPCH04L67/02H04L67/63
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