跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 分布式、并行与集群计算

arXiv:2004.05074 (cs)
[提交于 2020年4月10日 (v1),最后修订于 2020年4月27日 (此版本, v2)]

标题:Paxos vs Raft: Have we reached consensus on distributed consensus?

作者:Heidi Howard, Richard Mortier
查看论文《Paxos vs Raft: Have we reached consensus on distributed consensus?》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Distributed consensus is a fundamental primitive for constructing fault-tolerant, strongly-consistent distributed systems. Though many distributed consensus algorithms have been proposed, just two dominate production systems: Paxos, the traditional, famously subtle, algorithm; and Raft, a more recent algorithm positioned as a more understandable alternative to Paxos. In this paper, we consider the question of which algorithm, Paxos or Raft, is the better solution to distributed consensus? We analyse both to determine exactly how they differ by describing a simplified Paxos algorithm using Raft's terminology and pragmatic abstractions. We find that both Paxos and Raft take a very similar approach to distributed consensus, differing only in their approach to leader election. Most notably, Raft only allows servers with up-to-date logs to become leaders, whereas Paxos allows any server to be leader provided it then updates its log to ensure it is up-to-date. Raft's approach is surprisingly efficient given its simplicity as, unlike Paxos, it does not require log entries to be exchanged during leader election. We surmise that much of the understandability of Raft comes from the paper's clear presentation rather than being fundamental to the underlying algorithm being presented.
评论: To be published in the 7th Workshop on Principles and Practice of Consistency for Distributed Data (PaPoC)
主题: 分布式、并行与集群计算 (cs.DC)
引用方式: arXiv:2004.05074 [cs.DC]
  (或者 arXiv:2004.05074v2 [cs.DC] 对于此版本)
  https://doi.org/10.48550/arXiv.2004.05074
相关 DOI: https://doi.org/10.1145/3380787.3393681

提交历史

来自:Heidi Howard
[v1] 2020年4月10日 星期五 15:30:31 UTC
[v2] 2020年4月27日 星期一 21:29:45 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DC
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-04
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站