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

A method and system for cluster load balancing

A cluster load balancing and node technology, applied in the field of computer communication, can solve problems such as unable to reflect the current processing capacity in a timely and accurate manner, affect the processing performance of computer clusters, and cannot reasonably allocate connection requests, so as to achieve the effect of improving processing performance

Active Publication Date: 2016-12-28
中科芯云微电子科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The performance parameters of each node in the partial load balancing algorithm are obtained at one time. During the load balancing process, these performance parameters cannot reflect the current processing capabilities of the corresponding nodes in a timely and accurate manner, resulting in the inability to reasonably allocate the received data based on the current processing capabilities of the nodes in the cluster. Connection requests corresponding to applications, which in turn affect the processing performance of the entire computer cluster

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] Embodiment 1 of the present invention provides a method for cluster load balancing, figure 1 A flowchart of the method is shown, the method includes the following steps:

[0059] Step S11: Obtain the performance parameters of each node in the cluster at regular intervals.

[0060] The cluster in the embodiment of the present invention is a whole formed by connecting multiple ordinary computers through a local area network. Each ordinary computer in the cluster is called a node. The performance parameters of a node reflect the current load situation and remaining processing capacity of the node. The performance parameter of the node in the embodiment of the present invention can comprise one parameter value or more than two parameter values, and these parameter values ​​can be memory utilization rate, CPU utilization rate, response time, network bandwidth and number of surviving request connections (that is, connections waiting to be processed request), etc. Of course...

Embodiment 2

[0076] Different from Embodiment 1, the performance parameters of nodes in the cluster in Embodiment 2 of the present invention may include multiple parameter values, such as memory utilization, CPU utilization, response time, network bandwidth, and survival number of connections requested, etc.

[0077] figure 2 It is a schematic flowchart of a method for cluster load balancing in Embodiment 2 of the present invention, the method includes the following steps:

[0078] Step S21: Obtain the performance parameters of each node in the cluster at regular intervals.

[0079] This step is similar to the above-mentioned step S11, the difference is that the performance parameters of the nodes in this embodiment include multiple parameter values, and these parameter values ​​can be memory utilization, CPU utilization, response time, network bandwidth, and surviving request connections number.

[0080] (1) Memory utilization:

[0081] Taking the Linux system as an example, the memo...

Embodiment 3

[0122] Embodiment 3 of the present invention provides a cluster load balancing method, which is different from Embodiment 2 in that a static rotation method is used in this embodiment to allocate nodes, and the content of this part will be described in detail below. image 3 A flowchart of the method is shown, the method includes the following steps:

[0123] Since steps S31 to S34 are the same as steps S21 to S24 in the second embodiment above, details will not be repeated here. For details, please refer to steps S21 to S24 in the second embodiment.

[0124] Step S35: Obtain the comprehensive load redundancy rate of each node according to the comprehensive load redundancy value of each node and the total comprehensive load redundancy value of the cluster.

[0125] Specifically, the following steps A and B can be used to obtain the comprehensive load redundancy rate of the node:

[0126] A: Obtain the total integrated load redundancy value L of the cluster (that is, the total...

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 method for cluster load balance and a system thereof. The method comprises the steps of obtaining performance parameters of each node in a cluster at regular intervals, obtaining comprehensive load residual values of the nodes according to the performance parameters, wherein the comprehensive load residual values of the nodes are the weight sum of the performance parameters of the nodes, and allocating a connection request to the node in which the comprehensive load residual value is larger than the comprehensive load residual threshold value after receiving the connection request corresponding to the application program, wherein the comprehensive load residual threshold value is the minimum residual space amount of the node. According to the method for cluster load balance and the system thereof, the received connection request corresponding to the application program can be allocated reasonably according to the current processing capacity of the nodes in the cluster, the phenomenon that some nodes in the cluster of a computer are heavy in load while some nodes are in the idle state can be avoided, and the processing performance of the cluster of the whole computer is improved further.

Description

technical field [0001] The invention belongs to the technical field of computer communication, and in particular relates to a cluster load balancing method and system thereof. Background technique [0002] A computer cluster refers to a plurality of ordinary computers connected through a local area network to form a whole. Each computer in the computer cluster is called a node, and all nodes in the computer cluster jointly provide services for the applications corresponding to the received connection requests. The computer cluster assigns tasks to multiple nodes through fast information exchange and load balancing between each node, thereby improving the processing capacity of the entire computer cluster. The processing capabilities of each node in a computer cluster are not exactly the same, and the resources required by each application program are also very different. Therefore, each node is scheduled in a balanced manner so that each node can exert its maximum performan...

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
Inventor 白利达陈岚王颖
Owner 中科芯云微电子科技有限公司