talk-data.com talk-data.com

Meetup talk 2025-11-13 at 17:00

Virtual Threads - A Second Look

Description

For two years, virtual threads had full support in the Java platform. In this presentation, we will have a second look at virtual thread performance, memory usage, platform support, and more advanced features, in particular, structured concurrency and scoped values. You will learn about effective patterns for structured concurrency, how to monitor virtual threads in practice, how to detect overuse of thread locals, and how to use scoped values as a more performant replacement. This topic should be of interest to all developers who want to reduce the cost of deploying business applications that \"mostly block\" (waiting for results from databases or other services), without the pain of implementing business logic in a reactive style.