5. Replication: Designing Data-Intensive Applications – Matthew Xie
Replication的好处:
1. 更靠近用户;2. 即使有部分系统down了,允许系统继续工作;3. 更多可以take read queries的机器。
To keep data geographically close to your users (reduce latency)
To allow the system to continue working even if some of its parts have failed (increase availability)
To scale out the number of machines that can serve read queries (increase read throughput)
一般来说有三种popular replication algorithms:
single-leader, multi-leader and leaderless replication
Read full article from 5. Replication: Designing Data-Intensive Applications – Matthew Xie
No comments:
Post a Comment