Virtual Threads - Strengths and Pitfalls with Victor Rentea

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024
  • Over the past 30 years, Java struggled to find the best approach to working with threads, adopting thread pools, non-blocking concurrency, and reactive programming. One year ago Java 21 introduced Virtual Threads, one of the most awaited language improvements in the language history. The ad goes: massive concurrency with cheap threads without the cognitive load required by callbacks, or reactive programming. However, there are some dark tenets and best practices you need to learn to be on top of this paradigm shift that challenges our old, entrenched habits.
    Agenda:
    Mechanics of Virtual Thread
    When to expect a benefit from VT & how to measure it?
    CPU Monopolization
    Thread Pinning: how to detect and fix
    Deadlocks Caused by Virtual Threads
    ...
    Speaker
    Victor Rentea, dedicated Trainer, Java Champion, and Software Craftsman.
    He is passionate about Clean Code, Refactoring, and Automated Testing. Victor has been programming in various languages since 2004 and previously served as a Lead Architect/Coach at IBM Romania. He conducts regular training sessions at over 40 companies in Romania and around the world. Victor is also a frequent speaker at major conferences.
    ----------------------------------------------------------------
    Join the Community!
    If you haven't joined the Slack community, what are you waiting for? It's the ultimate spot to throw in your questions during our live sessions and mingle with fellow Java enthusiasts from all around the world.

Комментарии • 5

  • @rostyslavpaliuha225
    @rostyslavpaliuha225 Месяц назад

    God bless you @vrentea, I am in the middle of to make an decision how should we go further to optimize system and one way is to use hexagon to reduce techdebt to split domain logic from frameworks and virtual threads to reduce aws costs on intances, but still I know that there will not so cheap!

  • @VerhoevenSimon
    @VerhoevenSimon 2 месяца назад +1

    Thank you for the great presentation.

  • @sadiulhakim7814
    @sadiulhakim7814 Месяц назад

    6:25 seems like we are coding in Haskell

  • @silviucat
    @silviucat 2 месяца назад +3

    1M * 0.5MB = 500 000 MB or 500GB