Spring into the Future: Embracing Virtual Threads with Java's Project Loom

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ม.ค. 2025

ความคิดเห็น • 29

  • @maneshipocrates
    @maneshipocrates ปีที่แล้ว +9

    Thanks for the tutorial. This is good stuff from DV. Will like to use it in a multi module /microservices application

  • @albertodeluca4121
    @albertodeluca4121 ปีที่แล้ว +2

    What a nice and neat tutorial! Thanks

  • @badbaboye
    @badbaboye ปีที่แล้ว +1

    Loving the content

  • @markrensen9293
    @markrensen9293 ปีที่แล้ว +1

    Thanks Dan, I will be stealing these slides to learn my students about VT (most don't even know about threads, so it's a challenge)

  • @swe-step-by-step1017
    @swe-step-by-step1017 ปีที่แล้ว +1

    Thanks!

  • @_leftii
    @_leftii ปีที่แล้ว +2

    How cool! Almost feels too easy! Love the content as always. Your style and delivery make concepts like this super easy to digest.

  • @AleksandrPoslovskii
    @AleksandrPoslovskii ปีที่แล้ว

    Could you tell me please what’s ide you are using and which theme? It looks great

  • @bayonnesensei8281
    @bayonnesensei8281 ปีที่แล้ว +1

    Pretty nice, i know that it won't replace the webflux (reactive) and all (non-blocking and back-pressure ) but it is very nice improvement for Java itself.

  • @marouaniAymen
    @marouaniAymen ปีที่แล้ว

    Thanks for the explanation, I'd like to know what software or tool you did use to create the illustrations about threads. Thanks again.

  • @owlboom6458
    @owlboom6458 ปีที่แล้ว +1

    The idea of Java Virtual Threads was borrowed from Erlang Processes for BEAM virtual machine ))

  • @2wes
    @2wes ปีที่แล้ว

    where did you get this cool thsirt? =D

  • @AndreaRizzini
    @AndreaRizzini ปีที่แล้ว

    Hallelujah...

  • @sharifyy
    @sharifyy ปีที่แล้ว +1

    Is there any value to use virtual threads with webflux applications assuming there is a way to configure netty just like the way you configured tomcat?

    • @benaya6
      @benaya6 ปีที่แล้ว

      Consider a case when you use block to get the value of mono/flux, and do that in a virtual thrrad. You will get the value, but you won't really block anything

  • @rickhunter8216
    @rickhunter8216 ปีที่แล้ว

    NICE T-SHIRT.

  • @Las0mbr4
    @Las0mbr4 ปีที่แล้ว

    Btw do you know if there's any database library that is loom ready ?

  • @sadiulhakim7814
    @sadiulhakim7814 7 หลายเดือนก่อน

    Can i use Virtual Thread in every case? Is there any case where i cannot (should not) use Virtual Threads?

  •  ปีที่แล้ว

    As always, nice content!!!. I wonder what we can do with those cheaps threads, maybe more connections to a database ? the concept of connection pool would change later?

  • @michelchaghoury9629
    @michelchaghoury9629 ปีที่แล้ว

    good video very informative, can you please make a video about Spring boot event sourcing / CQRS

  • @mustafazuhair49
    @mustafazuhair49 ปีที่แล้ว

    Thanks that's great I'm very excited to use virtual thread but can we use virtual thread in production or we should wait until spring include this future

  • @lukasz8r
    @lukasz8r ปีที่แล้ว +1

    What is the IDE you are using here?

    • @DanVega
      @DanVega  ปีที่แล้ว +1

      Intellij IDEA I documented my setup here if you're interested > th-cam.com/video/g78is10FjF0/w-d-xo.html

  • @mandarkulkarni7675
    @mandarkulkarni7675 ปีที่แล้ว

    Is it fair to say that if tasks being executed within the context of thread is primarily CPU intensive (or doesn't involve any blocking operations), then such task executions will NOT be benefited from virtual threads as eventually you will need an OS thread to execute the thread's core logic ?

    • @ВасилЕгов
      @ВасилЕгов ปีที่แล้ว

      Yes, exactly. The benefit of a virtual thread is seen when you do io operations - db calls or other. If you have a huge cpu intensive calculation - the virtual thread has no benefit there, actually a bit of an overhead in that scenario

  • @jopadjr
    @jopadjr ปีที่แล้ว

    173rd...Thanks Dan

  • @scalacode
    @scalacode ปีที่แล้ว

    Funny, Scala cats has such thing from many years back. Yet it is a preview in java.

  • @luisdanielmesa
    @luisdanielmesa ปีที่แล้ว

    Forget Spring... plain vanilla Microprofile is more powerful. If you change to Helidon or Quarkus you'll have the cloud native experience, out of the box, that Spring doesn't give you, even jumping through hoops.