You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/26 21:44:58 UTC

[jira] [Commented] (BEAM-839) The DirectRunner slows down significantly as the number of keys increases

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

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

GitHub user tgroh opened a pull request:

    https://github.com/apache/incubator-beam/pull/1196

    [BEAM-839] Use a Constant TupleTag in GroupAlsoByWindowEvaluator

    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).
    
    ---
    
    This avoids the cost of generating a random ID, which is moderately
    expensive.

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

    $ git pull https://github.com/tgroh/incubator-beam single_main_output_gabw

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

    https://github.com/apache/incubator-beam/pull/1196.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 #1196
    
----
commit 3fb939258908ddc2dfce03286f64521cf9ef8841
Author: Thomas Groh <tg...@google.com>
Date:   2016-10-26T21:31:41Z

    Use a Constant TupleTag in GroupAlsoByWindowEvaluator
    
    This avoids the cost of generating a random ID, which is moderately
    expensive.

----


> The DirectRunner slows down significantly as the number of keys increases
> -------------------------------------------------------------------------
>
>                 Key: BEAM-839
>                 URL: https://issues.apache.org/jira/browse/BEAM-839
>             Project: Beam
>          Issue Type: Bug
>            Reporter: Thomas Groh
>            Assignee: Thomas Groh
>
> For example, running WordCount on KingLear takes approximately 10 seconds, while running WordCount on all of Shakespeare takes approximately 5 minutes. Most of this time is spent with the transforms unable to make progress, as the time is spent updating the minimum hold.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)