Skip to content

Commit

Permalink
The correct statement in DB replication is: Higher Reads to Write ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
punkcity authored Apr 6, 2024
1 parent 439629f commit a3621e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system-design/system-design-interview/chapter02/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Web tier looks lit now. But what about the data tier?
Database replication can usually be achieved via master/slave replication (side note - nowadays, it's usually referred to as primary/secondary replication).

A master database generally only supports writes. Slave databases store copies of the data from the master & only support read operations.
This setup works well for most applications as there's usually a higher write to read ratio. Reads can easily be scaled by adding more slave instances.
This setup works well for most applications as there's usually a higher read to write ratio. Reads can easily be scaled by adding more slave instances.
![master-slave-replication](images/master-slave-replication.png)

Advantages:
Expand Down

0 comments on commit a3621e0

Please sign in to comment.