All Books
Modern Concurrency in Java book cover by A. N. M. Bazlur Rahman – O'Reilly Media
Computers & Internet

Modern Concurrency in Java: Virtual Threads, Structured Concurrency, and Beyond by A. N. M. Bazlur Rahman – A Comprehens

3,732

Inclusive of all applicable taxes. FREE shipping on all orders.

Quantity:
1
Share:
Free DeliveryOn every order
15-Day ReturnEasy returns
Genuine BookPhysical copy only

Available Offers

  • 🚚Free DeliveryFree shipping on all orders
  • 💵Cash on DeliveryPay when your order arrives
  • ↩️15-Day Easy ReturnsHassle-free return policy
  • 🔒Cash on DeliveryPay safely when your order arrives

Check Delivery

Product Description

Introduction

Java has long been the backbone of enterprise software in India, from banking systems to e-commerce platforms. Yet, for years, developers have wrestled with the limitations of traditional threading models—high memory overhead, complex synchronization, and scalability bottlenecks. With the arrival of Java 21 and Project Loom, a new era has dawned. Modern Concurrency in Java: Virtual Threads, Structured Concurrency, and Beyond by A. N. M. Bazlur Rahman is your definitive guide to mastering these revolutionary changes. Whether you are a seasoned Java architect or a student eager to stay ahead, this hardcover from O'Reilly Media offers a deep, practical dive into concurrency that will transform how you build applications.

Book Overview

This book is not just another Java manual. It is a carefully crafted journey from the origins of Java concurrency—starting with the heavyweight threads of Java 1.0—to the lightweight, high-performance virtual threads of Java 21. Bazlur Rahman, a respected Java champion and educator, bridges theory and practice. You will learn how virtual threads eliminate the age-old trade-off between simplicity and scalability. The book also covers structured concurrency, which brings clarity to asynchronous code, and scoped values, a safer alternative to thread-local variables. Each concept is illustrated with real-world examples, making it ideal for Indian developers working on high-traffic systems like payment gateways, railway booking platforms, or cloud-native applications.

Key Highlights

  • Hands-on Approach: Every chapter includes code snippets and exercises you can run on your own machine.
  • Focus on Java 21: Covers the latest features including virtual threads, structured concurrency, and scoped values.
  • Performance Insights: Learn how to achieve high throughput without complex thread pools or reactive frameworks.
  • Debugging and Monitoring: Practical tips for troubleshooting virtual thread applications in production.
  • Expert Author: Written by A. N. M. Bazlur Rahman, a well-known educator in the Java community with years of teaching experience.

Inside the Book

The book is organized into logical sections that build on each other. It begins with a historical perspective on Java threads, explaining why traditional threading models fail under load. Then, it introduces the core of Project Loom: virtual threads. You will explore the ForkJoinPool, continuations, and the scheduler that makes virtual threads possible. The middle chapters dive into structured concurrency, showing how to manage multiple tasks with clear error handling and lifecycle management. Later, you will discover scoped values—a robust mechanism for sharing data across threads without leaks. The final chapters cover advanced topics like rate limiting, debugging virtual threads with standard tools, and monitoring performance in production environments. Throughout, the author provides tips and tricks that only a seasoned practitioner would know.

Key Topics

  • Virtual threads: creation, lifecycle, and scheduling
  • Structured concurrency: using StructuredTaskScope for reliable task groups
  • Scoped values: safe, immutable context propagation
  • ForkJoinPool and continuations under the hood
  • Rate limiting and backpressure with virtual threads
  • Debugging and monitoring virtual thread applications
  • Migrating legacy code to use virtual threads
  • Performance benchmarks and best practices

Reader Benefits

By reading this book, you will gain the confidence to design systems that scale gracefully. You will no longer need to rely on complex asynchronous frameworks to handle thousands of concurrent requests. Instead, you can write simple, synchronous code that performs like reactive systems. Indian developers working on platforms like IRCTC, Flipkart, or Zomato will find immediate value in reducing memory usage and improving response times. Students and professionals preparing for Java certifications or interviews will gain a deep understanding of modern concurrency, setting them apart in a competitive job market.

Learning Outcomes

  • Understand the limitations of platform threads and how virtual threads overcome them
  • Implement structured concurrency to manage concurrent tasks with clear boundaries
  • Use scoped values to replace thread-local variables safely
  • Debug and monitor virtual thread applications using JDK tools
  • Optimise throughput without increasing hardware costs
  • Apply rate limiting strategies to protect downstream services
  • Migrate existing Java applications to leverage virtual threads

Who Should Read

