r/java • u/mastabadtomm • Jun 30 '26
Integrating Netty with Virtual Threads
https://kronotop.com/blog/the-join-that-should-be-a-bug/
40
Upvotes
r/java • u/mastabadtomm • Jun 30 '26
View all comments
Show parent comment
1
u/Inaldt Jul 04 '26
Virtual threads are intended for short tasks. So I think that wouldn't be idiomatic. I believe the Helidon web server does it in a similar way, i.e. one (or maybe a few) thread for listening and then handing off the actual work to a virtual thread.