Skip to main content

3 posts tagged with "Distributed Systems"

Distributed systems, scalability, and consensus

View All Tags

CAP theorem is mostly misunderstood

· 5 min read
Sugu Sougoumarane
Head of Multigres - Supabase

I have always been a big fan of the CAP theorem and its corollary PACELC. There are so many articles that talk about these theorems. However, they often end up making misdirected claims by categorizing systems one way or another.

After much googling, I was not able to find a single article that clearly explained how these rules should be applied in real life. So, here is a way to make it easy for a layperson:

A More Flexible Paxos

· 6 min read
Sugu Sougoumarane
Head of Multigres - Supabase

With systems getting more and more distributed, the Paxos algorithm has been gaining popularity. However, a major drawback with today's configurations is that you cannot run too many Paxos servers in a quorum. The sweet spot seems to be five servers. Those who run only three have to deal with the risk of downtime. Those who run seven or more have to face degraded write performance.

In short, it seems that you have to trade-off between uptime and write performance. However, it is possible to have both if we redefined the quorum rules, and this blog intends to show how.