HackerTube

Raft lecture (Raft user study)

Diego Ongaro4 HN recommenders · recommended in 4 months, 2013–2025
YouTube
lecture · intermediate · evergreen · 2013–2025 on HN

John Ousterhout lectures on the Raft consensus algorithm, made for the Raft user study comparing how students learn Raft and Paxos. It covers leader election and log repair.

HN commenters recommend it as a clearer introduction to Raft than the paper and as part of a well-designed understandability study.

9 comments from Hacker News

@krat0sprakhar2014-10 · in “The Raft Consensus Algorithm”

One of the most lucid explanations of the Raft Consensus Algorithm that I've ever seen is the one in John Ousterhout and Diego Ongaro's Raft User Study[0]. The 2 videos do an excellent job of explaining both the Paxos and Raft algorithms and the key differences between them. John's narration is extremely clear and the slides are very informative. Definitely recommended! Raft is a consensus algorithm designed to be easier to understand than Paxos. To measure Raft's understandability, we conducted an experimental study using CS students at two universities. We recorded a video lecture of Raft and another of Paxos, and created corresponding quizzes. This page makes our materials available for anyone interested. We think these are valuable resources for anyone learning consensus (whether Raft or Paxos or both). [0] - link Raft Video - ▶ this video Paxos Video - link

Strongly recommends View on HN
@sathish3162025-08 · in “The Raft Consensus Algorithm (2015)”

This YouTube video by the Raft creators (linked at the bottom of the page) gives a solid explanation of Raft internals - ▶ this video

Recommends View on HN
@pkj2013-11 · in “The Writings of Leslie Lamport”

A really good intro to Raft --> ▶ this video Very useful if you are into distributed systems and would like to see a practical implementation with clear examples.

Recommends View on HN
@tomjohnson32013-09 · in “ZooKeeper vs. Doozer vs. Etcd”

one other thing to keep in mind is that the underlying algorithms (zab and raft) provide different guarantees. for example, zookeeper/zab allows reading directly from followers with a guarantee to get at least a past value that won't be rolled back. this was one reason zookeer didn't use paxos: link in my understanding, raft doesn't allow reading directly from followers, because the follower logs may get repaired/rolled-back when a new leader is elected. (though i'm sure an implementation can tweak the protocol to provide this support.) that said, raft has a lot of interesting applications, and, in my opinion, is definitely more understandable than the many versions of paxos. (implementing zab yourself, at this point, would be a futile exercise.) i found the videos from the raft user study to be very well done (and easier to understand than even their paper): raft: link paxos: ▶ this video ...however, i think they did paxos a disadvantage by not just focusing on multi-paxos (which is probably the most common implementation). but, it's certainly fair to say that info about paxos is spread out far and wide...with perhaps too many knobs to turn and implementation-related details to fill in yourself. as a side note: i've just started implementing raft in a set of libraries (multiple languages) that will be open source - along with other protocols.

Recommends View on HN
@ignoramous2021-07 · in “Paxos vs. Raft: Have we reached consensus on distributed consensus?”

Raft is very similar to Multi-Paxos. These Raft and Paxos user studies comparing the "understandability" of the two protocols might be helpful: link (Paxos), ▶ this video (Raft). See also, comparison of various "Paxos" implementations: link