Zookeeper cluster system and connection method and device thereof
A cluster system and connecting device technology, applied in the Internet field, can solve the problem that the Zookeeper client cannot update the server list in time, and achieve the effect of avoiding the inability to update the server list in time and avoiding resource competition.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] figure 1 A schematic structural diagram of a Zookeeper cluster system provided by the embodiment of the present invention;
[0036] refer to figure 1 As shown, the Zookeeper cluster provided by this embodiment includes a server 100 and an agent device 300, and the server is configured on multiple servers in a centralized or decentralized configuration to provide cluster services for the Zookeeper client; the Zookeeper client directly provides the user with Provides an interface system for accessing the server. Generally speaking, there are multiple Zookeeper clients, which are used to provide services for multiple users.
[0037] 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 the machine where the Zookeeper client is located.
[0038] The prox...
Embodiment 2
[0042] figure 2 It is a flow chart of the steps of a connection method of a Zookeeper cluster system provided by the embodiment of the present application.
[0043] refer to figure 2 As shown, the connection method provided in this embodiment is applied to the Zookeeper cluster system in the previous embodiment, specifically to the agent device of the cluster system. The proxy device includes at least one processor, and a memory connected to the processor. There are instructions for the processor to execute in the memory. When the processor executes the instructions, the above connection method can be realized, specifically:
[0044] S101: Receive a request instruction sent by each Zookeeper client.
[0045] When the corresponding Zookeeper client sends a corresponding request instruction to the server, the request instruction is received.
[0046] S102: Configure path information for the request instruction.
[0047] When a corresponding request instruction is received, t...
Embodiment 3
[0063] Figure 4 It is a structural block diagram of a connection device of a Zookeeper cluster system provided by an embodiment of the present application.
[0064] refer to Figure 4 As shown, the connection device provided in this embodiment is applied to the Zookeeper cluster system in the previous embodiment, specifically to the agent device of the cluster system. The connection device includes a first receiving module 10 , a path configuration module 20 , a first sending module 30 , a second receiving module 40 and a second sending module 50 .
[0065] The first receiving module is used for receiving the request instruction sent by each Zookeeper client.
[0066] When the corresponding Zookeeper client sends a corresponding request instruction to the server, the request instruction is received.
[0067] The path configuration module is used to configure path information for request instructions.
[0068] When a corresponding request instruction is received, the upper...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com