This post breaks down consensus using Raft into a simple mental model. https://gokuljs.com/blogs/raft-consensus-algorithm