[ 
https://issues.apache.org/jira/browse/BEAM-13015?focusedWorklogId=697580&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-697580
 ]

ASF GitHub Bot logged work on BEAM-13015:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Dec/21 23:03
            Start Date: 16/Dec/21 23:03
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on a change in pull request #16263:
URL: https://github.com/apache/beam/pull/16263#discussion_r770980561



##########
File path: 
sdks/java/fn-execution/src/main/java/org/apache/beam/sdk/fn/stream/PrefetchableIterable.java
##########
@@ -20,6 +20,9 @@
 /** An {@link Iterable} that returns {@link PrefetchableIterator}s. */
 public interface PrefetchableIterable<T> extends Iterable<T> {
 
+  /** Ensures that the next iterator returned has been prefetched. */
+  void prefetch();

Review comment:
       It was errorprone with the previous setup where we were effectively 
discarding the prefetched iterator making it such that the iterable needed to 
handle the caching. This seems to be much safer since the iterable is usually 
stored.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 697580)
    Time Spent: 27.5h  (was: 27h 20m)

> Optimize Java SDK harness
> -------------------------
>
>                 Key: BEAM-13015
>                 URL: https://issues.apache.org/jira/browse/BEAM-13015
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-harness
>            Reporter: Luke Cwik
>            Assignee: Luke Cwik
>            Priority: P2
>          Time Spent: 27.5h
>  Remaining Estimate: 0h
>
> Use profiling tools to remove bundle processing overhead in the SDK harness.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to