当前位置:网站首页>Getting started with Paxos
Getting started with Paxos
2022-07-05 00:36:00 【51CTO】
Leslie - Lambert On 1990 A consistency algorithm based on message passing was proposed in .
Basic-Paxos
Role Introduction
- Client Request originator , External role of the system
- Proposer receive Client request , Propose to the cluster . Play the role of conflict regulation
- Acceptor Propose votes and recipients , Only in the trip quorum (Quorum) when , The proposal will eventually be accepted .( Arbitration system )
- Learner Propose to the recipient , Backup , It has no impact on cluster consistency ( Don't vote )
Steps and stages
- 1、Prepare
Proposer Put forward a proposal , The number is N, this N Greater than this Proposer Previous proposal number . request acceptor Of quorum receive
- 2、Promise
If N More than that acceptor Any proposal number previously received is accepted , Otherwise, refuse
- 3、Accept
If we reach the majority ,proposer Will be issued acceptor request , This request contains the proposal number N, And the content
- 4、Accepted
If so acceptor No greater than... Was received during this period N Proposal for , Then accept the content of this proposal , Otherwise ignore
flow chart
- Some nodes fail , We can still reach a consensus
- Proposer Failure ,
Potential problems -- Live lock
Difficulty in realization , Low efficiency (2 round RPC)
Multi Paxos
Fast Paxos
边栏推荐
- IT转测试岗,从迷茫到坚定我究竟付出了什么?
- Basic points of the game setup of the points mall
- Design of emergency lighting evacuation indication system for urban rail transit station
- 7. Scala process control
- 1189. Maximum number of "balloons"
- Best practice case of enterprise digital transformation: introduction and reference of cloud based digital platform system security measures
- Daily practice (18): stack containing min function
- [论文阅读] TUN-Det: A Novel Network for Thyroid Ultrasound Nodule Detection
- Business implementation - the log is written to the same row of data
- Operator explanation
猜你喜欢

雅思考试流程、需要具体注意些什么、怎么复习?

【雅思阅读】王希伟阅读P4(matching1)

【雅思阅读】王希伟阅读P3(Heading)

Face recognition 5- insight face padding code practice notes

2022.07.03(LC_6111_统计放置房子的方式数)

The waterfall flow layout demo2 (method 2) used by the uniapp wechat applet (copy and paste can be used without other processing)

Verilog tutorial (11) initial block in Verilog
![[IELTS reading] Wang Xiwei reading P3 (heading)](/img/19/40564f2afc18fe3e34f218b7b44681.png)
[IELTS reading] Wang Xiwei reading P3 (heading)

巩固表达式C# 案例简单变量运算

Data on the number of functional divisions of national wetland parks in Qinghai Province, data on the distribution of wetlands and marshes across the country, and natural reserves in provinces, cities
随机推荐
(脚本)一键部署redis任意版本 —— 筑梦之路
AcWing164. 可达性统计(拓扑排序+bitset)
The company needs to be monitored. How do ZABBIX and Prometheus choose? That's the right choice!
If you open an account of Huatai Securities by stock speculation, is it safe to open an account online?
Enterprise application business scenarios, function addition and modification of C source code
Daily practice (18): stack containing min function
Face recognition 5- insight face padding code practice notes
全网最全正则实战指南,拿走不谢
Multilingual Wikipedia website source code development part II
人生无常,大肠包小肠, 这次真的可以回家看媳妇去了。。。
Reasons and solutions of redis cache penetration and avalanche
IT转测试岗,从迷茫到坚定我究竟付出了什么?
Detailed explanation of openharmony resource management
Basic points of the game setup of the points mall
Summary of week 22-07-02
[paper reading] cavemix: a simple data augmentation method for brain vision segmentation
URL和URI
【雅思阅读】王希伟阅读P3(Heading)
Hologres query management and timeout processing
leetcode494,474