https://bravenewgeek.com/building-a-distributed-log-from-scratch-part-2-data-replication/
https://news.ycombinator.com/item?id=16021876
blog-post-building-a-distributed-log-part-1