Load balancing method and system

A load balancing and server technology, applied in transmission systems, digital transmission systems, electrical components, etc., can solve problems such as request tasks not being responded to for a long time, to improve load balancing effects, improve accuracy, and increase request response speed Effect

Inactive Publication Date: 2017-07-07
广东晔生科技股份有限公司
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, with the existing load balancing method, the network system still has the problem that some request tasks cannot be responded to for a long time when the number of visits increases and the number of complex requests increases.

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

Examples

Experimental program
Comparison scheme
Effect test

no. 3 example

[0073] That is, normal servers are selected according to the request response time when assigning tasks, and servers whose request response time exceeds the server response time threshold are excluded from the selection range, thereby avoiding selecting servers in an abnormal state; The ratio of the number of executed tasks with the task type to the corresponding difference selects the server to be allocated with the highest degree of idleness and fast response speed, which effectively improves the efficiency and accuracy of the selection of the server to be allocated, thereby improving The request response speed of the network system is improved. When calculating the ratio, the task type of the requested task is considered in both the numerator and the denominator of the ratio, thereby increasing the data granularity of the ratio and further improving the accuracy of selecting servers to be allocated. The present invention also provides a third embodiment of a load balancing ...

no. 4 example

[0079] The present invention also provides a fourth embodiment of a load balancing method, the method includes steps S101 to S106 in the first embodiment of the above load balancing method, and further defines that the method further includes:

[0080] When selecting an available server from the server list, if there is no available server in the server list, an error message is returned.

[0081] That is, by returning an error message to feed back the server status in time, the waste of processing resources caused by continuing to select an available server when there is no available server in the server list is prevented.

[0082] It should be noted, figure 1 The flow chart shown is only to express the process steps of an embodiment of the present invention, but the process steps of the present invention are not limited to be executed strictly in the order of S101-S106. For example, S103 and S104 can be executed in parallel.

[0083] The present invention also provides a f...

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. The method comprises the following steps: when a task request of a task to be allocated is received, acquiring the task type of the task to be allocated; after the task type is acquired, selecting available servers from a server list; acquiring the request response time of tasks with the task type on each available server; acquiring the number of the tasks with the task type which are currently executed on each available server; selecting a server to be allocated in all the available servers according to the request response time of the tasks with the task type on each available server and the number of the currently executed tasks with the task type; and allocating the task to be allocated to the server to be allocated and executing the task to be allocated. The load balancing method provided by the invention improves the request response speed of a network system, improves the load balancing effect, and meanwhile, the invention further provides a load balancing system.

Description

technical field [0001] The invention relates to the technical field of computer clusters, in particular to a load balancing method and system. Background technique [0002] A cluster is composed of multiple servers or processing units. Servers or processing units belonging to the same cluster are usually managed by a unified system, connected through a network, and provide the same service. Load balancing technology is one of the key technologies of cluster technology, which can distribute requests to multiple processing units and make full use of each processing unit, thereby improving the overall processing capacity of the system. Currently, load balancing methods commonly used in the industry include round robin, weighted round robin, IP load balancing, and minimum number of connections. [0003] However, with the existing load balancing method, the network system still has the problem that some request tasks cannot be responded for a long time when the number of visits ...

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 Applications(China)
IPC IPC(8): H04L29/08H04L12/803
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