Concurrent Programming in Java with Virtual Threads
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.
Author Name: Jose Paumard
Author Description:
Passionate about programming computers for over 20 years, Jose made his debut in assembler and C, C for SIMD parallel machines before adopting Java as an object-oriented language, indispensable to most major modern applications. He brings his expertise and capacity for analysis and synthesis to many projects, mainly in the lower layers, close to the data, but also on complex UI design, or in the browser. PhD in applied maths and computer science, assistant professor in Paris North University for… more
Table of Contents
- 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
There are no reviews yet.