You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Alan Myrvold (Jira)" <ji...@apache.org> on 2019/11/26 20:51:00 UTC

[jira] [Created] (BEAM-8832) Slow GCS uploads for large Java staging jars

Alan Myrvold created BEAM-8832:
----------------------------------

             Summary: Slow GCS uploads for large Java staging jars
                 Key: BEAM-8832
                 URL: https://issues.apache.org/jira/browse/BEAM-8832
             Project: Beam
          Issue Type: Improvement
          Components: runner-dataflow
    Affects Versions: 2.16.0
            Reporter: Alan Myrvold


The default and max upload chunk size is 1M, in 

[https://github.com/apache/beam/blob/master/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/util/GcsStager.java#L96]

This should be at least 8M to improve performance.

8m is the default python write chunk size

[https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/gcp/gcsio.py#L86]

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)