Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # user - Will zookeeper server merge some watcher notifications?


Copy link to this message
-
Re: Will zookeeper server merge some watcher notifications?
nileader 2011-11-07, 04:43
Ok,thanks very much.

----
nileader ni掌柜的个人邮件.
Email/MSN:[EMAIL PROTECTED]

*这里一封来自ni掌柜个人邮箱的邮件.如果你觉得邮件内容中包含任何关于个人隐私的信息,请勿转发.谢谢.*

2011/11/7 Ted Dunning <[EMAIL PROTECTED]>

> 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 <[EMAIL PROTECTED]> wrote:
>
> > Is there any paper for this?
> >
> > ----
> > nileader ni掌柜的个人邮件.
> > Email/MSN:[EMAIL PROTECTED]
> >
> > *这里一封来自ni掌柜个人邮箱的邮件.如果你觉得邮件内容中包含任何关于个人隐私的信息,请勿转发.谢谢.*
> >
> >
> >
> > 2011/11/6 Ted Dunning <[EMAIL PROTECTED]>
> >
> > > Yes.
> > >
> > > On Sat, Nov 5, 2011 at 5:24 AM, nileader <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
> > > >
> > > > *这里一封来自ni掌柜个人邮箱的邮件.如果你觉得邮件内容中包含任何关于个人隐私的信息,请勿转发.谢谢.*
> > > >
> > > >
> > > >
> > > > 2011/11/4 Andrei Savu <[EMAIL PROTECTED]>
> > > >
> > > > > 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 <[EMAIL PROTECTED]>
> > wrote:
> > > > >
> > > > > > Will zookeeper server merge some watcher notifications when
> client
> > > > update
> > > > > > data of znode frequent!
> > > > > >
> > > > >
> > > >
> > >
> >
>