Raft Consensus Algorithm Unraveled

Ever wondered how the modern distributed data stores like CockroachDB, YugabyteDB, TiDB, Kudu, etc., kept data in-sync across the different nodes in the cluster ??? They all use one thing in common – the Raft Consensus Alogrithm to maintain consistency among the nodes in the cluster.

In this article, we unravel the inner workings of Raft by implementing our own version of the algorithm in Go programming language.

Here is the link to the article:

Raft Consensus Algorithm Unraveled

Enjoy 😉 !!!

Building a Linux Container using Namespaces :: Part – 2

In this article, we will demonstrate how one can isolate a process to have its own Mount points and Networking stack independent of the Host namespace leading up to building a simple Container from scratch using Namespaces in Linux. Here is the link to the article:

Building a Linux Container using Namespaces :: Part – 2

Here is the Github repo for the code from this series.

Enjoy 😉 !!!

Building a Linux Container using Namespaces :: Part – 1

In this article, we will demonstrate how one can isolate a process to have its own Host name, User/Group IDs, Process IDs , and Mount independent of the Host namespace leading up to building a simple Container from scratch using Namespaces in Linux. Here is the link to the article:

Building a Linux Container using Namespaces :: Part – 1

Enjoy 😉 !!!