[ https://issues.apache.org/jira/browse/KAFKA-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345891#comment-14345891 ]
Ashish K Singh commented on KAFKA-1994: --------------------------------------- [~junrao] Your suggestion makes sense. Profiled {{createPersistent()}} with and without the patch using {{ZooKeeperTestHarness}}, there is ~44% jump in exec time. Will shortly attach a patch to fix it. [~gwenshap] let me know if you think running on a real zk cluster is still required. > Evaluate performance effect of chroot check on Topic creation > ------------------------------------------------------------- > > Key: KAFKA-1994 > URL: https://issues.apache.org/jira/browse/KAFKA-1994 > Project: Kafka > Issue Type: Improvement > Reporter: Ashish K Singh > Assignee: Ashish K Singh > > KAFKA-1664 adds check for chroot while creating a node in ZK. ZkPath checks > if namespace exists before trying to create a path in ZK. This raises a > concern that checking namespace for each path creation might be unnecessary > and can potentially make creations expensive. -- This message was sent by Atlassian JIRA (v6.3.4#6332)