zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Will zookeeper server merge some watcher notifications?
Date Mon, 07 Nov 2011 03:56:51 GMT
Yes.  Check the documentation about Watches.  Particular the part that says
that you can't be sure to have one notification per change.

http://zookeeper.apache.org/doc/r3.1.2/zookeeperProgrammers.html#ch_zkWatches

On Sun, Nov 6, 2011 at 6:43 PM, nileader <nileader@gmail.com> wrote:

> Is there any paper for this?
>
> ----
> nileader ni掌柜的个人邮件.
> Email/MSN:nileader@gmail.com
>
> *这里一封来自ni掌柜个人邮箱的邮件.如果你觉得邮件内容中包含任何关于个人隐私的信息,请勿转发.谢谢.*
>
>
>
> 2011/11/6 Ted Dunning <ted.dunning@gmail.com>
>
> > Yes.
> >
> > On Sat, Nov 5, 2011 at 5:24 AM, nileader <nileader@gmail.com> wrote:
> >
> > > Yeah, Thanks.
> > >
> > > I know zk server will notify it's znodes watcher. But i mean will
> > zookeeper
> > > server merge some watcher notifications when client update data of
> znode
> > *
> > > frequently*!
> > >
> > > ----
> > > nileader ni掌柜的个人邮件.
> > > Email/MSN:nileader@gmail.com
> > >
> > > *这里一封来自ni掌柜个人邮箱的邮件.如果你觉得邮件内容中包含任何关于个人隐私的信息,请勿转发.谢谢.*
> > >
> > >
> > >
> > > 2011/11/4 Andrei Savu <savu.andrei@gmail.com>
> > >
> > > > Check this page:
> > > >
> > > >
> > >
> >
> http://zookeeper.apache.org/doc/r3.3.3/zookeeperProgrammers.html#ch_zkWatches
> > > >
> > > > *One-time trigger*
> > > >
> > > > One watch event will be sent to the client when the data has changed.
> > For
> > > > example, if a client does a getData("/znode1", true) and later the
> data
> > > for
> > > > /znode1 is changed or deleted, the client will get a watch event for
> > > > /znode1. If /znode1 changes again, no watch event will be sent unless
> > the
> > > > client has done another read that sets a new watch.
> > > >
> > > > On Fri, Nov 4, 2011 at 10:43 AM, nileader <nileader@gmail.com>
> wrote:
> > > >
> > > > > Will zookeeper server merge some watcher notifications when client
> > > update
> > > > > data of znode frequent!
> > > > >
> > > >
> > >
> >
>

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