-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Concurrent requests for blocking reactive routes is limited by quarkus.vertx.event-loops-pool-size #10292
Comments
maybe /cc @stuartwdouglas too |
I noticed that SmallRye Metrics extension has the same issue. The concurrent requests for the metrics API are also limited by the number of event loops.
I used debugger to print the worker thread. Is this related to the blocking reactive routes issue? |
It's related to the I've tried the reproducer and changed the code a bit to display the value of the counter. Using the regular route (registered on the router) I got 20. However, with the |
Found the issue... our blocking handler are registered with |
I've submitted a fix: #10310 |
That was fast. Thanks! |
@timoesk BTW, yes, it would fix the metrics issue too. |
Describe the bug
Concurrent requests for blocking reactive routes is limited by quarkus.vertx.event-loops-pool-size
Expected behavior
Concurrent requests for blocking reactive routes should be limited by quarkus.vertx.worker-pool-size
Actual behavior
When a blocking route is created with the the Route annotation.
@Route(path = "/blocking-with-annotation", methods = HttpMethod.GET, type = Route.HandlerType.BLOCKING)
Then the concurrent HTTP requests are limited by the number of event loops.
To Reproduce
See ReactiveRoutesTest.java in:
https://github.com/timoesk/quarkus-reactive-routes-issue
The text was updated successfully, but these errors were encountered: