zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WangYQ <wangyongqiang0...@163.com>
Subject question on zookeeper observer
Date Tue, 26 Apr 2016 12:00:29 GMT
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? 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message