alibaba / MongoShake

MongoShake is a universal data replication platform based on MongoDB's oplog. Redundant replication and active-active replication are two most important functions. 基于mongodb oplog的集群复制工具,可以满足迁移和同步的需求,进一步实现灾备和多活功能。
GNU General Public License v3.0
1.72k stars 441 forks source link

MongoDB到MongoDB分片集同步,目标写入能多个mongos做负载均衡吗? #79

Closed shiftyman closed 5 years ago

shiftyman commented 5 years ago

如题?

vinllen commented 5 years ago

可以,你可以看下源码实现,在directWriter中会根据不同的worker id进行roundrobin