System Design Fundamentals

0% completed

Replication Methods

Replication in database systems is a strategy for ensuring data availability, redundancy, and load balancing. There are several replication methods, each with its advantages and challenges.

1. Single-leader replication

In single-leader (a.k.a. primary-backup) replication, one node handles all writes while one or more followers asynchronously or synchronously replicate its state. The follower may or may not serve read traffic (depending upon the settings).

Example

MySQL primary-replica: one master accepts writes; replicas pull binlog events and replay them.

.....

.....

.....

Like the course? Get enrolled and start learning!
Tan Chin Siang

Tan Chin Siang

· 2 years ago

In the context I saw that the write operations are all handled by primary. Therefore, what is the additional difference between them? Or are they the same method actually..

Show 3 replies
tanish bansal

tanish bansal

· 2 years ago

Both read replica and snapshot replication seems to be exact same, can you elaborate the differneces

Show 2 replies