Course Information
Course Overview
Java 21 Virtual Threads & Structured Concurrency: Spring Boot Integration, JMeter Load Testing & Monitoring
IMPORTANT DISCLAIMER: This course requires you to download Docker Desktop from its official website. 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
VIRTUAL THREADS FUNDAMENTALS – Launch and manage 1 million Virtual Threads, understand mounting/unmounting, carrier threads, and thread pinning.
STRUCTURED CONCURRENCY IMPLEMENTATION – Master concurrent patterns using StructuredTaskScope and ScopedValues, improving Spring Security context handling.
SPRING BOOT PRODUCTION INTEGRATION – Optimize REST APIs, configure data access, and build scalable services using Virtual Threads.
COMPREHENSIVE JMETER LOAD TESTING – Compare Platform vs Virtual Threads for API and database workloads with measurable metrics.
REAL-TIME MONITORING & OBSERVABILITY – Use JFR, Micrometer, Prometheus, and Grafana to monitor Virtual Thread applications in production.
THREAD CONTINUATIONS DEEP DIVE – Explore the low-level execution model that powers Virtual Threads.
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.
Course Content
- 9 section(s)
- 24 lecture(s)
- Section 1 Getting Started
- Section 2 Introduction to Project Loom
- Section 3 Virtual Threads in Action
- Section 4 Virtual Thread Execution Model
- Section 5 Introducing Structured Concurrency
- Section 6 Replacing ThreadLocals with ScopedValues
- Section 7 Virtual Thread with Spring Boot
- Section 8 Virtual Thread Performance Testing with JMeter
- Section 9 Monitoring & Observability of Java Virtual Threads
What You’ll Learn
- 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
Skills covered in this course
Reviews
-
IIoana Popescu
It is a good structured Course about VirtualThreads. The only downside for me was the low video quality .. in 2025 I would expect at least 720p. As a recommendation the videos should be updated for Java25 which is officially here.
-
AAtilla Kiss-Gazda
Pretty well built tutorial with extended focus on testing and monitoring needed by any enterprise app.
-
BBasir Ahmed
Learn Java 21 virtual threads — the production-ready evolution of Project Loom — to handle millions of concurrent tasks with simple, blocking code. Then choose this course to go deep and master high-performance modern Java applications!
-
SSudipta Mukherjee
Excellent and well designed course