You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by Vishal Kher <vi...@gmail.com> on 2011/09/22 16:02:56 UTC
Client-side changes to retrieve server configuration
Hi,
With dynamic reconfiguration of ZooKeeper servers, ZooKeeper clients
need a way to determine the most up-to-date server list. I have
uploaded the proposal for these changes at
https://cwiki.apache.org/confluence/display/ZOOKEEPER/ClientClusterMembership.
The
prior version of this draft was also reviewed by Ben and Alex.
The initial plan is to have a simple mechanism in the client to
retrieve the new server list from a URL, or for applications that want
to implement their own mechanism, provide a method to set the server
list.
Please let me know if you have any comments/suggestions.
Thanks.
-Vishal
Re: Client-side changes to retrieve server configuration
Posted by César Álvarez Núñez <ce...@gmail.com>.
Hi all,
The jira ticket
ZOOKEEPER-1172<https://issues.apache.org/jira/browse/ZOOKEEPER-1172>in
addition to a new HostProvider implementation based on an url/file/etc
which content is reloaded based on some policy (periodically reload, what a
least N servers are down, etc.) may be useful.
The ticket is not finished yet but I think that main concept is valid.
BR,
/César.
On Thu, Sep 22, 2011 at 4:02 PM, Vishal Kher <vi...@gmail.com> wrote:
> Hi,
>
> With dynamic reconfiguration of ZooKeeper servers, ZooKeeper clients
> need a way to determine the most up-to-date server list. I have
> uploaded the proposal for these changes at
>
> https://cwiki.apache.org/confluence/display/ZOOKEEPER/ClientClusterMembership
> .
> The
> prior version of this draft was also reviewed by Ben and Alex.
>
> The initial plan is to have a simple mechanism in the client to
> retrieve the new server list from a URL, or for applications that want
> to implement their own mechanism, provide a method to set the server
> list.
>
> Please let me know if you have any comments/suggestions.
>
> Thanks.
> -Vishal
>
Re: Client-side changes to retrieve server configuration
Posted by César Álvarez Núñez <ce...@gmail.com>.
Hi all,
The jira ticket
ZOOKEEPER-1172<https://issues.apache.org/jira/browse/ZOOKEEPER-1172>in
addition to a new HostProvider implementation based on an url/file/etc
which content is reloaded based on some policy (periodically reload, what a
least N servers are down, etc.) may be useful.
The ticket is not finished yet but I think that main concept is valid.
BR,
/César.
On Thu, Sep 22, 2011 at 4:02 PM, Vishal Kher <vi...@gmail.com> wrote:
> Hi,
>
> With dynamic reconfiguration of ZooKeeper servers, ZooKeeper clients
> need a way to determine the most up-to-date server list. I have
> uploaded the proposal for these changes at
>
> https://cwiki.apache.org/confluence/display/ZOOKEEPER/ClientClusterMembership
> .
> The
> prior version of this draft was also reviewed by Ben and Alex.
>
> The initial plan is to have a simple mechanism in the client to
> retrieve the new server list from a URL, or for applications that want
> to implement their own mechanism, provide a method to set the server
> list.
>
> Please let me know if you have any comments/suggestions.
>
> Thanks.
> -Vishal
>