[
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)