Server load balancing method and device

A load balancing and server technology, applied in the computer field, can solve problems such as the inability to achieve load balancing

Inactive Publication Date: 2017-04-05
BEIJING GRIDSUM TECH CO LTD
View PDF6 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Existing load balancing methods for application servers include: average, round robin, random, least connections, and virtual nodes, etc.; these methods can ach

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
  • Server load balancing method and device
  • Server load balancing method and device
  • Server load balancing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0025] Such as figure 1 As shown, a server load balancing method is provided in one embodiment of the present invention, comprising:

[0026] Step 110, according to the hardware resources of each server, calculate the weight corresponding to the total load of each server. In this embodiment, the type of hardware resources is not limited, and the hardware resources include the CPU and / or memory of each server; for example, if the w...

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 provides a server load balancing method and device. The method comprises steps of calculating a weight corresponding to the load amount for each server according to hardware resources contained in each server; arranging virtual nodes for each server, wherein the ratio of virtual node numbers of the servers is identical to the ratio of weights of the servers; and selecting a corresponding virtual node for a received service request according to load balancing rules, sending the service request to a server corresponding to the selected virtual node for processing. The corresponding weight of reflecting the load amount is calculated for each server according to differences among hardware resources of the servers, then the calculated weights are mapped into the same number of virtual nodes, and load amounts of the virtual nodes are balanced, so that the load ratio among physical nodes is balanced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a server load balancing method and device. Background technique [0002] When multiple servers are used as a service cluster to provide application services to users, the process of relatively uniformly sending the user's application requests to each node in the cluster is called application load balancing. [0003] Existing load balancing methods for application servers include: average, round robin, random, least connections, and virtual nodes, etc.; these methods can achieve good load balancing between servers with the same hardware configuration, but cannot be implemented on different hardware Load balancing between configured nodes. Therefore, how to perform load balancing among servers with different hardware performance configurations has become an important issue. Contents of the invention [0004] In view of the above problems, the present invention is prop...

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/1008
Inventor 袁进俊
Owner BEIJING GRIDSUM 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