Modern Concurrency in Java: Virtual Threads, Structured Concurrency, and Beyond - Brossura

Rahman, A N M Bazlur

 
9781098165413: Modern Concurrency in Java: Virtual Threads, Structured Concurrency, and Beyond

Sinossi

Welcome to the future of Java. With this book, you'll explore the transformative world of Java 21's key feature: virtual threads. Remember struggling with the cost of thread creation, encountering limitations on scalability, and facing difficulties in achieving high throughput? Those days are over. This practical guide takes you from Java 1.0 to the cutting-edge advancements of Project Loom.

You'll learn more than just theory. Author A N M Bazlur Rahman equips you with a toolkit for taking real-world action. Take a deep dive into the intricacies of virtual threads and complex topics such as ForkJoinPool, continuation, rate limiting, debugging, and monitoring. You'll not only learn how they work, but you'll also pick up expert tips and tricks to help you master these concepts. And you'll learn about structured concurrency and scoped values--critical skills for building Java applications that are scalable and efficient.

  • Get an in-depth understanding of virtual threads
  • Understand the implementation of virtual thread internals
  • Gain performance improvement in blocking operations
  • Learn why structured concurrency is beneficial
  • Know where to use scoped value
  • Understand the relevance of reactive Java with the advent of virtual threads

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.