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

[Python] Reuse a shared unbounded thread pool

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.23.0
    • sdk-py-core
    • None

    Description

      During testing we create a lot of thread pools many of which we don't shutdown which can lead to thread exhaustion on some machiens.

       

      Swapping to use a shared thread pool will decrease the memory overhead for these unused threads and allow for greater reuse.

      Attachments

        Issue Links

          Activity

            People

              lcwik Luke Cwik
              lcwik Luke Cwik
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 2h
                  2h