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

YouTube

Structured Concurrency in Java - The What & Why

GOTO Conferences via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the world of Structured Concurrency in Java through this comprehensive conference talk. Dive into the concepts of Virtual Threads and Structured Concurrency, understanding their benefits and limitations. Compare the Structured Concurrency API with CompletableFuture API through live coding examples. Learn how Virtual Threads, as lightweight user threads, enable Java applications to produce thousands of threads efficiently without blocking carrier threads. Discover how Structured Concurrency allows developers to focus on business requirements rather than managing platform threads. Witness multiple examples implemented with both CompletableFuture and Structured Concurrency API, highlighting the differences between the reactive-like callback approach of CompletableFuture and the imperative-like API of Structured Concurrency. Gain insights into shutdown policies and understand why Structured Concurrency should be seriously considered for Java development.

Syllabus

Intro
Project Loom
How to create virtual threads?
Demo
Virtual Threads continued
Demo
Virtual Threads continued
Structured Concurrency
CompletableFuture API vs Structured Concurrency API
Demo
Shutdown policies
Outro

Taught by

GOTO Conferences

Reviews

Start your review of Structured Concurrency in Java - The What & Why

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.