And just to extend on the numorous references, this book reminded me what a time saver a good book is compared to lots of googling and blog posts.
I struggled with blog posts on raft, Byzantine fault tolerance, CAP theorem, transactions, serializable, and this book was my enlightenment