Building raft to understand it better

Raft is consensus algorithm that’s being widely used in distributed stores and queues. It was designed to be easy to understand and to implement. For example it’s used by NATs the distributed lightweight queue system, or by etcd the distributed key value store used by Kubernetes. In this article I will try to reverse engineer Raft just by using this visualization , implement and explain how it works. I will not be reading the “Raft paper ” before finishing this project....

February 7, 2024 · 10 min · 1918 words