Pattern 01 / DATA
Primary-Replica (Leader-Follower)
Use this when scaling read traffic without sending every query to the write leader.
- Pressure
- Scaling read traffic without sending every query to the write leader
- Mechanism
- A primary accepts writes and streams changes to read replicas; failover promotes a replica when needed
- Toll
- Replication lag can make replica reads stale; synchronous replication reduces lag but slows writes
