Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Load balancing method, device, node and computer-readable storage medium

A load balancing and storage node technology, applied in computing, multi-programming device, program control design, etc., can solve the problems of unbalanced cluster and node load, distributed system load can not reach a balanced state, uneven data distribution, etc. Achieving the effect of avoiding the unbalanced load of the distributed system

Active Publication Date: 2022-06-03
重庆紫光华山智安科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When data is written into the distributed storage system, due to the different service capabilities of different nodes, the tasks assigned to each node are quite different, which will lead to a large difference in the storage capacity of each node, and the data distribution in the cluster is not consistent. Uniform, the cluster and nodes have unbalanced load
[0003] In order to solve the unbalanced load phenomenon, in the prior art, performance indicators such as disk utilization, central processing unit (Central Processing Unit, CPU) occupancy and memory occupancy are combined as the weight of the node, and the node corresponding to the maximum weight is selected. The node is used as the node for writing data. When performing dynamic load balancing, this method does not aim at disk space utilization. It only selects available nodes based on the level of some performance indicators, which may cause the node to be duplicated. Being selected makes the disk full in advance, and other nodes have no chance to be selected, so that in the process of data writing, the load of the distributed system cannot reach a balanced state due to improper selection of storage nodes

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, device, node and computer-readable storage medium
  • Load balancing method, device, node and computer-readable storage medium
  • Load balancing method, device, node and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Before explaining the embodiments of the present invention in detail, a schematic diagram of the distributed storage system architecture

[0044] For the storage management node 10, it can be used to maintain resource information of N data storage nodes, for example,

[0047] For the prior art, in the distributed storage system shown in FIG. 1, a large number of storage nodes are deployed to share the work.

[0048] For example, referring to FIG. 1, when the data storage node 21 is selected multiple times to perform the data writing task, then the data storage

[0051] For ease of understanding, the following will be described in detail with reference to FIG. 1, taking the storage management node 10 in FIG. 1 as the execution body

[0052] Exemplarily, FIG. 2 is a flowchart of a load balancing method provided by an embodiment of the present invention. Referring to FIG. 2, the negative

[0053] Step 300: Determine the basic weight of each storage node based on the storage spa...

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

Embodiments of the present invention provide a load balancing method, device, node, and computer-readable storage medium, which relate to the field of distributed storage. The method and device determine the basic weight of each storage space based on the storage space remaining rate of each storage node ; Judging whether the selection probability information of the storage node satisfies the weight correction condition, if so, modify the basic weight of the storage node according to the correction parameters to obtain the target weight of the storage node; if not, use the basic weight of the storage node as The target weight of the storage node; according to the target weight of all the storage nodes, a priority interval sequence of the storage node is formed; the target storage node with the highest priority in the priority interval sequence of the storage node is obtained as the storage node for data writing Compared with the prior art, the present invention can avoid load unbalance phenomenon of the distributed system caused by improper selection of storage nodes during the data writing process.

Description

Load balancing method, apparatus, node, and computer-readable storage medium technical field The present invention relates to the field of distributed storage, in particular, to a load balancing method, device, node and computing device computer readable storage medium. Background technique [0002] With the rapid growth of Internet access and data traffic, the workload of distributed storage systems is gradually increasing. increase, resulting in greater processing pressure on the nodes in the system. When data is written to the distributed storage system, due to different sections The service capabilities of the nodes are different, so the tasks assigned to each node are quite different, which will lead to storage The capacity difference is large, the data distribution in the cluster is uneven, and the load of the cluster and nodes is not balanced. In order to solve the load imbalance phenomenon, the prior art uses disk utilization, central processing unit CPU (Ce...

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): G06F9/50
CPCG06F9/5016G06F9/5027G06F9/5083
Inventor 章鑫
Owner 重庆紫光华山智安科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products