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

ASF GitHub Bot commented on STORM-241:
--------------------------------------

GitHub user supercargo opened a pull request:

    https://github.com/apache/incubator-storm/pull/32

    STORM-241: making thrift binary chunk size configurable

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/incubator-storm storm-241

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-storm/pull/32.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #32
    
----
commit 021094131c13909bd9195cb3e3b9c9775ee2fcf5
Author: supercargo <[email protected]>
Date:   2014-02-16T13:23:46Z

    STORM-241: making thrift binary chunk size configurable

----


> "storm jar" underperforms compared to scp
> -----------------------------------------
>
>                 Key: STORM-241
>                 URL: https://issues.apache.org/jira/browse/STORM-241
>             Project: Apache Storm (Incubating)
>          Issue Type: Improvement
>         Environment: Internet connected dev machine deploying to storm 
> cluster on AWS.  Storm 0.9.0.1
>            Reporter: Adam Lewis
>              Labels: configuration, newbie
>
> "storm jar" is very slow at sending the jar file, achieving roughly 10% of 
> the throughput compared to SCP for the same network configuration.  This is 
> especially problematic when deploying jars from over the Internet.
> This appears to be related to the chunk size used to transmit the JAR file 
> over the thrift protocol.  Anecdotally, a 300KB chunk size (compared to the 
> currently used default of 15KB), achieved performance in line with scp.
> Default can be overridden in the BufferFileInputStream ctor: 
> https://github.com/apache/incubator-storm/blob/master/storm-core/src/jvm/backtype/storm/StormSubmitter.java?source=cc#L154



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to