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

Experimental Loomania blocking pool #40478

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

dmlloyd
Copy link
Member

@dmlloyd dmlloyd commented May 6, 2024

This implements a global switch which turns on Loomania for the normal blocking thread pool executor. Possibly useful for playing around and getting benchmark data (apples-to-apples versus a "plain" blocking pool).

  • Uses our EnhancedQueueExecutor as the backing pool (instead of the JDK-default ForkJoinPool)
  • Global, all-or-nothing switch
  • Unknown performance impact
  • Unknown memory impact
  • Should improve thread density
  • All integration tests run with the virtual thread facade, for the purposes of testing

/cc @franz1981, @cescoffier

@quarkus-bot quarkus-bot bot added area/core area/dependencies Pull requests that update a dependency file labels May 6, 2024
@dmlloyd
Copy link
Member Author

dmlloyd commented May 6, 2024

Look for this message in the logs:

2024-05-06 13:09:56,707 WARN  [io.qua.thread-pool] (main) Enabling experimental virtual thread blocking pool. Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core area/dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant