No video

Virtual threads in action!

  Рет қаралды 10,796

IntelliJ IDEA, a JetBrains IDE

IntelliJ IDEA, a JetBrains IDE

Күн бұрын

Helidon 4 became the world’s first web framework fully based on virtual threads - one of the major game changers in the industry! Virtual threads, which first appeared in Project Loom and then as a production feature in Java 21, dramatically improve resource usage in the JVM, allowing us to achieve performance comparable to reactive engines, but with a fully blocking paradigm. In this talk, I am going to tell you the story of Helidon WebServer - the problems and their solutions, the tasks it is designed to work on, and why it has changed the world of microservices frameworks.
Speaker: Dmitry Aleksandrov
Dmitry is a software developer at Oracle, a Java Champion, and an Oracle Groundbreaker. He’s currently working on Project Helidon. He has more than 19 years of experience, mainly in Java Enterprise in the banking and telecom industries, but he’s also interested in dynamic languages on the JVM and features like massive computations on GPUs. A true believer in open-source and community driven initiatives, he is a co-lead of the Bulgarian Java User Group and co-organizer of the jPrime conference.
Dmitry is a blogger and also a frequent speaker at local events as well as conferences like JavaOne/CodeOne, Devoxx, Voxxed, Joker, and JPoint.
#virtualthreads #loom #java #intellij #helidon #microservices
Join us:
Website: jb.gg/website
Blog: jb.gg/blog
Twitter: / intellijidea
Facebook: / intellijidea
Download IntelliJ IDEA: jb.gg/download...
Top 15 IntelliJ IDEA shortcuts: jb.gg/Top15Int...

Пікірлер: 8
@TheodoreRavindranath
@TheodoreRavindranath 7 ай бұрын
Great explanation. When all requests are fast - throughput is CPU bound. When some/all requests are slow, they change from being limited by thread-count to becoming CPU bound or bound by the next bottleneck. For example, even with virtual threads, if I am limited to 50 DB connections, then all DB-blocked virtual threads will be processed 50-at-a-time. However, even if 10,000 virtual threads are waiting for 50 DB connections, still small requests like container health checks will still go through with Virtual Threads. That last part is important! If you are resource-bound your tests may show no improvement with Virtual Threads! But, we may miss the fact that container health checks will still go through and container will not get killed/restarted when Virtual Threads are used. Also, in case of old thread pools, we would hit external APIs at a resonable rate. With Virtual threads, we may flood the external API and overwhelm them or get blocked. Need to take care of rate-limiting when moving to Virtual Thread.
@Anbu_Sampath
@Anbu_Sampath 7 ай бұрын
Nima (Helidon WebServer) need to be released as standalone artifact, so we can explore other frameworks on top it.
@vladyslavnikolaienko4814
@vladyslavnikolaienko4814 6 ай бұрын
You should reneme the video from Virtual Threads to Helidon in Action
@Mpomp92
@Mpomp92 6 ай бұрын
My thoughts exactly. I expected to learn about implementing stuff WITH virtual threads and/or how they work in action. Not a showcase of Helidon...
@JavaLovers
@JavaLovers 7 ай бұрын
Superb explanation..!!
@IasonFilippou
@IasonFilippou 5 ай бұрын
Do you guys think that with virtual threads we might be able to be done with the gore of callbacks, no matter how much we try to mask said gores with frameworks like promises? To be clear, I'm not looking for a debate on whether callbacks / promises are gory; I have respectfully reached an opinion *currently*, and it might change in the future. I'm simply wondering if you guys think that going back to blocking I/O will now be feasible with super-fast context switching offered by virtual threads.
What's Looming in Spring? by VENKAT SUBRAMANIAM & JOSH LONG
52:26
Virtual Threads in Java 21
17:22
Will Tollefson
Рет қаралды 4,2 М.
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 17 МЛН
Dad Makes Daughter Clean Up Spilled Chips #shorts
00:16
Fabiosa Stories
Рет қаралды 4 МЛН
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 15 МЛН
КАКУЮ ДВЕРЬ ВЫБРАТЬ? 😂 #Shorts
00:45
НУБАСТЕР
Рет қаралды 3,5 МЛН
IntelliJ IDEA. Debugger Essentials
45:37
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 64 М.
JEP Explained. JEP 466: Class-File API
41:39
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 1,2 М.
Java 21 new feature: Virtual Threads #RoadTo21
33:35
Java
Рет қаралды 62 М.
Spring Tips: Virtual Threads
50:31
SpringDeveloper
Рет қаралды 13 М.
Virtual Threads and Structured Concurrency in Java 21 With Loom
1:14:41
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 30 М.
Reactive Spring Boot With Kotlin Coroutines: Adding Virtual Threads
1:23:41
Kotlin by JetBrains
Рет қаралды 11 М.
Mastering Java Testing With JUnit, Mockito, and AssertJ in IntelliJ IDEA
1:00:45
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 10 М.
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 17 МЛН