Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-241

"storm jar" underperforms compared to scp

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2-incubating
    • storm-core
    • Internet connected dev machine deploying to storm cluster on AWS. Storm 0.9.0.1

    Description

      "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

      Attachments

        Activity

          People

            supercargo Adam Lewis
            supercargo Adam Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: