[
https://issues.apache.org/jira/browse/BEAM-3418?focusedWorklogId=86746&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-86746
]
ASF GitHub Bot logged work on BEAM-3418:
----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Apr/18 20:14
Start Date: 02/Apr/18 20:14
Worklog Time Spent: 10m
Work Description: tgroh commented on a change in pull request #4980:
[BEAM-3418] Support multiple SDKHarness in RunnerHarness
URL: https://github.com/apache/beam/pull/4980#discussion_r178637182
##########
File path:
runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/control/FnApiControlClient.java
##########
@@ -51,23 +54,25 @@
private final ResponseStreamObserver responseObserver = new
ResponseStreamObserver();
private final ConcurrentMap<String,
CompletableFuture<BeamFnApi.InstructionResponse>>
outstandingRequests;
+ private final Set<Consumer<FnApiControlClient>> onCloseListeners =
ConcurrentHashMap.newKeySet();
Review comment:
This seems like it'll do the right thing, but gosh it's really unfortunate
that Java doesn't have a cleaner way to create a Concurrent Set
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 86746)
Time Spent: 5h 50m (was: 5h 40m)
> Python Fnapi - Support Multiple SDK workers on a single VM
> ----------------------------------------------------------
>
> Key: BEAM-3418
> URL: https://issues.apache.org/jira/browse/BEAM-3418
> Project: Beam
> Issue Type: Improvement
> Components: sdk-py-harness
> Reporter: Ankur Goenka
> Assignee: Ankur Goenka
> Priority: Major
> Labels: performance, portability
> Time Spent: 5h 50m
> Remaining Estimate: 0h
>
> Support multiple python SDK process on a VM to fully utilize a machine.
> Each SDK Process will work in isolation and interact with Runner HarnessĀ
> independently.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)