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

A kafka cluster load balancing method, system, device and medium

A cluster load balancing and load balancing technology, applied in the transmission system, electrical components, etc., can solve problems such as data skew, inability to perceive read and write loads, network pressure topic partitions, disk capacity information, and high single-point loads, etc., to achieve data reduction. Tilting, achieving balanced allocation of resources, and improving cluster stability

Active Publication Date: 2022-05-24
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] As a message queue service, Kafka often contains multiple topics and carries a large amount of data in actual business. However, Kafka itself cannot perceive the read and write load, network pressure, topic partition, and disk capacity information in the cluster. When creating a topic, it will not Optimize topic rules based on the above information. Unbalanced host rule configurations often lead to problems such as data skew, high single-point load, and network congestion.

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 kafka cluster load balancing method, system, device and medium
  • A kafka cluster load balancing method, system, device and medium
  • A kafka cluster load balancing method, system, device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention will be further described in detail below with reference to the specific embodiments and the accompanying drawings.

[0037] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for the purpose of distinguishing two entities with the same name but not the same or non-identical parameters. It can be seen that "first" and "second" It is only for the convenience of expression and should not be construed as a limitation to the embodiments of the present invention, and subsequent embodiments will not describe them one by one.

[0038] It should be noted that, in the embodiment of the present invention, the Kafka cluster is a high-throughput distributed publish-subscribe message system; topic: Topic in kafka is a topic. To use kafka as data distribution and ot...

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 discloses a Kafka cluster load balancing method, comprising the following steps: obtaining the current network load of each node and the current read and write load, current capacity load and current topic partition load of data disks under each node; One or more of the current network load, current read and write load, current capacity load, and current topic partition load determine whether to trigger adjustment of the current topic creation configuration policy; in response to triggering adjustment of the current topic creation configuration policy, use Topic configuration optimization rules adjust the current topic configuration policy to load balance topics. The invention also discloses a system, a computer device and a readable storage medium. The solution proposed by the present invention dynamically adjusts the Kafka topic configuration optimization rules by acquiring the cluster load status in real time, reduces the possibility of Kafka cluster data skew, excessive single-point load, and network congestion, and realizes the resource balanced configuration of the Kafka cluster.

Description

technical field [0001] The invention relates to the field of kafka clusters, in particular to a method, system, equipment and storage medium for load balancing of kafka clusters. Background technique [0002] As a message queue service, Kafka often contains multiple topics and carries a large amount of data in actual business. However, Kafka itself cannot perceive the read and write load, network pressure, topic partition, and disk capacity information in the cluster. Optimize topic rules based on the above information. Unbalanced host rule configuration often leads to data skew, high single-point load, and network congestion. SUMMARY OF THE INVENTION [0003] In view of this, in order to overcome at least one aspect of the above problem, an embodiment of the present invention proposes a Kafka cluster load balancing method, including the following steps: [0004] Obtain the current network load of each node and the current read and write load, current capacity load and cu...

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): H04L67/1008H04L67/1042
CPCH04L67/1008H04L67/1044
Inventor 孙俊逸
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More