System Design Fundamentals

0% completed

What is Leader and Follower Pattern?

Background

Distributed systems keep multiple copies of data for fault tolerance and higher availability. A system can use quorum to ensure data consistency between replicas, i.e., all reads and writes are not considered successful until a majority of nodes participate in the operation. However, using quorum can lead to another problem, that is, lower availability; at any time, the system needs to ensure that at least a majority of replicas are up and available, otherwise the operation will fail

.....

.....

.....

Like the course? Get enrolled and start learning!
Sid D

Sid D

· a year ago

The first section mentions that it’s possible to have inconsistent data reads even while using a quorum of nodes. How is that possible.

Show 2 replies
Sid D

Sid D

· a year ago

Leader-Follower seems to be an alternative approach to quorum.

Can you add the tradeoffs between the two. When is one better over the other. Any examples that convey this choice.

Show 1 reply
S

Suraj Gupta Gudla

· 4 months ago

But isn't this an example for highly available but eventually consistent system.

Whereas quorum always guarantees strict consistency.