This book is ideal for Java developers with at least a basic understanding of threading. It is perfect for backend engineers building high-traffic web services, software architects designing cloud-native systems, and students pursuing advanced Java courses. If you have ever struggled with thread pool exhaustion, complex CompletableFuture chains, or high memory usage in concurrent applications, this book is for you. It is also valuable for technical leads evaluating Java 21 adoption for their teams in Indian IT companies.

About the Author

A. N. M. Bazlur Rahman is a Java Champion and a passionate educator known for his clear, accessible teaching style. He has contributed to the Java community through articles, talks, and open-source projects. With years of experience in enterprise software development, he understands the real-world challenges developers face in India and globally. His writing bridges the gap between academic concepts and practical implementation, making complex topics like virtual threads easy to grasp.

About the Publisher

O'Reilly Media is a globally respected publisher of technology books, known for its practical, expert-driven content. Since its founding, O'Reilly has been at the forefront of documenting emerging technologies—from the internet revolution to modern programming languages. This hardcover edition upholds O'Reilly's tradition of quality, with clear diagrams, well-structured chapters, and code that you can trust. For Indian readers, O'Reilly books are a hallmark of reliable, up-to-date technical knowledge.

Conclusion

Modern Java concurrency is no longer a niche topic—it is a necessity for building scalable, maintainable applications. Modern Concurrency in Java: Virtual Threads, Structured Concurrency, and Beyond gives you the tools and understanding to harness the full power of Java 21. Whether you are upgrading legacy systems or starting a new project, this hardcover guide will be your trusted companion. Order your copy from Bookshops.in today and step into the future of Java development.

Quick Summary

Modern Concurrency in Java: Virtual Threads, Structured Concurrency, and Beyond by A. N. M. Bazlur Rahman is a cutting-edge guide that ushers Java developers into the era of Project Loom. The book demystifies virtual threads, explaining how they eliminate the traditional overhead of OS threads and enable massive scalability. It covers structured concurrency, a paradigm that brings order to concurrent code, making it easier to write, debug, and maintain. Readers will explore internals like ForkJoinPool and continuation, and learn practical skills such as rate limiting, debugging, and monitoring virtual thread applications. The author, a respected Java educator, provides real-world examples and expert tips tailored for Indian developers building high-throughput systems. Whether you are a backend engineer, software architect, or student, this book equips you with the knowledge to leverage Java 21's full potential. By purchasing from Bookshops.in, you get a premium hardcover edition with fast delivery across India and reliable customer support, ensuring a seamless learning experience.

Book Highlights

Covers Java 21 virtual threads in depth
Explains structured concurrency with real examples
Includes ForkJoinPool and continuation internals
Teaches rate limiting and throttling techniques
Focuses on debugging and monitoring concurrent code
Practical tips for high-throughput server applications
Written by a leading Java educator and practitioner
Ideal for Indian developers upgrading to modern Java
Step-by-step approach from basics to advanced topics
Comparisons with traditional thread models
Performance optimization strategies for production systems
Integration with existing Java frameworks
Case studies from real-world projects
Future directions beyond Project Loom

Book Specifications

ISBN-139781098165413
ISBN-101098165411
Publisher‎ Oreilly & Associates Inc
Language‎ English
Dimensions‎ 17.78 x 5.08 x 23.34 cm
Weight‎ 544 g
Country‎ United Kingdom
CategoryLanguages › C & C++
GenreTechnology
Reading AgeAdult
Original LanguageEnglish

Frequently Asked Questions

What is the main focus of this book?
The book focuses on Java 21's virtual threads and structured concurrency, teaching developers how to build scalable, high-throughput applications using Project Loom.
Who is the author A. N. M. Bazlur Rahman?
He is a renowned Java educator, speaker, and contributor to the Java community, known for his practical teaching style and deep expertise in concurrency.
Do I need prior knowledge of concurrency to read this book?
Basic Java knowledge is assumed, but the book starts with fundamentals and progresses to advanced topics, making it accessible to intermediate developers.
Is this book relevant for Indian developers?
Yes, it addresses real-world scalability challenges faced in Indian tech companies and startups, with practical examples applicable to local contexts.
Does the book cover debugging virtual threads?
Yes, it includes dedicated sections on debugging and monitoring virtual threads, with tools and techniques for production environments.
What is structured concurrency?
Structured concurrency is a programming paradigm where concurrent tasks are organized hierarchically, making code easier to reason about and error-free.
How is this book different from other Java concurrency books?
It focuses exclusively on Java 21 and Project Loom, providing the most up-to-date content on virtual threads and structured concurrency.
Can I use this book for self-study?
Absolutely, the book is designed for self-paced learning with clear explanations, code examples, and practical exercises.
Does the book include performance benchmarks?
Yes, it includes performance comparisons and benchmarks to illustrate the benefits of virtual threads over traditional threading.
What is Project Loom?
Project Loom is a Java initiative to introduce lightweight virtual threads and structured concurrency, significantly simplifying concurrent programming.
Is this book suitable for college students?
Yes, advanced undergraduate and graduate students studying Java or concurrent programming will find it valuable for projects and research.
Does the book cover rate limiting?
Yes, it teaches rate limiting techniques to control resource usage and prevent system overload in concurrent applications.
Are there any prerequisites for reading this book?
A solid understanding of Java syntax and object-oriented programming is recommended, along with basic familiarity with threading concepts.
Will this book help me prepare for Java certifications?
While not a certification guide, the deep coverage of Java 21 concurrency features will strengthen your knowledge for advanced Java exams.

Customers Also Bought

Buy Algorithmische Sprache Und Programmentwicklung | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer — BookShops.in

Programming

Algorithmische Sprache Und Programmentwicklung | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer | P. Pepper | Springer | by H. Partsch | F. L. Bauer

3,143
Buy Distributed Algorithms | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean — BookShops.in

Programming

Distributed Algorithms | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean-Claude Bermond | Michel Raynal | Springer | by Jean

5,539
Buy Meta-Level Control for Deductive Database Systems | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schm — BookShops.in

Programming

Meta-Level Control for Deductive Database Systems | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schmidt | Springer | by Helmut Schm

5,458
Buy Java Web Services | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O' — BookShops.in

Programming

Java Web Services | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'Reilly Media | by David A. Chappell | Tyler Jewell | O'

3,680
Buy Database in Depth | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J.  — BookShops.in

Programming

Database in Depth | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J. Date | O'Reilly Media | by Chris J.

3,158
Buy Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimization Problem | by Nicolas Beldiceanu | Narendra Jussien | Eric Pinson | Springer | by Nicolas Beldiceanu | Narendra Jussien | Eric Pinson | Springer | by Nicolas Beldiceanu | Narendra Jussien | Eric Pinson | Springer | by Nicolas Beldiceanu | Narendra Jussien | Eric Pinson | Springer | by Nicolas Beldiceanu | Narendra Jussien | Eric Pinson | Springer | by Nicolas Beldiceanu | Narendra Jussien | Eric Pinson |  — BookShops.in

Programming

Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimization Problem | by Nicolas Beldiceanu | Narendra Jussien | Eric Pinson | Springer | by Nicolas Beldiceanu | Narendra Jussien | Eric Pinson | Springer | by Nicolas Beldiceanu | Narendra Jussien | Eric Pinson | Springer | by Nicolas Beldiceanu | Narendra Jussien | Eric Pinson | Springer | by Nicolas Beldiceanu | Narendra Jussien | Eric Pinson | Springer | by Nicolas Beldiceanu | Narendra Jussien | Eric Pinson |

5,602

Related Products

View All
Buy Modern Full-Stack React Projects by Daniel Bugl — BookShops.in

Computers & Internet

Modern Full-Stack React Projects by Daniel Bugl

2,311
Buy Mootools 1.2 Beginner's Guide (English, Jacob Gube) — BookShops.in

Computers & Internet

Mootools 1.2 Beginner's Guide (English, Jacob Gube)

2,085
Buy Contemporary Methods for Speech Parameterization (Springerbriefs in Electrical and Computer Engineering / Springerbriefs in Speech Technology) — BookShops.in

Computers & Internet

Contemporary Methods for Speech Parameterization (Springerbriefs in Electrical and Computer Engineering / Springerbriefs in Speech Technology)

4,187
Buy Information Technology and Lawyers | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lo — BookShops.in

Computers & Internet

Information Technology and Lawyers | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lodder | Anja Oskamp | Springer | by Arno R. Lo

4,985
Buy Digital Analysis of Remotely Sensed Imagery | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao — BookShops.in

Computers & Internet

Digital Analysis of Remotely Sensed Imagery | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao | McGraw-Hill Companies | by Jay Gao

5,336
Buy Computer-Aided Drug Design and Delivery Systems | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Compan — BookShops.in

Computers & Internet

Computer-Aided Drug Design and Delivery Systems | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Companies | by Ahindra Nag | Baishakhi Dey | McGraw-Hill Compan

4,180
Get In Touch

Contact BookShops.in

Find our bookstore in Madurai on the map below, or let us know about your reading experience by leaving a review.

Phone+91 81899 68108
Address12, Rajan Street, Main Road, KK Nagar, Madurai — 625020, Tamil Nadu, India
Support HoursMon–Sat, 10:00 AM – 6:00 PM (IST)

Value your feedback

Enjoyed the books you ordered from us? Your review helps fellow readers discover our store and helps us improve.

Leave a Google Review

Your Cart

Your cart is empty

Add books to get started