-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
ThreadingModel.VirtualThread significant performance drop. #5245
Comments
can you share your entire benchmark @sanIncredible without it, those numbers don't mean a lot |
that does not help a lot, can you provide a small project that reproduces it ? like a minimalistic HTTP server with vertx and a client |
` public class BootStrapp{ public static Vertx getVertx(){ } private static Vertx vertx; public static void main(String [] args){ vertx.deployVerticle(MainVerticle.class.getName(),options,res->{ } }); }
Vertx vertx = BootStrapp.getVertx(); router.route().handler(BodyHandler.create()); router.get("/getDemo/").handler(this::getHandler); vertx.createHttpServer().requestHandler(event->router.handle(event)).listen(8890,"127.0.0.1",result->{ } private void getHandler(RoutingContext context) ` Client used :: https://nghttp2,org/documentation/h2load-howto.html |
Questions
Version
4.5.8
Context
while running existing application with ThreadingModel.VirtualThread , application performance dropped significantly.
Do you have a reproducer?
Yes
Steps to reproduce
EventLoop model results : 31000 request per second
Virtual Thread model results : 811 request per second.
CPU utilization is very less in VT model ,
Extra
openJdk 21
The text was updated successfully, but these errors were encountered: