The Raft consensus algorithm explained through "Mean Girls" (2019) (cockroachlabs.com)

by vermilingua 29 comments 136 points
Read article View on HN

29 comments

[−] BSTRhino 35d ago
That is so fetch!

In all honesty though, I quite enjoyed how this article was written. Is there a listing somewhere of articles written like this, with algorithms or concepts explained using analogies to pop culture?

[−] noahflynn 35d ago
Submodular optimization explained through "Gossip Girl" : https://www.youtube.com/watch?v=vJ3ErkmUpLU
[−] pragmatick 35d ago
Not what you asked for but you may enjoy Pitch Perfect 237: https://www.youtube.com/watch?v=MiC9X_MoE1M
[−] mi_lk 35d ago
The guy has a point
[−] jfengel 35d ago
Stop trying to make fetch happen.
[−] dang 35d ago
Previously:

Raft Is So Fetch: The Raft Consensus Algorithm Explained Through Mean Girls - https://news.ycombinator.com/item?id=33071069 - Oct 2022 (53 comments)

Raft Is So Fetch: The Raft Consensus Algorithm Explained Through Mean Girls - https://news.ycombinator.com/item?id=22520040 - March 2020 (4 comments)

[−] xyzal 35d ago
As a lover or Raft Consensus Algorithm, now I have to watch Mean Girls I guess.
[−] cocodill 35d ago
I looked through the gifs and ended up understanding even less than before.
[−] trick-or-treat 35d ago
They need to stop trying to make fetch a thing.
[−] EdwardDiego 35d ago
Which movie would you use to explain Paxos?
[−] interloxia 35d ago
"Chat generate a blog post on paxos but explain it through Mad Max: Fury Road"
[−] defrost 35d ago
The Postman (1997)

restoration of packet messaging across unreliable transport.

[−] sateesh 35d ago
As someone who doesn't know/watched "Mean Girls" this seems confusing. Also I don't think it is fair to assume that reading of a blog post makes one to understand Raft better, at best they pique one's interest to learn more about it. IMHO Reading/re-reading of the Raft paper and working through an instructional implementation like (https://github.com/eliben/raft) provides a better understanding.
[−] cestith 35d ago
It’s not explaining any deep technical details. Think of it as a gentle introduction to the idea for someone to explain why they might want to read the paper, before reading the paper.
[−] sateesh 35d ago
If the article was intended to be an intro to "Raft" algorithm I would've agreed with your sentiment. But this is what the article starts with:

  Understanding Raft can be tough. In fact, I’ve seen   conversations recently on social media in which actual technical leaders of infrastructure companies demonstrate a lack of understanding (!). Point being, you’re not alone.
Anyway I now notice that the article was written in 2023, probably I'm being too pedantic.
[−] cestith 35d ago
I think the point being made (I’m not the author after all) is not that they are misunderstanding how Raft achieves consensus, but what it means in the first place when we speak of it doing so and why that’s useful. By “technical leaders” here, one might think of CTOs, directors, and senior managers over technical teams rather than senior ICs.
[−] ihucgfdcjibhg 35d ago
[dead]
[−] up2isomorphism 35d ago
But why?
[−] skeptrune 35d ago
lmao, i love this
[−] fedorsapronov 35d ago
[flagged]
[−] tylerhou 35d ago
bot, or someone heavily using an LLM. all 26 “papers” listed on orcid were written in 2026 and “published” on zenodo
[−] diorrkrk 35d ago
[flagged]
[−] trick-or-treat 35d ago
Is that your real take? The girls have the power in that movie they manipulate the boys not the other way around. The adults are oblivious (except for Tina). There is no patriarchy.
[−] DarkNova6 35d ago
This is another way of telling us you haven't seen the movie without telling us you haven't seen the movie.
[−] lwhi 35d ago
You're a virgin who can't drive!

Admittedly, this is Clueless (and way harsh) .. but I couldn't help myself.

[−] defrost 35d ago
It ably demonstrates the propensity of IT industry drive by commenters to be confidently, totally, utterly incorrect in every aspect of what they opine.
[−] eru 35d ago
At the risk of going even more off-topic:

> Mean Girls demonstrate how patriarchy shapes young girls, [...]

Of course, young girls have no agency and the only thing shaping them is the mean patriarchy... /s

[−] SomaticPirate 35d ago
“Chat generate me an explanation blog posts on the Raft consensus algorithm… but explain it through mean girls”
[−] 7e 35d ago
Given that Raft was rederived simply because the authors couldn’t originally understand Paxos, I’m not surprised to see this.