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

Distributed database network connection management method based on Gossip

A network connection and management method technology, applied in the direction of database distribution/replication, structured data retrieval, resource allocation, etc., can solve the problem of increased message delay, increasing the difficulty of real-time grasp of network connection status, unable to ensure node connection balance and network flattening To achieve the effect of speeding up message synchronization, reducing the impact of network abnormalities, and reducing message delays

Pending Publication Date: 2022-04-15
上海沄熹科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The distributed database cluster adopts the Gossip protocol, and the nodes can freely form a network. However, when the node restarts or a new node joins, the network connection status will also undergo more changes, which increases the difficulty of real-time grasp of the network connection situation. At the same time, free networking also brings problems that node connection balance and network flattening cannot be guaranteed, and the loose networking structure leads to increased message delay and cannot fully utilize network bandwidth.

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 network connection management method based on Gossip
  • Distributed database network connection management method based on Gossip
  • Distributed database network connection management method based on Gossip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Gossip protocol is generally called "rumor algorithm" and "epidemic propagation algorithm". The feature is that the nodes in the Gossip network are peer-to-peer, there is no central node, allowing arbitrary increase and decrease of nodes, and it is scalable. The message transmission speed under the Gossip network is exponential, but due to the weak consistency principle, there may be differences in the information of each node at the same time, but as time goes by, the information of the entire network will eventually reach a consensus at a certain moment.

[0042] Distributed databases usually organize data into an ordered key-value pair structure, and segment the key space. Each segment is called a range. For disaster recovery and high availability support, multiple copies are generally configured for each Range. And select one of them as the master copy to submit instructions. The master copy is also called the leader copy and needs to keep data synchronization with ...

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 network connection management method based on Gossip, and relates to the technical field of distributed communication. The method comprises the following steps: defining the content and format of a broadcast message related to network connection of a distributed database, carrying out data synchronization of nodes of the distributed database according to the content and format of the broadcast message based on a Gossip protocol, and collecting connection information and connection state data of the nodes of the distributed database according to the data synchronization condition, and performing partition check on the distributed database network according to the data synchronization condition of the broadcast message among the distributed database nodes, performing automatic reconnection aiming at the network partitions, periodically selecting the distributed database nodes to newly establish connections, and limiting the number of the connections of the distributed database nodes to realize connection load balancing.

Description

technical field [0001] The invention discloses a method, relates to the technical field of distributed communication, in particular to a Gossip-based distributed database network connection management method. Background technique [0002] The distributed database cluster adopts the Gossip protocol, and the nodes can freely form a network. However, when the node restarts or a new node joins, the network connection status will also undergo more changes, which increases the difficulty of real-time grasp of the network connection situation. At the same time, free networking also brings the problem that node connection balance and network flattening cannot be guaranteed, and the loose networking structure leads to increased message delay and cannot fully utilize network bandwidth. Contents of the invention [0003] Aiming at the problems in the prior art, the present invention provides a Gossip-based distributed database network connection management method, on the basis of Gos...

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): H04L67/1095H04L67/14H04L67/1004H04L67/01G06F16/27G06F9/50
Inventor 张士威任宏晖王瀚墨
Owner 上海沄熹科技有限公司