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

Load balancing method and device

A load balancing and uniform technology, applied in program control devices, program control design, instruments, etc., can solve the problems of uneven distribution of task sets and large load migration, and achieve the effect of reducing the number of business sets

Pending Publication Date: 2021-12-10
NEW H3C BIG DATA TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a load balancing method and device to solve the problem of uneven distribution of task sets and large amount of load migration during dynamic adjustment in the prior art

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
  • Load balancing method and device
  • Load balancing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, rather than limiting the present application. As used in this application and the claims, the singular forms "a", "the" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and / or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.

[0045]It should be understood that although the embodiments of the present application may use terms such as first, second, and third to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present application, first information may also be called second information, and similarly, second i...

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 relates to the technical field of data processing, in particular to a load balancing method and device. The method is applied to a load balancing system, and comprises: when it is detected that the number of cluster nodes changes, dividing the number of current task sets by the number of current nodes to obtain a quotient d and a remainder n; setting the number of bearable task sets of n first-class nodes with the maximum number of currently borne task sets as d+1, and setting the number of bearable task sets of second-class nodes except the first-class nodes as d; and adjusting the task set currently borne by each node, so that the number of the task sets currently borne by each node is equal to the number of the corresponding bearable task sets.

Description

technical field [0001] The present application relates to the technical field of data collection, and in particular to a load balancing method and device. Background technique [0002] In a cluster, task scheduling and dynamic load are unavoidable problems. In the operation and maintenance scenario, collection tasks not only need to achieve balanced task distribution and dynamic load, but also need to minimize the tasks of the same collection object Try to load to the same collector to reuse the collection connection, and the minimum task adjustment is required during dynamic load to ensure the continuity of the collection task and data continuity. [0003] Currently, a consistent hash algorithm is used to load to different nodes through hash. However, since the keys of the hash are all IP addresses, the hash degree of the hash is not high enough, and the distribution is not uniform enough. For example, the load hash value of a certain segment of IP addresses may be on the...

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
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/4557
Inventor 龙帆
Owner NEW H3C BIG DATA TECH CO LTD
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