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

Distributed database node survival state detection module and method

A state detection module and node state technology, applied in the field of computer communication, to achieve the effect of ensuring performance and stability, reducing storage occupation, and reducing the number of requests

Pending Publication Date: 2021-03-05
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this kind of processing alleviates the dilemma of millions of requests to a certain extent, it still transmits thousands of heartbeat requests per second

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 database node survival state detection module and method
  • Distributed database node survival state detection module and method
  • Distributed database node survival state detection module and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] Reference attached figure 2 , this embodiment proposes a distributed database node survival state detection module, which communicates with each node in the cluster, including:

[0039] The monitoring unit is used to monitor and obtain the health status and update time of each node,

[0040] The processing unit is used to respond to data according to the topology mode in the Gossip protocol, analyze and count the survival status of nodes and extract the list of inactive nodes.

[0041] In this embodiment, the state detection module involved provides writable and read-only functions, and each node in the cluster communicates with the monitoring unit in an orderly and regular manner, and writes its own health status and update time information into Status detection module.

[0042]In this embodiment, after each timeout time, the processing unit uses the Gossip protocol to transmit the list of nodes whose health status changes in the current cluster and the correspondin...

Embodiment 2

[0049] Reference attached figure 2 , this embodiment proposes a distributed database node survival status detection method, the implementation process includes:

[0050] In the Inspur Yunhai distributed database DRDB, messages are broadcast based on the Gossip protocol, and each node in the cluster will receive and send data packets containing update messages from other nodes within the heartbeat cycle.

[0051] The status detection module communicates with each node in the cluster to obtain the health status and update time of each node, and responds to the data according to the topology mode in the Gossip protocol, analyzes and counts the survival status of the nodes and extracts the inactive ones. list of nodes.

[0052] In this embodiment, the status detection module involved provides writable and read-only functions, and each node in the cluster communicates with the status detection module in an orderly and regular manner, and writes its own health status and update ti...

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 distributed database node survival state detection module, and relates to the technical field of computer communication. Aiming at the defects existing in the existing node state detection process, a monitoring unit of the state detection module monitors and acquires the health state and updating time of each node, and a processing unit of the state detection module performs data response according to a topological mode in a Gossip protocol. The method further comprises analyzing and counting survival states of the nodes and extracting an inactive node list; the invention further discloses a distributed database node survival state detection method, in the wave cloud sea distributed database DRDB, based on a Gossip protocol broadcast message, each node in the cluster receives and sends a data packet containing other node update messages in a heartbeat period, and the data packet is sent to the cloud sea distributed database DRDB. And the state detection moduleis communicated with each node in the cluster, so that an inactive node list can be extracted. According to the module, whether the node has normal capability can be quickly identified to perform functions of copy processing, memory copying, message transmission and the like.

Description

technical field [0001] The invention relates to the technical field of computer communication, in particular to a distributed database node survival state detection module and method. Background technique [0002] The Raft protocol is commonly used in distributed networks to maintain the consistency of multiple copies. Reference attached figure 1 , the replica has a total of three states: Leader, Follower, and Candidate. Among them, Leader refers to the processor of all requests; Follower refers to the passive receiver of the request, which accepts the update request from the Leader and then writes it to the local log file; Candidate refers to the candidate. In the Raft cluster, there are and only There is a Leader. When the Leader is running normally, a node server will only belong to one of the two roles of Leader and Follower. Until the Leader fails, the Follower may become a Candidate, thereby triggering the election process. [0003] Usually a Raft group has 3 copies...

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): G06F16/23G06F16/27
CPCG06F16/2358G06F16/27
Inventor 王尧王瀚墨陈磊孙思清
Owner SHANDONG LANGCHAO YUNTOU INFORMATION 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