Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-8151

Allow the Python SDK to use many many threads

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.18.0
    • Component/s: sdk-py-core, sdk-py-harness
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lcwik Luke Cwik
                Reporter:
                lcwik Luke Cwik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 14.5h
                  14.5h