Essay : Leaderless Replication to have Strong Consistency in Distributed Database

Arpit Bhayani

Arpit Bhayani

Jan 17, 2022 • 2 min read


Essay #69: Leaderless Replication to have Strong Consistency in Distributed Database

Traditional leader-centric replication strategies revolve around the fact that there will be one Master (leader) node that will acknowledge and accept all the writes operations and then replicate the updates across the replicas (read or master). In this essay, we take a look into a different way of replication, called Leaderless Replication, that comes in handy in a multi-master setup that demands strong consistency.

In this quick 6 minute read, we go through the following 6 points

 - Leader-centric Replication  - Leaderless Replication  - Reads and Write operations in Leaderless Replication  - Generic Leaderless Replication  - Approaches for Leaderless Replication  - Why and when should we adopt Leaderless Replication

Do give it a read: https://lnkd.in/gkn_SzEV.

This is the 13th essay in #DistributedSystems series, you can find others at https://lnkd.in/ff2xbD2

If you are new here, I teach a course on System Design where you’ll learn how to design scalable systems intuitively. The course will not only help you in your technical discussions but will also make you a better engineer overall. I have compressed my ~9 years of work experience into this course, and 300+ engineers have already taken it.

If you also want to be part of this journey and discuss core engineering, my next batch starts on the 5th of March 2022. Course details and curriculum can be found at arpitbhayani.me/course.

You can also subscribe to my newsletter and get these essays delivered straight to your inbox: arpitbhayani.me/newsletter. 2500+ engineers have been reading my newsletter.

Arpit Bhayani

Principal Engineer II at Razorpay - building Agent Studio, Ex-staff engg at GCP Memorystore & Dataproc, Creator of DiceDB, ex-Amazon Fast Data, ex-Director of Engg. SRE and Data Engineering at Unacademy. I spark engineering curiosity through my no-fluff engineering videos on YouTube and my courses