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
Prajjwal Nijhara
November 23, 2023
0
20
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
37
Pycon_Africa.pdf
pnijhara
1
86
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
810
Optimizing for Happiness
mojombo
379
70k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
580
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.1k
Raft: Consensus for Rubyists
vanstee
140
7.1k
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)