Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Raft_Consensus_Algorithm_Prajjwal.pdf
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Prajjwal Nijhara
November 23, 2023
0
22
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
88
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
99
Site-Speed That Sticks
csswizardry
13
1.1k
Embracing the Ebb and Flow
colly
88
5k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Building an army of robots
kneath
306
46k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Agile that works and the tools we love
rasmusluckow
331
21k
New Earth Scene 8
popppiees
1
1.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
450
Navigating Weather and Climate Data
rabernat
0
100
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
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)