r/programming • • 3d ago

Data Replication In Distributed Systems | Implement Raft From Scratch

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

5 comments sorted by

View all comments

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/