Load balancing method and apparatus, and computer readable storage medium

A technology of load balancing and computer programs, which is applied in computing, multi-program device, program control design, etc., can solve the problems of too many ISCSI services, no consideration of the load of each node, waste of resources, etc., and reduce the overload of nodes , Service nodes are reasonable to ensure the effect of load balancing

Inactive Publication Date: 2018-11-06
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF8 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This processing method does not take into account the actual load of each node, which may cause a node to provide too much ISCSI service, so that the node is in a high load state, while other nodes are in a waiting state, resulting in waste of resources

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0051] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0052] Next, a load balancing method provided by an embodiment of the present invention will be described in detail. figure 1 This is a flowchart of a load balancing method provided by an embodiment of the...

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 disclose a load balancing method and apparatus, and a computer readable storage medium. The method comprises: acquiring running state information of each node, wherein the running state information comprises multiple parameters; performing weighted summation on all parameters corresponding to the same node, and calculating a corresponding service weight value of each node; updating a service queue according to the service weight values, wherein the service queue stores nodes that can provide an ISCSI service, the service weight value reflects the load condition of the node, and the lower the service weight value is, the smaller the load of the node is; and when receiving the ISCSI service, selecting the node with the lowest service weight value as the service node from the service queue to execute the ISCSI service. According to the embodiments of the present invention, when selecting the service node, the load condition of each node is fully considered, so that the selected service node is more reasonable, the occurrence of node overload is reduced, and the load balance of the ISCSI service of each node is ensured.

Description

Technical field [0001] The present invention relates to the technical field of distributed clusters, in particular to a method, device and computer-readable storage medium for load balancing. Background technique [0002] With the development of the Internet and the increase of Internet users, the data on the Internet has also expanded dramatically. Tens of thousands of data are generated every day. A single computer is limited by hardware such as memory and CPU, and can no longer meet storage and computing requirements. [0003] Mass data storage came into being. Distributed file system is an important technology for mass data storage. It stores data on multiple storage nodes that are physically dispersed, manages and distributes the resources of these nodes uniformly, and provides users with access to files System interface. Through the distributed file system, the mass data storage system can easily store PB-level data. Distributed clusters make full use of the advantages of...

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/505G06F9/5083G06F2209/508
Inventor 吴蜀魏
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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