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

A zookeeper cluster system and its connection method and system

A cluster system and connection system technology, applied in the Internet field, can solve problems such as performance degradation and high client consumption, and achieve the effect of avoiding overall performance degradation

Active Publication Date: 2021-11-02
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a Zookeeper cluster and its connection method and system to solve the problem of performance degradation due to the need to consume more CPU and memory when there are many clients

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 zookeeper cluster system and its connection method and system
  • A zookeeper cluster system and its connection method and system
  • A zookeeper cluster system and its connection method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] figure 1 A schematic structural diagram of a Zookeeper cluster system provided by the embodiment of the present invention;

[0031] refer to figure 1 As shown, the Zookeeper cluster system provided by the present embodiment includes a server 100 and an agent device 300, the server is connected with the Zookeeper client 200 through the agent device, and the server is configured on multiple servers that are centralized or distributed, for The Zookeeper client provides cluster services; the Zookeeper client directly provides users with an interface system for accessing the server. Generally speaking, there are multiple Zookeeper clients, which are used to provide services for multiple users.

[0032] The proxy device is deployed on the machine where the Zookeeper client is located. The proxy device here can be understood as a hardware electronic device with data processing, and can also be understood as a functional module realized by running a corresponding program on ...

Embodiment 2

[0037] figure 2 It is a flowchart of steps of a connection method of a Zookeeper cluster system provided by an embodiment of the present invention.

[0038] The Zookeeper cluster system in this embodiment includes a server and an agent device. The agent device is configured on the machine where the Zookeeper client is located, and multiple Zookeeper clients are respectively connected to the server through the agent device. The agent device includes at least one processor, and a memory connected to the at least one processor, and instructions executable by the processor are stored in the memory. The instruction can be executed by the processor to implement the connection method described in this embodiment.

[0039] refer to figure 2 As shown, the connection method provided in this embodiment includes the following steps:

[0040] S101: Receive heartbeat signals sent by multiple Zookeeper clients.

[0041]Each heartbeat signal comes from the corresponding Zookeeper client...

Embodiment 3

[0054] Figure 4 It is a structural block diagram of a connection system of a Zookeeper cluster system provided by an embodiment of the present invention.

[0055] refer to Figure 4 As shown, the Zookeeper cluster system in this embodiment includes a server and a proxy device, the proxy device is configured on the machine where the Zookeeper client is located, and multiple Zookeeper clients are respectively connected to the server through the proxy device. The proxy device includes a connection system for connecting the Zookeeper client with the server, specifically including a first receiving module 10 , a signal processing module 20 and a data sending module 30 .

[0056] The first receiving module is used for receiving heartbeat signals sent by multiple Zookeeper clients.

[0057] Each heartbeat signal comes from the corresponding Zookeeper client, so the heartbeat signal contains information such as the ip of the corresponding Zookeeper client, so that its source can be...

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 present invention provides a Zookeeper cluster system and its connection method and system, the Zookeeper cluster system includes a proxy device, the proxy device is deployed on the machine where the Zookeeper client is located, and the Zookeeper client is connected to the server through the proxy device The agent device is used to receive the heartbeat signals of multiple Zookeeper clients, and merge the multiple heartbeat signals received, and then send the heartbeat information obtained by merging to the server, so that the server and the corresponding Zookeeper client maintain connect. Since the server here receives the heartbeat information uniformly, it can decide to connect or disconnect only by processing the heartbeat information, without processing multiple heartbeat signals, and without consuming too much CPU and memory, so it can Effectively avoid the problem of overall performance degradation of the server.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a Zookeeper cluster system and a connection method and system thereof. Background technique [0002] Zookeeper cluster is a distributed coordination system widely used by many Internet companies. As an important cornerstone of a distributed system, Zookeeper provides a coordination mechanism that is relied upon by many important large-scale distributed system bottom layers, such as the distributed computing system Hadoop, the messaging system Kafka, etc., and the Zookeeper cluster relies on the Zab protocol to provide users with consistency guarantee, and can provide functions such as master selection and distributed locks. [0003] Since the bottom layer of the Zookeeper cluster relies heavily on the ZAB protocol, the write operation of its client needs to be successfully written on most servers at the same time to be considered successful. This mechanism leads to the more...

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): H04L29/08
CPCH04L67/14H04L67/5651H04L67/566H04L67/56
Inventor 梁云龙
Owner BEIJING QIYI CENTURY SCI & 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