Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Java Virtual Threads & Structured Concurrency w/ Spring Boot

via Udemy

Overview

Java 21 Virtual Threads & Structured Concurrency: Spring Boot Integration, JMeter Load Testing & Monitoring

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

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.

Syllabus

  • Getting Started
  • Introduction to Project Loom
  • Virtual Threads in Action
  • Virtual Thread Execution Model
  • Introducing Structured Concurrency
  • Replacing ThreadLocals with ScopedValues
  • Virtual Thread with Spring Boot
  • Virtual Thread Performance Testing with JMeter
  • Monitoring & Observability of Java Virtual Threads

Taught by

Ayan Dutta and Learning From Experience

Reviews

4.6 rating at Udemy based on 87 ratings

Start your review of Java Virtual Threads & Structured Concurrency w/ Spring Boot

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.