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

Allow the Python SDK to use many many threads

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.18.0
    • sdk-py-core, sdk-py-harness
    • 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

              lcwik Luke Cwik
              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