beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-1410) Reduce sdk-py DirectRunner running time and memory consumption
Date Thu, 16 Feb 2017 01:28:41 GMT

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

ASF GitHub Bot commented on BEAM-1410:
--------------------------------------

GitHub user yk5 opened a pull request:

    https://github.com/apache/beam/pull/2017

    [BEAM-1410] python-sdk: add stacked WindowedValues in DirectRunner.Bundle.

    It saves memory for the typical cases that timestamp/window info is shared.
    
    This is on by default, but could be turned off by sending --no_direct_runner_use_stacked_bundle
to the pipeline.
    
    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
    
     - [ ] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt).
    
    ---


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

    $ git pull https://github.com/yk5/beam stacked_bundle

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

    https://github.com/apache/beam/pull/2017.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 #2017
    
----
commit f23f1b3af251c48789ff1afb9118b817b7d6fff4
Author: Younghee Kwon <younghee.kwon@gmail.com>
Date:   2017-02-16T01:23:34Z

    python-sdk: add stacked WindowedValues in DirectRunner.Bundle.
    
    It saves memory for the typical cases that timestamp/window info is shared.

----


> Reduce sdk-py DirectRunner running time and memory consumption
> --------------------------------------------------------------
>
>                 Key: BEAM-1410
>                 URL: https://issues.apache.org/jira/browse/BEAM-1410
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py
>            Reporter: Younghee Kwon
>            Assignee: Ahmet Altay
>            Priority: Minor
>              Labels: performance, python
>
> Some experimental benchmarks shows that DirectRunner can improve performance in cpu and
memory. 
> I will roll out some CLs to improve them.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message