GitHub user scwhittle opened a pull request:

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

    [BEAM-986] Improve ReduceFnRunner prefetching

    Hi @kennknowles , can you please take a look?
    
    This refactoring ensures that for batches of elements or timers we have at 
most 2 fetches, one to prefetch the should fire bits and one to fetch the 
actual firing state.  The current behavior can end up with 2 fetches per window 
triggered.

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

    $ git pull https://github.com/scwhittle/incubator-beam reduce_fn_prefetching

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

    https://github.com/apache/incubator-beam/pull/1366.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 #1366
    
----
commit 597af025865c6ae2208fc94ea8864491cd84ff37
Author: Sam Whittle <[email protected]>
Date:   2016-11-10T20:59:49Z

    Improvements to ReduceFnRunner prefetching:
    - add prefetch* methods for prefetching state matching existing methods
    - replace onTimer with batched onTimers method to allow prefetching
      across timers
    - prefetch triggers in processElements

commit 8f11421019e2acd603546071ae0d8383143a33be
Author: Sam Whittle <[email protected]>
Date:   2016-11-15T22:55:38Z

    fix annotation

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to