You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hongchao Deng (JIRA)" <ji...@apache.org> on 2014/09/03 18:28:52 UTC

[jira] [Commented] (ZOOKEEPER-2016) Automate client-side rebalancing

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14120036#comment-14120036 ] 

Hongchao Deng commented on ZOOKEEPER-2016:
------------------------------------------

Is there any way to know the number of clients of a ZK server?

> Automate client-side rebalancing
> --------------------------------
>
>                 Key: ZOOKEEPER-2016
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2016
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: Hongchao Deng
>         Attachments: draft-2.patch, draft.patch
>
>
> ZOOKEEPER-1355 introduced client-side rebalancing, which is implemented in both the C and Java client libraries. However, it requires the client to detect a configuration change and call updateServerList with the new connection string (see reconfig manual). It may be better if the client just indicates that he is interested in this feature when creating a ZK handle and we'll detect configuration changes and invoke updateServerList for him underneath the hood.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)