Java Virtual Threads and Scalability Of Enterprise Applications

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

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

  • @viraj_shetty
    @viraj_shetty  10 месяцев назад +1

    Hi All - Use link below for my popular Java courses.
    Virtual Threads - www.mudraservices.com/udemycoupon.html?course=vthread
    Java Generics - www.mudraservices.com/udemycoupon.html?course=jgen
    For more of my courses, check out - www.mudraservices.com

  • @phizercost5813
    @phizercost5813 11 месяцев назад +7

    Amazing. I am bringing on table discussion in architect meeting next time. We badly need this. Thanks a lot.

    • @viraj_shetty
      @viraj_shetty  11 месяцев назад

      I am happy you enjoyed the video

  • @softcoda
    @softcoda Год назад +4

    One of the best, if not the best explanations I’ve received so far.

  • @petersteel7735
    @petersteel7735 9 месяцев назад

    what a little gem channel i just discovered!! great vid. subscribed!

    • @viraj_shetty
      @viraj_shetty  9 месяцев назад +1

      I am glad you enjoyed ! More to come

  • @aladeli
    @aladeli 11 месяцев назад +1

    I really enjoyed this video. Excellent presentation. Thank you

  • @abirpaul9027
    @abirpaul9027 Год назад +1

    Wonderful explanation Viraj Sir!

  • @mmdaminah
    @mmdaminah 11 месяцев назад +1

    Thank you for your valuable content 🙏

  • @umairalvi7382
    @umairalvi7382 26 дней назад

    Really really great explanation.

  • @jaime4066
    @jaime4066 11 месяцев назад

    Wonderful Explanation!

  • @debkr
    @debkr Год назад +1

    Nice video. How is it better than cached thread pool in Java?

    • @viraj_shetty
      @viraj_shetty  Год назад

      Any thread pool of platform threads will limit concurrency because the total number of users in the Application cannot exceed beyond the maximum number of threads allowed in the pool. In IO bound apps, in most cases CPU utilization is still very low when it reaches the max limit. Virtual threads has no upper limit for threads (no thread pool) and so it allows the app to reach full CPU utilization.

  • @kingfisher3791
    @kingfisher3791 Год назад +1

    Wonderful explanation 😃

  • @manojBadam
    @manojBadam 6 месяцев назад +1

    What happens to threadlocal in virtual threads ? Is it persisted between the platform threads ?

    • @viraj_shetty
      @viraj_shetty  6 месяцев назад +1

      Yes .. Thread locals work in the same
      Manner - whether platform or virtual
      Threads. For virtual threads, thread locals will Be preserved across platform threads for the same
      Virtual Thread

  • @KushanSamaranayake-o3y
    @KushanSamaranayake-o3y Год назад +1

    Thank you!

  • @chaitanyatanwar8151
    @chaitanyatanwar8151 9 месяцев назад

    Thanks!

  • @akshaykapadia8359
    @akshaykapadia8359 2 месяца назад

    Does it mean we dont need Completable future from now onwards or reactive stackl for most of the enterprices?

    • @viraj_shetty
      @viraj_shetty  2 месяца назад

      Depends .. if you are using reactive stack for scalability purposes then it’s easier to just use virtual threads than reactive stacks. There are some streaming use cases which may require reactive stacks

    • @viraj_shetty
      @viraj_shetty  2 месяца назад

      Once structured concurrency classes are out of preview, it would be easier to use that than completable futures