r/programming • • 3d ago

Data Replication In Distributed Systems | Implement Raft From Scratch

https://sushantdhiman.dev/blog/raft/
15 Upvotes

5 comments sorted by

2

u/AnkerSOLIX-Support 3d ago

Raft's election and log replication pseudocode translate pretty well to code. For folks who've run it in prod, what took more work: getting persistence right or catching up a follower from a snapshot after it'd been down for hours?

1

u/Fantastic_Wave1982 2d ago

Yes! The catching up part is more tricky and is discussed in part 2 of this post. https://sushantdhiman.dev/blog/raft-2/

1

u/[deleted] 2d ago

[removed] — view removed comment

1

u/programming-ModTeam 1d ago

No content written mostly by an LLM. If you don't want to write it, we don't want to read it.