Consensus is one of the most important and fundamental problems in the distributed systems that seems deceptively simple.

In this post we will take a look at what it is and what are the criteria for a solution.

What is it?

The problem is simple — Getting several nodes to agree on something.


In this post we will look at some of the high level options of dealing with node outages in a single leader replication database setup.

Any database node could go down unexpectedly due to fault or a scheduled maintenance. …


Checkout this quick overview of replication.

Ok, so you have database setup with one leader and couple of followers using semi-synchronous replication. …


In the modern web app scene, we have heard of replication of data over and over again. In this post, we’ll take quick overview of what replication is and why we need it.

Who needs it?

If you have a small app starting out that can handle the read traffic of your clients…


Queues as we know are FIFO in nature and usually used a means to achieve asynchronous operations.

One end of the spectrum of asynchronous-processing consists of batch processing where the amount of input data is bounded, e.g. daily data reconciliation at an enterprise level. On the other end is stream…


Art of scalability nicely attempts to capture scaling (web)applications in one shot

It is easy to think of replication and partition in terms of databases, but it can be applied much the same to application servers, caches etc. Here are the simplest uses cases. …

Srikant Viswanath

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store