GeeCON 2024: Ondro Mihalyi - Demystifying Java Virtual Threads

youtube.com 1 tydzień temu


Full title: Demystifying Java Virtual Threads - lessons learned from adding them to GlassFish


Do you want to realize how Java Virtual Threads truly work and whether the myths you heard about are actual or not? I’ll answer these questions and will teach you erstwhile to leverage virtual threads in your applications, how they could optimize performance and resource usage, and possible pitfalls to avoid. I will besides share insights based on my hands-on experience implementing support for them in Eclipse GlassFish and Grizzly projects. You’ll learn how virtual threads work, where they excel, and erstwhile it’s inactive better to usage good old platform threads. You will realize erstwhile and how to usage virtual threads in your Java applications to increase their performance with small effort. I’ll debunk a fewer myths about virtual threads and explain why you shouldn’t be afraid to usage them. In the end, we’ll compare virtual threads against reactive programming and effort to answer the infamous question: will virtual threads kill reactive programming in Java?