Posts Of The Week 2020-12-18
Replicating a database can make our applications faster and increase our tolerance to failures, but there are a lot of different options available and each one comes with a price tag. It’s hard to make the right choice if we do not understand how the tools we are using work, and what are the guarantees they provide (or, more importantly, do not provide), and that’s what I want to explore here.
https://www.brianstorti.com/replication/
What I really like about Brian’s page is that he also refers to two great articles: CAP, 12 years later and Werner Vogel’s Eventual Consistency
Another tip, to speed up git checkouts, use the following bash function (if you have fzf install):
jc.co()
{
git checkout $(git branch --format="%(refname:lstrip=2)" | fzf}
}