You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Udi Meiri (JIRA)" <ji...@apache.org> on 2018/04/12 22:09:00 UTC

[jira] [Created] (BEAM-4062) Performance regression in FileBasedSink

Udi Meiri created BEAM-4062:
-------------------------------

             Summary: Performance regression in FileBasedSink
                 Key: BEAM-4062
                 URL: https://issues.apache.org/jira/browse/BEAM-4062
             Project: Beam
          Issue Type: Bug
          Components: sdk-py-core
            Reporter: Udi Meiri
            Assignee: Ahmet Altay


[https://github.com/apache/beam/pull/4648] has added:
 * 3 or more stat() calls per output file (in pre_finalize and finalize_writes)
 * serial unbatched delete()s (in pre_finalize)

Solution will be to list files in a batch operation (match()), and to delete() in batch mode, or use multiple threads if that's not possible.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)