Why it matters
Foundational replication pattern. Understanding shapes DB deployments.
Advertisement
The architecture
Leader accepts writes; streams to followers.
Followers accept reads.
Advertisement
How it works end to end
Sync vs async replication: consistency vs latency trade-off.
Failover: promote follower to leader on failure.
Read-your-writes: sticky sessions or read from leader.