随笔分类 - [03] 并行分布
摘要:原文 1. 背景 shard allocation 意思是分片分配, 是一个将分片分配到节点的过程; 可能发生该操作的过程包括: 初始恢复(initial recovery) 副本分配(replica allocation) 重新平衡(rebalance) 节点的新增和删除 来源 分片的分配操作,
阅读全文
摘要:上一篇中我们介绍了 ZooKeeper 的一些基本概念,这篇我们讲一下 ZooKeeper 的环境搭建。 ZooKeeper 安装模式 单机模式:ZooKeeper 运行在一台服务器上,适合测试环境; 伪集群模式:在一台物理机上运行多个 ZooKeeper 实例; 集群模式:ZooKeeper 运行
阅读全文
摘要:ZooKeeper: A Distributed Coordination Service for Distributed Applications ZooKeeper is a distributed, open-source coordination service for distribute
阅读全文