谁是 ZooKeeper 的客户?
Who are clients of ZooKeeper?
刚刚开始阅读 Zookeeper 的文档。读到 zk 有服务器(followers + leader)和 clients。谁实际上是 zk 的客户?它协调的分布式系统的节点 ?
另请阅读
ZooKeeper applications run on thousands of machines, and it performs best where reads are more common than writes, at ratios of around 10:1.
这是否意味着 znode 数以千计?我们想要在 zk 上进行什么样的读写?
Who actually are the clients of zk ?
客户端是使用 ZooKeeper 客户端 API 连接到 ZooKeeper 整体的任何进程。 Apache ZooKeeper 附带 API 绑定 Java and C. More information about the Java API is available in the JavaDocs and examples and recipes.
ZooKeeper applications run on thousands of machines, and it performs best where reads are more common than writes, at ratios of around 10:1.
这是否意味着 znode 数以千计?
这里的“千”是指 运行 ZooKeeper 的机器数量,而不是存储在 ZooKeeper 集合中的 znode 数量。 znode 是指存储在 ZooKeeper 集群的数据层次结构中的节点,类似于传统文件系统中 inode 的概念。
And what kind of read and write do we want on zk ?
读取指的是从 znode 获取数据或设置手表以在 znode 应用更改时得到通知的操作。写入是指创建新 znode、删除现有 znode 或更改附加到 znode 的数据的操作。
通读 API 文档、示例和食谱应该可以更清楚地了解所有这些内容。
刚刚开始阅读 Zookeeper 的文档。读到 zk 有服务器(followers + leader)和 clients。谁实际上是 zk 的客户?它协调的分布式系统的节点 ?
另请阅读
ZooKeeper applications run on thousands of machines, and it performs best where reads are more common than writes, at ratios of around 10:1.
这是否意味着 znode 数以千计?我们想要在 zk 上进行什么样的读写?
Who actually are the clients of zk ?
客户端是使用 ZooKeeper 客户端 API 连接到 ZooKeeper 整体的任何进程。 Apache ZooKeeper 附带 API 绑定 Java and C. More information about the Java API is available in the JavaDocs and examples and recipes.
ZooKeeper applications run on thousands of machines, and it performs best where reads are more common than writes, at ratios of around 10:1.
这是否意味着 znode 数以千计?
这里的“千”是指 运行 ZooKeeper 的机器数量,而不是存储在 ZooKeeper 集合中的 znode 数量。 znode 是指存储在 ZooKeeper 集群的数据层次结构中的节点,类似于传统文件系统中 inode 的概念。
And what kind of read and write do we want on zk ?
读取指的是从 znode 获取数据或设置手表以在 znode 应用更改时得到通知的操作。写入是指创建新 znode、删除现有 znode 或更改附加到 znode 的数据的操作。
通读 API 文档、示例和食谱应该可以更清楚地了解所有这些内容。