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

Load balancing method and related device

A technology of load balancing and network card queuing, applied in the computer field, can solve the problems of reducing the efficiency of soft load balancing, reducing load balancing performance, processing power and reducing network switching efficiency, etc., to achieve the effect of reducing waiting time, improving performance and improving processing capacity

Pending Publication Date: 2021-04-30
北京浪潮数据技术有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In related technologies, the general soft load balancing solution is based on the network protocol stack of the Linux kernel. However, as the speed of the network card continues to increase, the processing capability of the Linux kernel reduces the efficiency of network switching, further reducing the efficiency of soft load balancing. , also reduces load balancing performance

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
  • Load balancing method and related device
  • Load balancing method and related device
  • Load balancing method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The core of this application is to provide a load balancing method, a load balancing device, a server, and a computer-readable storage medium. The received traffic data is decapsulated through the bound CPU, and the lightweight load balancing function of Nginx is further adopted to The IP protocol stack encapsulates and forwards the data instead of using the Linux kernel network protocol stack for processing, which improves the processing capability of load balancing and further improves the performance of load balancing.

[0044] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodimen...

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 load balancing method, which comprises the steps of: controlling a plurality of network card queues to receive flow data distributed through using an ECMP protocol by a load balancing server; adopting a CPU bound with each network card queue to decapsulate the flow data to obtain to-be-forwarded data; and packaging and forwarding the to-be-forwarded data by adopting a lightweight IP protocol stack through a configured Nginx load balancing function. According to the load balancing method of the invention, the received flow data is decapsulated through the bound CPU, and the data is further encapsulated and forwarded by adopting the lightweight IP protocol stack instead of adopting the network protocol stack of the Linux kernel through the load balancing function of the Nginx, so that the load balancing processing capacity is improved, and the load balancing performance is further improved. The invention further discloses a load balancing device, a server and a computer readable storage medium, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a load balancing method, a load balancing device, a server, and a computer-readable storage medium. Background technique [0002] At present, in order to maintain the stable operation of ingress traffic, four-layer load balancing is generally used. Four-layer load balancing works on the transport layer of the OSI (Open System Interconnection Reference Model, Open System Interconnection Communication Reference Model) model. Because at the transport layer, only TCP (Transmission Control Protocol, Transmission Control Protocol) / UDP (User Datagram Protocol, User Datagram Protocol) protocol, in addition to source IP (Internet Protocol, Internet Protocol) and target IP, these two protocols also include source port number and destination port number. After receiving the client request, the four-layer load balancing server forwards the traffic to the application server b...

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): H04L12/803H04L12/707H04L12/861H04L29/08G06F9/50H04L45/24
CPCH04L47/125H04L45/24H04L49/90H04L69/326G06F9/505H04L2212/00
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