Optimization method based on Gossip communication protocol and Raft election algorithm
An optimization method and communication protocol technology, applied in the non-relational database field, can solve the problems of Redis cluster error master-slave switching, unstable recovery time, failure to recover successfully, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0052] The optimization method based on the Gossip communication protocol and the Raft election algorithm of the present invention will be further described in detail below in conjunction with the accompanying drawings through specific embodiments.
[0053] In this embodiment, an optimization method based on the Gossip communication protocol and the Raft election algorithm is applied to a Redis cluster consisting of N×(n+1) nodes, where the nodes are Redis servers running in cluster mode, and Divided into N master nodes and N×n slave nodes, any master node corresponds to n slave nodes, and a master node and its corresponding n slave nodes form a slice; the optimization method is carried out as follows :
[0054] Step 1. Global definition:
[0055] Define the master node set composed of N master nodes as {M 1 , M 2 ,...,M i ,...,M N}, M i Indicates the i-th master node; 1≤i≤N;
[0056] Define the i-th master node M i The set of slave nodes is {S i1 ,S i2 ,...,S ij ,....
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com