beginnerDistributed Systems — Replication, Partitioning & Consistency

What is the difference between leader-follower and leaderless replication?

Leader-follower: one designated leader accepts all writes; followers replicate from leader. Cons: single bottleneck for writes; leader failure requires election; lag between leader and followers means followers may be stale. Examples: MongoDB, MySQL, Redis Sentinel. Leaderless (Dynamo-style): any replica can accept writes simultaneously. Client writes to W replicas; reads from R replicas. With W +

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full Databases Mastery library.

What is the difference between leader-follower and leaderless replication?

Next Step

Continue to What is consistent hashing and why is it important for distributed databases?← Back to all NoSQL questions