MongoDB 分布式架构演进2016Postgres中国用户大会 Postgres Conference China 2016 中国用户大会 MongoDB 核心优势 •文档模型 灵 活 灵 活 •复制集 高可用 高可用 •分片集群 可扩展 可扩展 2016Postgres中国用户大会 Postgres Conference China 2016 中国用户大会 文档模型 – 接近真实对象模 型,对开发人员友 好 Conference China 2016 中国用户大会 主要内容 • 如何保证数据高可靠? • 如何保证服务高可用? • 如何实现水平扩展? 单节 点 单节 点 主备 主备 复制 集 复制 集 分片 集群 分片 集群 2016Postgres中国用户大会 Postgres Conference China 2016 中国用户大会 单节点 Mongod Client Client Client WriteConcern: {w: 1} WriteConcern: {w: 2} 2016Postgres中国用户大会 Postgres Conference China 2016 中国用户大会 选举规则 节点数 大多数 1 1 2 2 3 2 4 3 5 3 6 4 7 4 https://raft.github.io/ 2016Postgres中国用户大会 Postgres0 码力 | 29 页 | 2.03 MB | 1 年前3
共 1 条
- 1













