<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>raft on 程序员的冷浪漫</title>
    <link>https://forrestsu.github.io/tags/raft/</link>
    <description>Recent content in raft on 程序员的冷浪漫</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-Hans</language>
    <lastBuildDate>Fri, 20 Apr 2018 22:44:50 +0800</lastBuildDate><atom:link href="https://forrestsu.github.io/tags/raft/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>raft协议怎么理解？</title>
      <link>https://forrestsu.github.io/posts/developerguide/architecture/raft/raft%E5%8D%8F%E8%AE%AE%E6%80%8E%E4%B9%88%E7%90%86%E8%A7%A3/</link>
      <pubDate>Fri, 20 Apr 2018 22:44:50 +0800</pubDate>
      
      <guid>https://forrestsu.github.io/posts/developerguide/architecture/raft/raft%E5%8D%8F%E8%AE%AE%E6%80%8E%E4%B9%88%E7%90%86%E8%A7%A3/</guid>
      <description>Raft 协议是一种为了提高易理解性（Understandability）和易实现性而设计的分布式共识算法（Consensus Algorithm）。 在分布式系统中，为了保证“数据不丢、服务不挂”，通常会将数据复制到多台服务器上。但如果某台机器宕机或网络发生抖动，如何让所有机器对某个数据更改“达成一致”？这就是分布式共识要解决的问题。著名的 Paxos 协议虽然严谨，但极其晦涩且难以工程落地；Raft 就是为了替代 Paxos 而诞生的。 理解 Raft 协议，核心只需要抓住 “1 个目标、3 种角色、2 个核心机制”。 一、 核心思想：强 Leader 模型 Raft 采用了</description>
    </item>
    
  </channel>
</rss>
