Unlock instant, AI-driven research and patent intelligence for your innovation.

A cluster load balancing scheduling method and system

A technology of cluster load balancing and scheduling method, applied in transmission systems, electrical components, etc., can solve problems such as low efficiency, high hash result conflict, and reduced efficiency

Active Publication Date: 2018-02-06
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the cluster load balancing scheduling algorithm of waterfall hashing, the mask of the current level is hashed according to the source IP address multiplied by a large prime number. There are two problems with this algorithm. When it is less than the number of digits of the product of the IP address and the large prime number, the hash operation only uses the bits of the product of the IP address and the large prime number, which will cause high conflicts in the hash result, which needs to be avoided by adding layers. For example, when the mask is 100, the IP The last two digits of the product of the address and the large prime number determine the result of the hash. If there are two IP addresses, and the last two digits of the product of the IP address and the large prime number are the same, the same hash value is obtained. At this time, the waterfall level needs to be increased. to avoid conflicts, so that the efficiency is reduced; the second problem is that the multiplication operation of the IP address and a large prime number belongs to the multiplication operation of two large numbers, and the efficiency is low

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 cluster load balancing scheduling method and system
  • A cluster load balancing scheduling method and system
  • A cluster load balancing scheduling method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0023] figure 1 Shown is the processing flowchart of the cluster load balancing scheduling method in Embodiment 1 of the present invention, including the following steps:

[0024] Step 101: Obtain the IP address information carried in the service request and process the IP address information according to a preset processing strategy to obtain binary digit information corresponding to the IP address;

[0025] Obtain the IP address information carried in the service request and process the IP address information according to the preset processing strategy. The process of obtaining the binary digit information corresponding to the IP address is:

[0026] After obtaining the IP address information car...

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 present invention provides a cluster load balancing scheduling method and system. The method includes the following steps: obtaining the IP address information carried in the service request and processing the IP address information according to a preset processing strategy to obtain the binary data corresponding to the IP address. digit information; according to the preset initial level, obtain the current hash mask and calculate the binary digits corresponding to the current hash mask and use the binary digits as the folding length; according to the obtained folding length, the corresponding IP address The binary digits are folded to obtain the folding result; the folding result is subtracted from the current mask, and according to the operation result, the corresponding target server is determined according to the preset server selection strategy. The invention can greatly reduce the calculation amount of the hash operation in the cluster load balancing dispatching algorithm of the waterfall hash, thereby improving the efficiency.

Description

technical field [0001] The invention belongs to the field of load balancing, and in particular relates to a cluster load balancing scheduling method and system. Background technique [0002] Various load balancing algorithms are often used in cluster computing to solve the scalability and transparency problems of the system, that is, the load balancing scheduler efficiently distributes requests to different servers for execution, making a cluster system composed of multiple independent computers Becoming a virtual server, when the client application interacts with the cluster system, it is like interacting with a high-performance server. [0003] At present, common load balancing scheduling algorithms include round-robin scheduling, weighted round-robin scheduling, minimum connection scheduling, weighted minimum connection scheduling, locality-based least connection, locality-based least connection with replication, target address hash scheduling, source address Hash schedu...

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): H04L29/08
CPCH04L67/1001
Inventor 辛永欣
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND