Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> Watching children updates


Copy link to this message
-
Watching children updates
Hello,

I would like to be notified of a change on any of the children of a znode
(could be a lot of them).

AFAIK to achieve this we need to set a watcher on each child and then also
watch the parent to be aware of children addition/deletion and add/remove
watchers accordingly. Is that correct?

What is the performance impact of having for example thousands of watchers?

Thanks,
Ben
+
Flavio Junqueira 2013-07-18, 00:30
+
Benjamin Jaton 2013-07-18, 01:23
+
kishore g 2013-07-18, 05:50
+
Thawan Kooburat 2013-07-18, 07:08
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB