Description
Modern Concurrency in Java: Virtual Threads, Structured Concurrency, and Beyond.
Discover the next generation of Java concurrency with a practical guide to Java 21’s revolutionary virtual threads and the technologies behind Project Loom.
For decades, Java developers have faced challenges caused by traditional threading models, including high resource costs, scalability limitations, and difficulties building applications capable of handling massive workloads. Java 21 changes the game by introducing virtual threads—a powerful feature designed to make concurrent programming simpler, faster, and more efficient.
This hands-on guide takes you through the evolution of Java concurrency, from the foundations of early Java releases to the modern capabilities introduced through Project Loom. Rather than focusing only on concepts, it provides practical knowledge and real-world techniques you can apply when designing scalable applications.
Author A N M Bazlur Rahman explores the inner workings of virtual threads and explains how they transform the way Java applications handle high-volume tasks. You’ll gain a deeper understanding of advanced topics such as continuations, ForkJoinPool, rate limiting, debugging, monitoring, structured concurrency, and scoped values.
Inside this book, you’ll learn how to:
- Understand the fundamentals and advantages of virtual threads in Java 21.
- Explore the internal design and implementation of virtual thread technology.
- Improve application performance when working with blocking operations.
- Build more scalable systems using modern concurrency techniques.
- Understand the benefits and practical use cases of structured concurrency.
- Apply scoped values effectively in modern Java applications.
- Evaluate the changing role of reactive programming in the era of virtual threads.
Whether you are a Java developer looking to modernize existing applications or preparing to build highly scalable systems, this guide provides the knowledge and practical insights needed to take full advantage of Java’s new concurrency model.







Reviews
There are no reviews yet.