Settings

Theme

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

cockroachlabs.com

136 points by vermilingua 24 days ago · 32 comments

Reader

BSTRhino 24 days 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?

dang 24 days 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 24 days ago

As a lover or Raft Consensus Algorithm, now I have to watch Mean Girls I guess.

cocodill 24 days ago

I looked through the gifs and ended up understanding even less than before.

trick-or-treat 24 days ago

They need to stop trying to make fetch a thing.

EdwardDiego 24 days ago

Which movie would you use to explain Paxos?

  • interloxia 24 days ago

    "Chat generate a blog post on paxos but explain it through Mad Max: Fury Road"

    • defrost 24 days ago

      The Postman (1997)

      restoration of packet messaging across unreliable transport.

sateesh 23 days 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 23 days 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 23 days 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 23 days 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.

up2isomorphism 23 days ago

But why?

skeptrune 24 days ago

lmao, i love this

SomaticPirate 24 days ago

“Chat generate me an explanation blog posts on the Raft consensus algorithm… but explain it through mean girls”

  • Cthulhu_ 23 days ago

    It's from 2019, it predates ChatGPT and co. Your comment and criticism is not valid.

7e 23 days ago

Given that Raft was rederived simply because the authors couldn’t originally understand Paxos, I’m not surprised to see this.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection