Structured Concurrency in Java - The What & Why
Offered By: GOTO Conferences via YouTube
Course Description
Overview
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
Related Courses
Addressing Algorithmic BiasGOTO Conferences via YouTube Empowering Consumers - Evolution of Software in the Future
GOTO Conferences via YouTube Why Static Typing Came Back
GOTO Conferences via YouTube Higher Kinded Types in a Lower Kinded Language - Functional Programming in Kotlin
GOTO Conferences via YouTube It's Not Hard to Test Smart - Delivering Customer Value Faster
GOTO Conferences via YouTube