The Age of Virtual Threads by Ron Pressler And Alan Bateman

Ғылым және технология

Virtual threads and structured concurrency are two features added in JDK 19 (as Preview and Incubation respectively) that will change the way we write high-throughput servers. In this talk we’ll describe the purpose of these features, and give some advice on how to prepare for the age of virtual threads.
RON PRESSLER
Veteran programmer, leader of OpenJDK's Project Loom. Ron works at Oracle, in the Java Platform Group, and is the technical lead for OpenJDK's Project Loom, which seeks to add user-mode threads to the JDK.
ALAN BATEMAN
Alan Bateman is an engineer in the Java Platform Group at Oracle. Alan has worked on many areas of the JDK including the Java Module System, the modularization of the JDK itself, and the core libraries and APIs. He previously worked on many of the tool and profiling APis including the JSR-163 implementation and other serviceability features. He is currently focused on Project Loom.
------------------------------------------------------------
INTRO
* visuals & editing by @Mercator
* music : Avocado by Ephixa

Пікірлер: 8

  • @elijahmbugua9146
    @elijahmbugua9146 Жыл бұрын

    This can work wonders for servlets where every new request is a virtual thread, crazy kind if performance for high usage scenarios

  • @TaranovskiAlex
    @TaranovskiAlex Жыл бұрын

    Thank you for the great presentation!

  • @user-by5vk7fb3g
    @user-by5vk7fb3g Жыл бұрын

    GREAT I HOPE TO SEE THIS VIRTUAL THREAD IN MY PROJECT SOON!

  • @Factophobia431
    @Factophobia431 Жыл бұрын

    OMG, thank you!!!! 3 3

  • @pjhsiao99
    @pjhsiao99 Жыл бұрын

    awesome video , thank you.

  • @oferbar
    @oferbar11 ай бұрын

    Thanks for this talk, very informative! Do virtual threads support traces and spans? How can you track a flow in the logs?

  • @JakobJenkov
    @JakobJenkov Жыл бұрын

    Object pools are still useful for avoiding Garbage Collection jitter. I keep hearing how the GC is just as fast as pooling objects, but the benchmarks usually say something else. Why would that not also be true of virtual threads?

  • @Strannik20111
    @Strannik20111 Жыл бұрын

    What is the best practice here? Is it ok to automatically replace Thread with VirtualThread and Executor with virtual executor ?

Келесі