知识库--ZooKeeper+Architecture(59)
来源:互联网 发布:小米下载不了软件 编辑:程序博客网 时间:2024/06/05 23:45
ZooKeeper+ Architecture
Now that we have discussed at a high level the operations that ZooKeeper exposes to applications, we need to understand more of how the servicec actually works. Applications make calls to ZooKeeper through a client library. The client library is responsible for the interaction with ZooKeeper servers.
Look at the following Figure, shows the relationship between clients and servers. Each client imports the client library, and then can communicate with any ZooKeeper node.
ZooKeeper servers run in two modes: standalone (独立模式)and quorum(仲裁模式). Standalone mode is pretty much what the term says: there is a single server, and ZooKeeper state is not replicated. In quorum mode, a group of ZooKeeper servers, which we call a ZooKeeper ensemble(集合), replicates the state, and together they serve client request. From this point on, we use the term “ZooKeeper ensemble” to denote an installation of servers. This installation could contain a single server and operate in standalone mode or contain a group of servers and operate in quorum mode.
- 知识库--ZooKeeper+Architecture(59)
- 知识库--ZooKeeper Basics(59)
- 知识库--ZooKeeper + Versions(59)
- 知识库--Zookeeper API Overview(59)
- 知识库--ZooKeeper + Watches and Notifications(59)
- 知识库--ZooKeeper + Sessions(59)
- 知识库--Zookeeper different modes for znodes(59)
- 知识库--ZooKeeper create Session (61)
- 知识库--ZooKeeper+Quorums+脑裂+为什么机器数为奇数(59)
- 知识库--Zookeeper ZkCli tool 实现-应用实例(71)
- 知识库--ZooKeeper + States and the Lifetime of a Session(62)
- 知识库--Lifecycle (44)
- 知识库--SimpleLoader (46)
- 知识库--Logger (46)
- 知识库--WebappLoader(47)
- 知识库--WebappClassLoader(47)
- 知识库--Session(47)
- 知识库--Sessions(48)
- 谈谈用户登录信息与sessionAttributes
- 堆和栈的区别
- 持久动态集合的二叉查找树实现
- 机器学习常见算法分类汇总
- 进程间通信之共享内存初步
- 知识库--ZooKeeper+Architecture(59)
- Codeforces 625B Luxurious Houses【思维】
- 【Iterator迭达器】TestIterator
- 《未来世界的幸存者》摘录
- TestArrayList
- 浅谈Web接口测试
- JAVA学习
- linux查看哪个进程占用磁盘IO
- nyoj171_聪明的KK