Golang implementation of consensus raft algorithm
Автор: Abhinav Nair
Загружено: 2026-03-08
Просмотров: 28
Описание:
In distributed systems, the hardest challenge isn't storing data—it's maintaining consistency when servers inevitably crash. In this video, I walk through my from-scratch implementation of the Raft Consensus Algorithm, built entirely in Go.
I explain the core problem of Availability vs. Consistency, dive into how Raft solves this through Leader Election and Log Replication, and run a live chaos test on a 5-node cluster to demonstrate fault tolerance in action.
🔗 Links & Resources:
GitHub Repository: https://github.com/Abhinavnair13/distribut...
Original Raft Paper: https://raft.github.io/raft.pdf
⏳ Chapters:
0:00 - Introduction to the Problem
0:24 - Availability vs. Consistency
1:59 - What is the Raft Protocol?
2:40 - Node States & Terms
3:49 - Leader Election & Heartbeats
5:24 - Handling Split Votes (Stalemates)
6:24 - Summary of Core Concepts
6:53 - Live Demo: Cluster Setup & Client Redirects
8:36 - Live Demo: Log Replication in Action
9:38 - Live Demo: Fault Tolerance & Crash Recovery
11:15 - Edge Cases
11:53 - Conclusion
💻 Tech Stack:
Go (Golang)
gRPC & Protocol Buffers
Multithreading (Goroutines & Channels)
#DistributedSystems #Golang #RaftConsensus #BackendEngineering #SystemDesign #SoftwareEngineering
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: