Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Raft_Consensus_Algorithm_Prajjwal.pdf
Search
Prajjwal Nijhara
November 23, 2023
0
21
Raft_Consensus_Algorithm_Prajjwal.pdf
Prajjwal Nijhara
November 23, 2023
Tweet
Share
More Decks by Prajjwal Nijhara
See All by Prajjwal Nijhara
Setting up your Python environment for ML
pnijhara
0
39
Pycon_Africa.pdf
pnijhara
1
86
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
BBQ
matthewcrist
89
9.9k
Designing Experiences People Love
moore
143
24k
A designer walks into a library…
pauljervisheath
210
24k
Unsuck your backbone
ammeep
671
58k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Why Our Code Smells
bkeepers
PRO
340
57k
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.1k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Transcript
Raft Consensus Algorithm Presented by: Prajjwal Nijhara
Disclaimer: Taken ideas from existing presentations available at the raft
community.
Badminton Practice Scenario
Harsh Prajjwal Manaswi Akshansh
Harsh Prajjwal Manaswi Akshansh
Harsh Prajjwal Manaswi Akshansh Up for badminton practice?
Harsh Prajjwal Manaswi Akshansh Up for badminton practice?
Harsh Prajjwal Manaswi Akshansh Yes, why not Hell yeah! I
am in! zzzzzz…..
Harsh Prajjwal Manaswi Akshansh Let’s meet at the court
Harsh Prajjwal Manaswi Akshansh Sounds good! Yeah! I will be
there zzzzzz…..
Harsh Prajjwal Manaswi Akshansh Wakes up!
Harsh Prajjwal Manaswi Akshansh Who wants to go for practice?
Harsh Prajjwal Manaswi Akshansh We are going to the court
Badminton Practice Consensus
What did we just do?
• Leader Election • State Replication • Partition Tolerance
Let us write the algorithm
None
To understand the Raft Algorithm formally, let us move to
the Raft Playground. http://thesecretlivesofdata.com/raft/
When should I use this algorithm?
• Distributed Locks • Distributed Configurations • Background Jobs
References - Raft Paper - Raft Website - Google Scholar
- Tons of presentations available on the internet. - ChatGPT (LOL !!)
Thank you!! Questions? (I am not that perfect with this
algorithm, however, I will try to answer them)