You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by WangYQ <wa...@163.com> on 2016/04/26 14:00:29 UTC

question on zookeeper observer

in zookeeper 3.4.6 documents, there are one chapter about "zookeeper observer"


below is the content from this chapter: 

Observers have other advantages. Because they do not vote, they are not a critical part of the ZooKeeper ensemble. Therefore they can fail, or be disconnected from the cluster, without harming the availability of the ZooKeeper service. The benefit to the user is that Observers may connect over less reliable network links than Followers. In fact, Observers may be used to talk to a ZooKeeper server from another data center. Clients of the Observer will see fast reads, as all reads are served locally, and writes result in minimal network traffic as the number of messages required in the absence of the vote protocol is smaller.




i think the description is not so right:

Clients of the Observer will see fast reads, as all reads are served locally




zkClient connect to zkServer randomly, can not ensure connect to the zkServer locally


right?