Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit the number of Scheduler#disposeGracefully threads #3259

Merged
merged 10 commits into from
Nov 4, 2022

Commits on Oct 28, 2022

  1. Limit the number of Scheduler#disposeGracefully threads

    This change modifies the `DisposeAwaiter` interface in order to be able
    to poll for graceful shutdown termination status rather than await/block
    for it.
    
    It introduces a DisposeAwaiterRunnable with a small pool of threads
    dedicated to polling the termination status after a graceful Scheduler
    shutdown.
    
    Previously, one Thread would be created for each Scheduler that is
    disposed gracefully. While we don't expect this to be an issue in most
    production applications, this can lead to hitting native thread limits
    faster. Notably, stress tests around graceful disposal create a lot of
    schedulers for that purpose.
    simonbasle committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    dbb6ad4 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. remove println statement

    simonbasle committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    4e022d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    923bad2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    648c04a View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Configuration menu
    Copy the full SHA
    ead69be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72673da View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e1b840 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e9aa046 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c18f82a View commit details
    Browse the repository at this point in the history
  6. fix formatting

    simonbasle committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    044fdb0 View commit details
    Browse the repository at this point in the history