We may earn an affiliate commission when you visit our partners.
Course image
Ayan Dutta and Learning From Experience

If you are a Udemy Business user, please check with your employer before downloading software.

Master Java 21 Virtual Threads & Structured Concurrency — The Complete Spring Boot Performance Guide

Revolutionary Project Loom Technology for Enterprise Applications

Read more

If you are a Udemy Business user, please check with your employer before downloading software.

Master Java 21 Virtual Threads & Structured Concurrency — The Complete Spring Boot Performance Guide

Revolutionary Project Loom Technology for Enterprise Applications

Discover how Java 21 Virtual Threads and Structured Concurrency (from Project Loom) revolutionize concurrent programming in Spring Boot.Traditional platform threads consume around 2 MB each, while Virtual Threads use only 2 KB, enabling you to run millions of concurrent tasks efficiently.Learn to design, test, and monitor enterprise-grade, high-performance applications built for modern multicore systems.

Enterprise-Grade Performance Benefits

  • Achieve 10×–100× higher throughput for I/O-intensive Spring Boot applications

  • Reduce memory consumption dramatically with simplified concurrency models

  • Integrate seamlessly with existing Spring Boot microservice architectures

  • Implement production-ready observability using JFR, Micrometer, and Prometheus

Complete Hands-On Mastery

REAL-

Perfect For Java Professionals

  • Spring Boot engineers optimizing throughput and scalability

  • Backend developers designing concurrent microservices

  • Performance engineers working on enterprise concurrency challenges

Transform your Spring Boot applications with Java 21’s Project Loom and gain hands-on mastery over Virtual Threads, Structured Concurrency, and real-world load testing.

Enroll now

What's inside

Learning objectives

  • Understand and implement virtual threads: learn the fundamentals of java’s project loom and how to create and manage virtual threads to handle high-concurrency
  • Master structured concurrency: gain expertise in structured concurrency to write cleaner, more maintainable, and error-resistant concurrent code in java
  • Leverage scopedvalues in spring boot: discover how to replace threadlocals with scopedvalues for improved performance and thread safety in spring boot applicati
  • Perform load testing with jmeter: acquire skills to set up and conduct performance tests using jmeter, comparing virtual and platform threads for apis and datab
  • Monitor virtual threads effectively: learn to monitor and observe virtual threads in real-time using tools like jfr, micrometer, prometheus, and grafana for bet

Syllabus

Getting Started
Course Overview
How To Go Through The Course (Important)
DO NOT SKIP - Code Repositories used in the course
Read more

Save this course

Create your own learning path. Save this course to your list so you can find it easily later.
Save

Career center

Learners who complete Java Virtual Threads & Structured Concurrency w/ Spring Boot will develop knowledge and skills that may be useful to these careers:

Reading list

We've selected 50 books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Java Virtual Threads & Structured Concurrency w/ Spring Boot.
Provides a comprehensive overview of Java concurrency, including Virtual Threads. It is written by a team of experts in the field and is highly regarded for its clarity and depth.
Widely regarded as the foundational text of the discipline, Newman's comprehensive guide examines service boundary modeling, asynchronous communication, distributed workflow coordination, and organizational alignment. Balanced trade-off analysis helps architects decide when and how to adopt fine-grained services.
Structured as a rigorous pattern language, this architectural handbook solves the hardest distributed data management challenges including sagas, transactional outbox, CQRS, and event sourcing. Concrete Java and Spring examples demonstrate how to maintain data consistency across isolated service databases.
Bayo Erinle walks through Apache JMeter from thread groups and samplers to distributed load generation and BeanShell scripting. Its hands-on scenarios teach you how to simulate realistic user traffic, parameterize dynamic sessions, and interpret throughput and latency metrics.
Provides a comprehensive view of system performance analysis and tuning across various operating systems and environments, including enterprise systems and cloud platforms. It is highly regarded in the field and is valuable as a reference for understanding the methodologies and tools used in performance optimization. It delves into the internals of systems, making it suitable for those seeking a deeper understanding beyond basic tuning techniques. This book is commonly used by industry professionals.
Is considered a foundational text in the field of observability. It provides a comprehensive overview of what observability is, how it differs from traditional monitoring, and its importance in modern software systems. It's highly valuable for gaining a broad understanding and must-read for anyone serious about the topic. The book also discusses the cultural shifts required for adopting observability practices within an organization.
Provides a deep dive into concurrency in Java, including a chapter on Virtual Threads. It is written by an expert in the field and is highly regarded for its technical depth.
Migrating legacy brownfield systems without halting feature delivery requires incremental decomposition patterns such as the Strangler Fig, branch by abstraction, and parallel run. Newman focuses specifically on untangling shared relational schemas and managing transitional state safely.
Jagdeep Jain and Sai Matam focus on enterprise JMeter workflows, including JSR223 Groovy scripting, custom plugins, and CI/CD integration. You will learn how to build maintainable test plans, avoid common correlation pitfalls, and scale headless test execution across cloud agents.
Decoupling services through immutable event streams eliminates brittle synchronous request chains and enables scalable real-time data topologies. Bellemare covers event schemas, stateful stream processing, materialized views, and organizational governance at enterprise scale.
Ian Molyneaux establishes the methodology behind effective JMeter engagements: defining SLAs, modeling production workloads, and isolating bottlenecks before writing a single script. Essential for turning raw load-generator output into actionable engineering recommendations.
As OpenTelemetry is the emerging standard for cloud-native observability, this book is highly relevant for contemporary practices. It offers a practical guide to setting up and operating OpenTelemetry, covering tracing, metrics, and logging. It's a must-read for those implementing observability with open standards.
A definitive guide for Java developers, this book provides detailed insights into tuning and optimizing Java applications. It covers JVM internals, garbage collection, and threading, offering practical advice and techniques. It is considered a must-read for Java professionals and is often referenced for its in-depth coverage of Java-specific performance issues.
Focusing on database performance, this book must-read for anyone working with MySQL. It covers essential techniques for optimizing MySQL databases, including query tuning, schema design, and leveraging features for scalability. It widely recognized resource in the database community.
Leandro Melendez demystifies end-to-end load testing lifecycles with humor and battle-tested checklists. Covering requirement gathering, test data management, and stakeholder reporting, it bridges the gap between scripting JMeter assertions and running disciplined performance projects.
A classic book on Java best practices, covering topics such as object-oriented design, concurrency, and performance.
A guide to developing cloud-native Java applications, covering topics such as microservices, serverless computing, and reactive programming.
Hands-on engineering chapters walk through building, securing, and deploying reactive Java microservices using Spring Boot 3, Docker, Kubernetes, and Istio service mesh. Developers gain practical mastery of OAuth 2.0 security, Resilience4j circuit breakers, and OpenTelemetry tracing.
Focuses on applying observability specifically in cloud-native environments, which contemporary and highly relevant topic. It covers using open-source tools like OpenTelemetry, Prometheus, and Grafana. It's a practical guide for those working with cloud-native applications.
Provides a comprehensive introduction to Java programming, including a chapter on concurrency. It is written by a leading expert in the field and is highly regarded for its clarity and depth.
Provides a comprehensive overview of patterns for parallel programming, covering topics such as task parallelism, data parallelism, and communication patterns. It is written by a team of leading experts in the field of parallel programming.
A guide for C++ developers, this book focuses on optimizing the performance of C++ applications. It covers identifying bottlenecks, measuring performance, optimizing data structures and algorithms, and utilizing multi-core processors. It practical resource for C++ programmers aiming to improve code efficiency.
Complementing other OpenTelemetry books, this resource specifically targets cloud-native environments and emphasizes the combination of tracing, metrics, and logging. It is highly relevant for contemporary cloud deployments and provides practical guidance on using OpenTelemetry effectively.
Addressing the operational complexities of asynchronous architectures, this guide details idempotency, out-of-order message handling, dead-letter queues, and eventual consistency monitoring. Pragmatic advice bridges high-level architecture diagrams with day-two production realities.
Save
Offers a technical deep dive into Java performance, analyzing code at the bytecode level and providing practical optimization techniques for JVM applications. It complements Scott Oaks' book by offering a slightly different perspective and more code-centric examples. It valuable resource for experienced Java developers seeking to fine-tune their applications.
Rob Chapman demonstrates how to build real-time telemetry dashboards with Grafana, Prometheus, and InfluxDB. Pairing these techniques with JMeter backend listeners lets you correlate virtual-user load ramps directly against server resource saturation and error spikes.
Google engineers explain how service level objectives, error budgets, and capacity planning govern production reliability. Understanding SRE principles helps JMeter practitioners design meaningful stress thresholds, soak tests, and automated performance gates.
Another book dedicated to distributed tracing, this offers a comprehensive guide from a key figure in the OpenTracing and Jaeger projects. It delves into the theoretical foundations and practical implementation of tracing at scale. It's excellent for deepening understanding and strong reference.
Michael Nygard catalogs the failure modes that emerge only under heavy load, from cascading thread-pool exhaustion to unbounded queues and retry storms. Reading these production war stories sharpens your ability to design JMeter chaos and spike tests that expose real fragility.
Starting from a minimal single-service application, readers progressively evolve a clean architecture into a multi-service system with service discovery, API routing, and message brokers. Pedagogical clarity makes it an ideal entry point for backend developers new to distributed systems.
Provides a practical guide to adopting OpenTelemetry across an organization, focusing on the value and implementation challenges. It's a good resource for understanding how to integrate OpenTelemetry into existing systems and workflows.
Provides a comprehensive overview of Java performance tuning, including a chapter on concurrency. It is written by an expert in the field and is highly regarded for its practical advice.
Delves into the performance aspects of computer networking, particularly in the context of web browsers. It covers topics like TCP, UDP, and HTTP, explaining how network protocols impact web performance. It is essential reading for anyone involved in optimizing the delivery of web content.
Provides a foundational understanding of performance engineering principles, covering the entire software development lifecycle. It discusses performance modeling, requirements, testing, and scalability. It useful resource for gaining a broad understanding of performance engineering as a discipline.
Distilling lessons from Uber's hyper-growth infrastructure, Fowler defines an operational readiness checklist covering stability, deployment pipelines, monitoring, alerting, and catastrophe preparedness. Engineering leaders use this concise framework to audit microservice maturity.
Offers a strategic approach to implementing observability within an enterprise setting, addressing planning and execution. It's useful for understanding the organizational aspects and challenges of adopting observability at scale.
Jagdeep Jain breaks down REST and GraphQL API validation, authentication flows, and automated assertion strategies. Because most modern JMeter workloads target microservices and JSON endpoints, strong API testing fundamentals directly improve script accuracy and reuse.
Every microservice decision involves trade-offs between service granularity, data ownership, workflow choreography versus orchestration, and contract coupling. Structured architectural katas equip senior engineers with objective frameworks for evaluating distributed decomposition.
Charity Majors, Liz Fong-Jones, and George Miranda reframe monitoring around high-cardinality events and distributed tracing. Integrating OpenTelemetry concepts with JMeter test runs helps pinpoint which downstream microservice or database query degrades under concurrency.
John Allspaw and Arun Kejariwal tackle how to forecast infrastructure needs using empirical traffic trends and controlled load experiments. Their approach connects JMeter benchmark curves to procurement decisions, autoscaling policies, and peak-season readiness.
For those working with Kubernetes, this book connects observability with security, highlighting their combined importance in cloud-native applications. It offers a holistic view and is valuable for understanding the role of observability in a secure Kubernetes environment.
Considered a classic in the field of Software Performance Engineering (SPE), this book lays out the foundational principles and practices for building performance into software systems from the outset. While an older publication, its methodologies are still highly relevant for understanding the SPE process. It is more valuable for its foundational concepts than as a current reference for specific technologies.
End-to-end implementation guidance walks through designing team topologies, defining domain APIs, provisioning Kubernetes infrastructure, and automating CI/CD release pipelines. Concrete architectural blueprints connect business agility goals directly to cloud-native engineering.
Artur Ejsmont explains caching layers, asynchronous queues, database sharding, and stateless web tiers from a pragmatic builder perspective. Knowing how scalable architectures behave under pressure helps you interpret why JMeter response times plateau or spike.
Ilya Grigorik demystifies TCP slow start, TLS handshakes, HTTP/2 multiplexing, and browser connection limits. Understanding transport-layer mechanics prevents common JMeter misconfigurations around connection pooling, keep-alive headers, and realistic think times.
Poorly chosen service boundaries create distributed monoliths that combine the worst traits of both worlds. Khononov explains how bounded contexts, subdomains, and context maps provide the essential linguistic and business boundaries for resilient microservice architectures.
Apache JMeter core contributors Antonio Gomes Rodrigues, Bruno Demion, and Philippe Mouawad cover non-GUI execution, HTML reporting dashboards, and DevOps pipeline integration. Ideal for scaling JMeter beyond single-machine tests into automated CI workflows.
Provides a practical guide to concurrency in Scala, covering topics such as actors, futures, and reactive programming. It is written by Alvin Alexander, a leading expert in the field of Scala concurrency.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Java Virtual Threads & Structured Concurrency w/ Spring Boot.
Building Scalable Java Microservices with Spring Boot and...
Most relevant
Docker - Hands On for Java Developers
Most relevant
Spring Boot Microservices with Spring Cloud Beginner to...
Most relevant
RESTful Web Services, Java, Spring Boot, Spring MVC and...
Most relevant
[NEW] Spring Boot 3, Spring 6 & Hibernate for Beginners
Most relevant
Microservices with gRPC [Java + Spring Boot + Protobuf]
Most relevant
Spring Boot Microservices and Spring Cloud. Build &...
Most relevant
Master Microservices with Spring Boot and Spring Cloud
Most relevant
Microservices with Spring Cloud
Most relevant

Udemy Buyer Protection & Guarantee

Verified partner policies & purchase protections

Global Marketplace Leader
Free Trial & Audit

Free Lecture Previews

Free preview video lectures available for all courses; optional 7-day free trial on Personal Plan subscriptions (cancel before trial ends to avoid conversion).

Return & Refund Policy

30-Day Money-Back Guarantee

30-day money-back guarantee on all eligible individual course purchases (provided course content has not been substantially consumed or downloaded). Subscription fees are non-refundable once billed.

Buyer Protections

Verified Academic & Industry Partner

Lifetime access to purchased individual courses and future updates, verifiable certificate of completion, and direct student Q&A forums.

Key Purchase Protections
30-day 100% money-back guarantee on course purchases
Lifetime access on web, mobile, and offline
Certificate of completion included with purchase
Direct instructor Q&A and active student community
OpenCourser Verified Partner Policy details last reviewed: 2026-10-22
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser