Back to Java User Group Home Print this page

Garden State Java User Group

July 2022 Meeting Information

July 12, 2022
Your Java Code in the Fastlane: Creating a Million Virtual Threads Using Project Loom to Improve Throughput

We are happy to announce that Bazlur Rahman will be our special guest for this month's meeting.

Project Loom introduces virtual threads, lightweight threads that aim to dramatically reduce the effort of writing, maintaining, and monitoring high-throughput concurrent applications with the Java platform.

We need threads to achieve high throughput. However, threads are not cheap and are limited in number. To get around this problem, various alternatives such as the reactive programming style have emerged. These techniques bypass creating a lot of threads at the expense of more difficult debugging. This makes developers grumpy. However, with virtual threads, we get the best of both worlds, cheap, lightweight threads and easy debugging, which would make developers happy again.

This talk will explore what virtual threads are, how they are implemented, how they solve our modern problems and what, if any, shortcomings there are.