分布式系统复制
Distributed Systems · 7 notes
- 4. Distributed-System Replicationhistorical
Replication stores copies of the same data on multiple nodes to improve availability and capacity. These notes organize its concepts, methods, and architectures.
- 4.1 Distributed-System Replication Architecture: Leader-Leader Replicationhistorical
Multi-leader replication allows several leaders to accept writes, each potentially with followers. These notes examine the architecture in multi-datacenter scenarios.
- 4.2 Distributed-System Replication Architecture: Leaderless Replicationhistorical
Distributed-System Replication Architecture: Leaderless Replication: There is no Leader. When the client writes, it sends the write request to all replicas in parallel; when it reads, it similarly sends the read request to all replicas in parallel.
- 4.3 Distributed-System Replication Architecture: Leader-Follower Replicationhistorical
Leader-follower replication has one leader and multiple followers. These notes begin with a single-datacenter scenario and examine requests and replication.
- 4.4 Distributed-System Replication Logshistorical
Replicas commonly track data changes through replication logs. These notes compare approaches by their log formats.
- 4.5 Distributed-System Replication Methodshistorical
Replication modes determine how many replica acknowledgments the leader waits for and when clients receive success. These notes compare synchronous and asynchronous replication.
- 4.6 Distributed-System Replication Architecturehistorical
Replicas can serve different roles, such as leader and follower. These notes use those responsibilities to compare replication architectures.