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

Ashish K Singh commented on KAFKA-1994:
---------------------------------------

[~gwenshap] My apologies for the delay. Kindly find the comparison numbers 
below. The numbers are averaged over 1000 iterations.

w/o any check: 635438 nanoseconds
w/ check from KAFKA-1664: 908189 nanoseconds (42.92% up)
w/ check suggested on this JIRA: 642484 nanoseonds (1.1% up)

The above comparison numbers are expected and in accordance to the discussion 
on this JIRA.

> 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
>         Attachments: KAFKA-1994.patch, KAFKA-1994_2015-03-03_18:19:45.patch
>
>
> 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)

Reply via email to