You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2015/06/11 19:08:00 UTC

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

Robert Joseph Evans created STORM-865:
-----------------------------------------

             Summary: Reflection in send path
                 Key: STORM-865
                 URL: https://issues.apache.org/jira/browse/STORM-865
             Project: Apache Storm
          Issue Type: Bug
            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)