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/05/11 22:22:00 UTC

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

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

Udi Meiri commented on BEAM-4062:
---------------------------------

Verified PR fixes regression.

> 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: Udi Meiri
>            Priority: Blocker
>             Fix For: 2.5.0
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> [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)