Interview Bootcamp
Vote

0% completed

What is Leader and Follower Pattern?

Distributed systems keep several copies of the same data on different servers. The leader and follower pattern is a simple way to organize those servers. One server is in charge and coordinates all the others (the leader). The rest copy its data and stand by (the followers).

Think of a team lead on a software team. All new work goes to the lead first. The lead records the plan, assigns tasks, and keeps everyone working from the same picture. If the lead goes on vacation, one teammate steps up as the new lead, and the team keeps moving.

.....

.....

.....

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

· 5 months ago

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

Whereas quorum always guarantees strict consistency.