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

Zookeeper-technology-based system cluster method and system

A kind of clustering and technical technology, applied in the direction of transmission system, electrical components, etc., can solve the problems of long service interruption and service termination, etc.

Inactive Publication Date: 2017-02-01
YONYOU NETWORK TECH CO LTD
View PDF4 Cites 50 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the applicant found that the existing technical system node cluster method has at least the following defects: 1) When the active node fails, because the standby node needs to re-read the configuration information, it is not real-time enough to cause long service interruption; When a node fails, if its standby node is also in the failure state, the service will be terminated

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
  • Zookeeper-technology-based system cluster method and system
  • Zookeeper-technology-based system cluster method and system
  • Zookeeper-technology-based system cluster method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0029] Specifically, a system cluster method based on zookeeper technology mainly includes:

[0030] S001: Elect an optimal node from the zookeeper cluster nodes, as the main system cluster master node to provide system services for users, and other system nodes as cluster backup nodes;

[0031] S002: The master node of the zookeeper cluster reads the system configuration information, and distributes it to the standby node of the cluster for backup;

[0032] S003: Enable a system configuration information listener to monitor changes in system configuration information, and when the system configuration information changes, synchronize the system configuration inform...

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 zookeeper-technology-based system cluster method and system. The method comprises: after a cluster is started, an optimal node is selected from all system nodes and is used as a master system node and other system nodes are used as standby nodes, and the master system node reads system configuration information needed by a front-end service node and issues the information to all standby nodes; one monitoring device is turned on to monitor an operating state of a master service node and another monitoring device is turned on to monitor a system configuration information change; once the system configuration changes, the master node and the standby nodes update respectively cached configuration information timely; and when a fault occurs at the operating state of the master system node, an optimal node is selected from the standby system nodes and is used as a current system node, thereby providing a service for the front-end service node. Therefore, the interruption time of service switching is shortened and the possibility of service termination is reduced.

Description

technical field [0001] The present invention relates to the field of node cluster technology of ZooKeeper technology, in particular to a system cluster method and system based on ZooKeeper technology. Background technique [0002] A distributed system is a software system built on the network. Because of the characteristics of software, a distributed system has a high degree of cohesion and transparency. In a distributed system, multiple groups of independent computers present a unified whole to the user. The system is divided into multiple independent logical and physical units through functions, and resource allocation and optimization of the system are realized through each computer node and each level. . Because of the huge advantages of distributed systems, its application in the Internet has become more and more extensive in recent years. However, each service node in a distributed system relies on the Internet to communicate with each other, especially when it invol...

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/06H04L29/08
CPCH04L65/40H04L67/10H04L67/54H04L67/563H04L67/566
Inventor 马杰
Owner YONYOU NETWORK TECH CO LTD
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