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

Load balancing method and 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 cluster and node load imbalance, load imbalance, distributed system load can not reach a balanced state, etc. Avoid the effect of unbalanced load in distributed systems

Active Publication Date: 2020-02-11
重庆紫光华山智安科技有限公司
View PDF6 Cites 13 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 and device, node and computer readable storage medium
  • Load balancing method and device, node and computer readable storage medium
  • Load balancing method and device, node and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0041] Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0042] Before explaining the embodiment of ...

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 embodiment of the invention provides a load balancing method and device, a node and a computer readable storage medium, and relates to the field of distributed storage, and the method comprises the steps: determining the basic weight of each storage space based on the storage space residual rate of each storage node; judging whether the selection probability information of the storage node meets a weight correction condition or not, and if so, modifying the basic weight of the storage node according to the correction parameter to obtain a target weight of the storage node; if not, taking the basic weight of the storage node as a target weight of the storage node; forming a priority interval sequence of the storage nodes according to the target weights of all the storage nodes; obtaining a target storage node with the highest priority in the priority interval sequence of the storage nodes as a storage node for data writing. Compared with the prior art, the phenomenon that the load of the distributed system is unbalanced due to the fact that the selection mode of the storage nodes is improper in the data writing process can be avoided.

Description

technical field [0001] The present invention relates to the field of distributed storage, in particular to a load balancing method, device, node and computer-readable storage medium. Background technique [0002] With the rapid growth of Internet access and data traffic, the workload of the distributed storage system is also gradually increasing, resulting in greater processing pressure on the nodes in the system. 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. Evenly, the load of the cluster and nodes is unbalanced. [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 oc...

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): 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