[
https://issues.apache.org/jira/browse/ZOOKEEPER-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15815810#comment-15815810
]
Flavio Junqueira commented on ZOOKEEPER-2661:
---------------------------------------------
I'm not sure this is really a problem. Maybe something related to jvm startup?
I can see 5 seconds between these two lines:
{noformat}
19:01:01.282 0 INFO org.example.zk.curator.ZookeeperTest - connecting
19:01:06.312 5030 INFO org.apache.zookeeper.ZooKeeper - Client
environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
{noformat}
I'm not sure this is a problem, though. In the steady state, it seems to be
pretty ok.
> It costs about 5055 ms to create Zookeeper object for the first time.
> ---------------------------------------------------------------------
>
> Key: ZOOKEEPER-2661
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2661
> Project: ZooKeeper
> Issue Type: Bug
> Components: java client
> Affects Versions: 3.4.6
> Environment: See the description below.
> Reporter: Yaohui Wu
> Attachments: ZookeeperTest.java, log_output.txt
>
>
> I create and close ZooKeeper for 10 times. It costs about 5055 ms for the
> first time.
> See attached files for some test code and output.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)