A switch-based load balancing system and method

A load balancing and switching technology, applied in the field of network communication, can solve the problems of waste of resources, poor anti-interference ability, poor scalability, etc., to achieve the effect of improving utilization, resisting attacks, and solving excessive load

Active Publication Date: 2020-05-01
GUIZHOU BAISHANCLOUD TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] The embodiment of the present invention provides a switch-based load balancing system and method to solve the problems of resource waste, poor anti-interference ability and poor scalability in the existing LVS cluster service system

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 switch-based load balancing system and method
  • A switch-based load balancing system and method
  • A switch-based load balancing system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] The first embodiment of the present invention provides a switch-based load balancing system, such as figure 2 As shown, it is a schematic structural diagram of a switch-based load balancing system according to Embodiment 1 of the present invention. The load balancing system includes: a switch 21, N front-end dispatch servers 22, and M application servers 23, where N and M is an integer greater than 1;

[0059] The switch 21 is configured to receive a request data packet sent by a user terminal, and determine the same next hop address allocated by the request data packet according to a preset equalization condition, and according to the determined next hop address, from the equivalent The route entry corresponding to the next hop address is selected from the routing ECMP routing table entry, and the request data packet is sent to the corresponding front-end dispatch server 22 according to the communication link corresponding to the selected route entry , So that the front-...

Embodiment 2

[0086] Based on the same inventive concept as the first embodiment of the present invention, the second embodiment of the present invention provides a load balancing method based on a load balancing system. For the specific implementation of the load balancing method, refer to the relevant description in the first embodiment above, and repeat it. I won’t go into details here. The main body of execution is the switch. Figure 5 As shown, the method includes:

[0087] Step 501: The switch receives the request data packet sent by the user terminal, and determines the same next hop address allocated by the request data packet according to a preset equalization condition.

[0088] Wherein, the preset equalization condition: the hash value calculated by the chip is the same, the total number of next hops of each path entry in the ECMP routing table entry is the same, and the egress information stored in the next hop with the same offset is the same.

[0089] Wherein, the switch receives th...

Embodiment 3

[0100] Based on the same inventive concept as the first embodiment of the present invention, the third embodiment of the present invention provides another load balancing method based on a load balancing system. For the specific implementation of the load balancing method, refer to the relevant description in the first embodiment above. I won’t go into details here. The main body of execution is the front-end dispatch server. Image 6 As shown, the method includes:

[0101] Step 601: The front-end dispatch server receives a request data packet from a user end sent by the switch; wherein the request data packet is determined by the switch according to a preset balance condition to assign the same next hop address to the request data packet , According to the determined next hop address, select the path entry corresponding to the next hop address from the ECMP routing table entry of the equal cost route, and correspond the request data packet according to the selected path entry Th...

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 switch-based load balancing system and method. The system adopts a switch-based load balancing architecture, and determines the same next-hop address assigned to a request data packet from a user end according to a preset balancing condition, and receives the same next-hop address from the switch. The received request data packet is sent to the front-end scheduling server according to the determined same next-hop address, and then forwarded to the application server, thereby realizing load balancing, wherein the number of front-end scheduling servers and application servers is greater than 1. In the present invention, since the forwarding of the switch is pure hardware forwarding, and the ports are all wire-speed, the performance of the load balancing of the switch is better than that of LVS, and the complicated active-standby contact mechanism during failover is avoided, and the utilization of resources is improved. High rate, strong scalability, and also solves the problem of excessive load of traditional active and standby LVS architecture service clusters.

Description

Technical field [0001] The present invention relates to the technical field of network communication, in particular to a load balancing system and method based on a switch. Background technique [0002] LVS is an abbreviation of Linux Virtual Server, a virtual server cluster system, using IP load balancing technology and load balancing based on content request distribution technology. [0003] IP load balancing technology is the most efficient in the implementation of load schedulers. Among the existing IP load balancing technologies, a group of servers form a high-performance and highly available virtual server through Network Address Translation (NAT), which is called VS / NAT technology (Virtual Server via NetworkAddress Translation). Based on the analysis of the shortcomings of VS / NAT and the asymmetry of network services, the method VS / DR (Virtual Server via Direct Routing) of realizing virtual server through direct routing and the method of realizing virtual server through IP...

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): H04L12/803
CPCH04L47/125H04L67/1001Y02D30/50
Inventor 苗辉庄吴敏李逸骏
Owner GUIZHOU BAISHANCLOUD TECH CO 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