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

Kafka cluster load balancing method, system and device and medium

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

Active Publication Date: 2021-01-26
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF1 Cites 2 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
  • Kafka cluster load balancing method, system and device and medium
  • Kafka cluster load balancing method, system and device and medium
  • Kafka cluster load balancing method, system and device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0037] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[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 the topic. If you want to use Kafka as data distribution and oth...

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. The kafka cluster load balancing method comprises the following steps of obtaining a current network load of each node and a current read-write load, a current capacity load and a current theme partition load of a data disk under each node; based on one or more of the current network load, the current read-write load, the current capacity load and the current theme partition load, judging whether to trigger and adjust a current theme creation configuration strategy or not; and in response to triggering adjustment of the current theme creation configuration strategy, adjusting the current theme configuration strategy by utilizing the theme configuration optimization rule so as to carry out load balancing on the theme. The invention further discloses a system, computer equipment and a readable storage medium. According to the method, a load state of the cluster is obtained in real time, so the Kafka theme configuration optimization rule is dynamically adjusted, the possibility of Kafka cluster data inclination, overhigh single-point load and network congestion is reduced, and resource balance configuration of the Kafka cluster is realized.

Description

technical field [0001] The invention relates to the field of kafka clusters, in particular to a kafka cluster load balancing method, system, equipment and storage medium. 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. When creating a topic, it will not Topic rules are optimized based on the above information. Unbalanced host rule configurations often lead to problems such as data skew, high single-point load, and network congestion. Contents of the invention [0003] In view of this, in order to overcome at least one aspect of the above problems, 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 curren...

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): H04L29/08
CPCH04L67/1008H04L67/1044
Inventor 孙俊逸
Owner SUZHOU LANGCHAO 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