You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Luke Cwik (Jira)" <ji...@apache.org> on 2019/09/04 19:08:00 UTC

[jira] [Created] (BEAM-8151) Allow the Python SDK to use many many threads

Luke Cwik created BEAM-8151:
-------------------------------

             Summary: 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


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.2#803003)