Etcd is a distributed reliable key-value store, which can be used in various scenarios. These days I am trying to setup a single node Etcd cluster in kubernetes for project demo purpose. I am a little curious about how multiple Etcd nodes work together as a reliable cluster. After reading the official document, I know a new term: raft, which is a distributed consensus algorithm.  In the raft website, I find a very good website that briefly explains the raft algorithm as below:

http://thesecretlivesofdata.com/raft/

This website explains the main concepts and workflow in raft, and also demonstrates some interaction between raft nodes using animation.

Leave a Reply

Your email address will not be published.