|
|
-
How is watcher client notified once writer client is disconnected?
Jack Luo 2012-07-05, 14:24
Hi All, I am using Zookeeper for a distributed project. This project includes one writer client, which updates the specific znode data every 5 minutes, and 500 watcher clients, which monitor the specific znode and retrieve the updated data once change notification is received. One of project requirements is that watcher clients should be notified immediately once writer client is disconnected. I have checked the ZooKeeper online documents and cann't find a way to do it. Any idea on how to implement this feature? Thanks f or your time and help in advance! Jack --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
+
Jack Luo 2012-07-05, 14:24
-
Re: How is watcher client notified once writer client is disconnected?
Jordan Zimmerman 2012-07-05, 15:40
The writer could create an ephemeral node. Interested clients would watch it for deletion.
===================Jordan Zimmerman
On Jul 5, 2012, at 7:24 AM, Jack Luo <[EMAIL PROTECTED]> wrote:
> Hi All, > I am using Zookeeper for a distributed project. This project includes one writer client, which updates the specific znode data every 5 minutes, and 500 watcher clients, which monitor the specific znode and retrieve the updated data once change notification is received. > One of project requirements is that watcher clients should be notified immediately once writer client is disconnected. I have checked the ZooKeeper online documents and cann't find a way to do it. Any idea on how to implement this feature? > Thanks f or your time and help in advance! > Jack > > > --------------------------------------------------------------------- > This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
+
Jordan Zimmerman 2012-07-05, 15:40
-
RE: How is watcher client notified once writer client is disconnected?
Jack Luo 2012-07-05, 15:46
Thanks!
Jack -----Original Message----- From: Jordan Zimmerman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2012 11:41 AM To: [EMAIL PROTECTED] Subject: Re: How is watcher client notified once writer client is disconnected?
The writer could create an ephemeral node. Interested clients would watch it for deletion.
===================Jordan Zimmerman
On Jul 5, 2012, at 7:24 AM, Jack Luo <[EMAIL PROTECTED]> wrote:
> Hi All, > I am using Zookeeper for a distributed project. This project includes one writer client, which updates the specific znode data every 5 minutes, and 500 watcher clients, which monitor the specific znode and retrieve the updated data once change notification is received. > One of project requirements is that watcher clients should be notified immediately once writer client is disconnected. I have checked the ZooKeeper online documents and cann't find a way to do it. Any idea on how to implement this feature? > Thanks f or your time and help in advance! > Jack > > > --------------------------------------------------------------------- > This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
--------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
+
Jack Luo 2012-07-05, 15:46
|
|