- Replication keeps live copies of your database
11:10. - Architecture
11:10:- Writes go to the primary.
- The primary replicates data to the replicas.
- Reads go to the replicas, which other applications can read from.
- Main benefit: removes read pressure from the primary
11:10. - This concept belongs more to system design territory
11:45.
flowchart TD
W[Writes] --> P[(Primary)]
P -->|replicates| R1[(Replica 1)]
P -->|replicates| R2[(Replica 2)]
Reads --> R1
Reads --> R2