You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/10/05 03:28:26 UTC

[jira] [Updated] (STORM-865) Reflection in send path

     [ https://issues.apache.org/jira/browse/STORM-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Kellogg updated STORM-865:
-------------------------------
    Component/s: storm-core

> Reflection in send path
> -----------------------
>
>                 Key: STORM-865
>                 URL: https://issues.apache.org/jira/browse/STORM-865
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>            Reporter: Robert Joseph Evans
>
> I was doing some profiling and found that reflection was happening in the send path, and was having a significant impact to performance.
> java.lang.Class.getMethods()
> clojure.lang.Reflector.getMethods()
> clojure.lang.Reflector.invokeInstanceMethod()
> backtype.storm.daemon.worker$mk_transfer_fn$transfer_fn__3760.invoke()
> backtype.storm.daemon.executor$start_batch_transfer__GT_worker_handler_BANG_$fn__3411.invoke()
> I'm not totally sure which line it is coming from, but the only java method call that does not have a type hint already appears to be
> https://github.com/apache/storm/blob/master/storm-core/src/clj/backtype/storm/daemon/executor.clj#L279



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)