Grokking System Design Fundamentals
Ask Author
Back to course home

0% completed

Vote For New Content
Tan Chin Siang
Difference between Primary-Replica and Read-Replica

Tan Chin Siang

Jul 22, 2024

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..

3

0

Comments
Comments
Rakesh Reddy
Rakesh Reddya year ago

yeah same doubt

LeafarBlu BR
LeafarBlu BR10 months ago

I think the main difference can be related to the failover support, for example, when the primary goes down.

In the Primary-replica, the replica could assume the role of master/primary.

In the Read-replica, the replica could not assume the role of master/primary.

Design Gurus
Design Gurus4 months ago

We have added a few more details to the lesson to explain this:

Difference between Single-leader and Read-replica

Single-leader

  • You can optionally direct reads to replicas, but it isn’t the primary goal.
  • Often used for failover, backups, or analytics ...

On this page