[
https://issues.apache.org/jira/browse/BEAM-8151?focusedWorklogId=343828&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-343828
]
ASF GitHub Bot logged work on BEAM-8151:
----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Nov/19 23:10
Start Date: 14/Nov/19 23:10
Worklog Time Spent: 10m
Work Description: lukecwik commented on issue #10091: [BEAM-8151] Create
1000 SdkWorker objects instead of the current limit of 12.
URL: https://github.com/apache/beam/pull/10091#issuecomment-554127098
Updated perf numbers:
```
run_single_pipeline, 1 element(s) at start, 100 growth per run: run 1 of 10,
per element time cost: 2.8493 sec
run_single_pipeline, 1 element(s) at start, 100 growth per run: run 2 of 10,
per element time cost: 0.0399395 sec
run_single_pipeline, 1 element(s) at start, 100 growth per run: run 3 of 10,
per element time cost: 0.0252568 sec
run_single_pipeline, 1 element(s) at start, 100 growth per run: run 4 of 10,
per element time cost: 0.0163703 sec
run_single_pipeline, 1 element(s) at start, 100 growth per run: run 5 of 10,
per element time cost: 0.0129816 sec
run_single_pipeline, 1 element(s) at start, 100 growth per run: run 6 of 10,
per element time cost: 0.0109879 sec
run_single_pipeline, 1 element(s) at start, 100 growth per run: run 7 of 10,
per element time cost: 0.0098083 sec
run_single_pipeline, 1 element(s) at start, 100 growth per run: run 8 of 10,
per element time cost: 0.00878269 sec
run_single_pipeline, 1 element(s) at start, 100 growth per run: run 9 of 10,
per element time cost: 0.00803661 sec
run_single_pipeline, 1 element(s) at start, 100 growth per run: run 10 of
10, per element time cost: 0.00757915 sec
Fixed cost 3.6176186113357542
Per-element 0.0037115805365822525
R^2 0.9044127183436924
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 343828)
Time Spent: 12.5h (was: 12h 20m)
> Allow the Python SDK to use many many threads
> ---------------------------------------------
>
> Key: BEAM-8151
> URL: https://issues.apache.org/jira/browse/BEAM-8151
> Project: Beam
> Issue Type: Improvement
> Components: sdk-py-core, sdk-py-harness
> Reporter: Luke Cwik
> Assignee: Luke Cwik
> Priority: Major
> Time Spent: 12.5h
> Remaining Estimate: 0h
>
> We need to use a thread pool which shrinks the number of active threads when
> they are not being used.
>
> This is to prevent any stuckness issues related to a runner scheduling more
> work items then there are "work" threads inside the SDK harness.
>
> By default the control plane should have all "requests" being processed in
> parallel and the runner is responsible for not overloading the SDK with too
> much work.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)