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

YouTube

Parallel Streams and CompletableFuture: Concurrency in Java 8 - Optimization Techniques

Java via YouTube

Overview

Explore parallel streams, CompletableFuture, and concurrency techniques in Java 8 and 9 through this 48-minute conference talk. Dive into the various options for optimizing program speed, including parallel streams, CompletableFuture class, ExecutorService, and other java.util.concurrent classes. Learn about the trade-offs involved in choosing different parallelism and concurrency approaches. Discover when parallel processing is beneficial and how to implement it effectively. Examine concepts such as partitioning, fork-join pools, and asynchronous programming. Gain insights into modern Java recipes, factory methods, and the principles of "Simple Made Easy." Follow along with demonstrations and examples to understand the practical applications of these concurrent programming techniques in Java.

Syllabus

Introduction
About Ken
Modern Java Recipes
Safari Books
Definitions
Simple Made Easy
Brian Gets
Factory Methods
Parallel and Sequential
Part of a Pipeline
Sequential Parallel Tests
When is Parallel Worth Doing
Partitioning
Demonstration
Fork Join Pool
Change Threads
Future
Busy Waiting
CompletableFuture
Methods
Combined Methods
Overloads
Async
Overload
Supply Async
Get and Join
Wait quiescence
Example

Taught by

Java

Reviews

Start your review of Parallel Streams and CompletableFuture: Concurrency in Java 8 - Optimization Techniques

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.