You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2013/10/10 19:33:46 UTC
[jira] [Updated] (ZOOKEEPER-536) the initial size of the hashsets
for the watcher is too large
[ https://issues.apache.org/jira/browse/ZOOKEEPER-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-536:
-----------------------------------
Labels: newbie (was: )
> the initial size of the hashsets for the watcher is too large
> -------------------------------------------------------------
>
> Key: ZOOKEEPER-536
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-536
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: Benjamin Reed
> Labels: newbie
>
> setting a watches on a lot of different nodes can be expensive if there is only one watch set on each node. by default the hashset we use to track watches has 16 entries and takes up about 160 bytes. we should probably make the initial size much lower.
--
This message was sent by Atlassian JIRA
(v6.1#6144)