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

Distributed server cluster configuration method based on Raft

A technology of distributed servers and server clusters, applied in the direction of electrical components, transmission systems, etc., can solve problems such as difficult commercial system implementation, affecting configuration efficiency, and complexity that is difficult to understand

Inactive Publication Date: 2020-08-11
HOHAI UNIV
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0019] In the past ten years, the Paxos algorithm has been the benchmark in the field of distributed consistency, but due to its complexity and incomprehension, it is difficult to implement it in actual commercial systems, which makes it easy for distributed server clusters to The configuration process becomes complicated, affecting configuration efficiency

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 server cluster configuration method based on Raft
  • Distributed server cluster configuration method based on Raft

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the purpose, technical solution and advantages of the present application clearer, the present application 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 application, and are not intended to limit the present application.

[0048] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiment...

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 server cluster configuration method based on Raft. The method comprises the steps: configuring cluster nodes, partitioning each cluster node, and modifying the state of the whole server cluster, so that the leader node of the network partition sends the request of the client to other follower nodes of the network partition; when the follower node executes theoperation included in the request of the client in the local database, enabling the follower node to send the request to the client; sending a response to the leader node of the corresponding networkpartition, when the leader node receives the response of the corresponding network partition follower node, enabling the leader node to send the response to the network partition follower node; and setting the request of the client to be in a submission state. In addition, if the follower node does not receive the heartbeat detection information sent by the leader node within the election timeouttime, the leader node sends the heartbeat detection information to the leader node; if so, the follower node becomes a candidate node, the candidate node becomes a new leader node of the network partition according to a corresponding rule, and the period number is updated to realize configuration of the corresponding distributed server cluster.

Description

technical field [0001] The present invention relates to the technical field of distributed signal processing, in particular to a Raft-based distributed server cluster configuration method. Background technique [0002] In modern society, it is often necessary to use many computers to process some transactions, so how to ensure that these machines work together as a whole without being separated from each other is the problem that the consensus algorithm of the distributed system needs to solve. Consistency does not mean the correctness of the results, but whether the states displayed by multiple physical nodes in the distributed system are consistent after processing. The distributed consensus algorithm commonly used by people is the Paxos algorithm. It has been 30 years since the Paxos algorithm was proposed in 1990. During this period, many researchers and teams have tried to improve the Paxos algorithm, but the Paxos algorithm itself is obscure and difficult. Understand,...

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/08H04L29/12
CPCH04L67/10H04L61/5007H04L67/60
Inventor 许仁益韩立新
Owner HOHAI UNIV
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