Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Concurrent Programming in Java with Virtual Threads

via Pluralsight

Overview

Reactive programming improves the throughput of microservices. This course explains how virtual threads and structured concurrency improve the reactive programming model, by writing simpler code that is easier to maintain and debug.

Designing a reactive system is complex and leads to code that is hard to test, hard to debug, and expensive to maintain. Virtual threads have been added to the Java platform to overcome these problems, and make it so that your simple imperative and blocking code is the right solution to design reactive systems. In this course, Concurrent Programming in Java with Virtual Threads, you will learn how virtual threads and structured concurrency can improve the reactive programming model. First, you will explore the patterns you can use to run your application on virtual threads. Then, you will learn how virtual threads are working under the hood, so that you can make informed decisions on where to use them in your application. Finally, you will see several applications use cases, built on virtual threads through the use of structured concurrency, to put everything in practice. When you are finished with this course, you will be fully equipped to improve your applications with virtual threads and structured concurrency, something you will need to improve the maintainability of your reactive and asynchronous code.

Syllabus

  • Course Overview 1min
  • Improving Reactive Programming with Virtual Threads 25mins
  • Introducing Virtual Threads 19mins
  • Using Virtual Threads to Increase Your Throughput 33mins
  • Introducing Structured Concurrency 55mins
  • Replacing ThreadLocals with ScopedValues 25mins

Taught by

Jose Paumard

Reviews

5 rating at Pluralsight based on 21 ratings

Start your review of Concurrent Programming in Java with Virtual Threads

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.