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

Distributed cluster state management method and system thereof

A distributed cluster and state management technology, applied in the computer field, can solve the problems of Zookeeper callback rigidity, rigidity, and high coupling degree, and achieve the effect of efficient cluster management system and solving rigid problems

Inactive Publication Date: 2016-10-12
INST OF COMPUTING TECH CHINESE ACAD OF SCI +1
View PDF9 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The defects of existing distributed cluster state management technologies include: 1. High degree of coupling and low degree of flexibility
Moreover, since the Zookeeper cluster needs a leader, when the leader node goes down, not only the data of the leader node is lost, but also the Zookeeper leader node needs to be re-elected to notify the node of the change. Data changes can only be synchronized from the Zookeeper leader node to the rest of the Zookeeper cluster nodes.
[0005] 2. The tree structure is cumbersome and complex, and the performance is low
[0006] 3. The rigid design of the "watch" mechanism: Zookeeper has no method support for obtaining the latest version information. It can only crudely register a watch every time it writes an updated method, and call back when these methods are called , it does not consider whether the content of the information has changed. Zookeeper will still call back for updates that do not change the content of the information, and the callback of Zookeeper is relatively rigid. It can only be called once. If the information continues to change, the watch must be registered again
[0007] In summary, the existing distributed cluster state management technology obviously has inconvenience and defects in actual use, so it is necessary to improve it

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
  • Distributed cluster state management method and system thereof
  • Distributed cluster state management method and system thereof
  • Distributed cluster state management method and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0041] see figure 2 and image 3 , in the first embodiment of the present invention, a distributed cluster state management system 100 is provided, and the system 100 includes:

[0042] Setting module 10, used to set the memory database 30 and the manager of the distributed cluster;

[0043] The management module 20 is configured to store the information of each node of at least one of the distributed clusters through the in-memory database 30, and maintain the information of at least one of the distributed clusters through the manager of the distributed cluster. information about each node.

...

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 present invention is applicable to the field of computer technology, and provides a distributed cluster state management method and a system thereof. The method includes the following steps: A. setting an in-memory database and a manager of the distributed cluster; B. through the The in-memory database stores information of each node of at least one of the distributed clusters, and maintains information of each node of at least one of the distributed clusters through a manager of the distributed cluster. Thus, the management efficiency of the distributed cluster is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a distributed cluster state management method and system thereof. Background technique [0002] Currently, most cluster management systems are built on the basis of ZooKeeper. Such as Figure 1A Shown: Node A cluster, Node B cluster, and Node C cluster are all connected to the zookeeper cluster, and the entire distributed system is managed through Zookeeper, so that the entire system is in a usable state. [0003] Inside Zookeeper, Zookeeper maintains a virtual file structure for each node of the cluster. Nodes add nodes under their respective directories and watch the parent directory. After the node goes down, Zookeeper deletes the corresponding node from the directory. When there is a change in the current directory, Zookeeper notifies the nodes under the directory that there has been a change. as in Figure 1B When the node goes online, add data ( / APP3 / SERVER2) under it...

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 Applications(China)
IPC IPC(8): H04L29/08H04L12/24
CPCH04L67/10H04L41/5096H04L67/1097
Inventor 成强刘欣然姬晓光王勇张志斌郭三川张敬亮余智华程学旗
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
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