[
https://issues.apache.org/jira/browse/STORM-1632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15209171#comment-15209171
]
ASF GitHub Bot commented on STORM-1632:
---------------------------------------
Github user roshannaik commented on the pull request:
https://github.com/apache/storm/pull/1217#issuecomment-200543287
@arunmahadevan :-) ... i am not taking the throughput measurements while
profiler is attached.
It will take some time for me to continue to iterate over and analyze your
attempts and JProfiler usage to see what is going on. With a quick glance I see
multiple differences in your topology setup. But the profiler screenshots that
i have posted are hopefully evidence that I didn't cook it up :-). You can
either try with the topology i described .. also i shall post a Github link to
the topology i am using soon.
@HeartSaVioR I am a bit puzzled to see a 8% or 25% diff in perf (for a
given topology) being referred to as *micro* optimization. This is a case of
potentially significant overhead being imposed upon the common code path by a
infrequently used code path. Quite the contrary, i feel, one should have to
have a very good justification to leave this turned on.
It is not feasible to do a full fledged Yahoo style benchmark to identify
and fix all such issues. Micro-benchmarking is essential. Here we are looking
at a simple case of emit() call dominating most of the time within nextTuple()
... the spout computation itself is taking negligible % of the time.
I have deliberately separated out #1242 from this .. as this is PR about
simply disabling a DEBUG config setting.. as opposed to modifying code to avoid
repetitive lookups. Seeking and testing an alternative implementation for event
logging (unless its trivial) i felt might be tricky at this late stage of 1.x.
> Disable event logging by default
> --------------------------------
>
> Key: STORM-1632
> URL: https://issues.apache.org/jira/browse/STORM-1632
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Reporter: Roshan Naik
> Assignee: Roshan Naik
> Priority: Blocker
> Fix For: 1.0.0
>
>
> EventLogging has performance penalty. For a simple speed of light topology
> with a single instances of a spout and a bolt, disabling event logging
> delivers a 7% to 9% perf improvement (with acker count =1)
> Event logging can be enabled when there is need to do debug, but turned off
> by default.
> **Update:** with acker=0 the observed impact was much higher... **25%**
> faster when event loggers = 0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)