Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Java Virtual Threads & Structured Concurrency w/ Spring Boot
Rating: 4.6 out of 5(101 ratings)
943 students

Java Virtual Threads & Structured Concurrency w/ Spring Boot

Java 21 Virtual Threads & Structured Concurrency: Spring Boot Integration, JMeter Load Testing & Monitoring
Last updated 11/2025
English

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

Course content

9 sections24 lectures5h 12m total length
  • Course Overview3:59

    Boost throughput with virtual threads and structured concurrency in Spring Boot, replacing thread locals with scope values for safer data sharing. Enable virtual threads in Spring Boot, test performance.

  • How To Go Through The Course (Important)0:28
  • DO NOT SKIP - Code Repositories used in the course0:54
  • IntelliJ Project Setup: Enabling Preview Features and Internal JDK Packages6:36
  • DO NOT SKIP - Join Our Learning Community0:10

Requirements

  • Basic Java Programming Knowledge
  • Understanding of Multithreading in Java
  • Familiarity with Spring Boot Basics

Description

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.

Who this course is for:

  • Spring Boot & Backend Developers: If you build web applications, REST APIs, or microservices with Spring Boot, this course is tailor-made for you. You'll learn how to break free from the limitations of traditional thread pools and build far more scalable, high-throughput services that can handle thousands of concurrent requests with minimal resource overhead.
  • Software Architects & Tech Leads looking to evaluate and adopt Virtual Threads in real-world systems.
  • Performance-focused Engineers who want to benchmark, monitor, and optimize applications using JMeter, JFR, Micrometer, Prometheus, and Grafana.
  • Tech Professionals Exploring Observability: Engineers who want to learn how to monitor and optimize Java applications using tools like JFR, Micrometer, Prometheus, and Grafana.