![Java Multithreading and Parallel Programming Masterclass [Video]](https://content.packt.com/V19174/cover_image_small.jpg)
Java Multithreading and Parallel Programming Masterclass [Video]
Subscription
FREE
Video + Subscription
$29.99
Video
$109.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
Subscription
FREE
Video + Subscription
$29.99
Video
$109.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
-
Free ChapterIntroduction to the Course
-
General Multithreading Concepts
-
Thread Management
-
Thread Synchronization – Part 1
-
Thread Synchronization – Part 2
- Parallel Array Search with CountDownLatch
- Crushing Matrixes with Barriers
- Parallel Array Processing with Phasers
- Shift Data Between Threads with Exchangers
- What Is a Deadlock and How Can We Avoid It?
- The Volatile Keyword
- [Project] - Simulating a MapReduce Job with Threads - Part 1
- [Project] - Simulating a MapReduce Job with Threads - Part 2
-
Thread Reusability
- Why We Should Reuse Threads
- Introducing the ThreadPoolExecutor Class
- Work Queues for ThreadPools
- Handling Exceptions in ThreadPools
- Managing Rejected Tasks in a ThreadPool
- Monitoring the Performance of a ThreadPool
- Scheduling Tasks with ScheduledThreadPoolExecutor
- Let's Play with ForkJoinPools
- Creating Thread Pools with Executors
- How to Properly Size a Thread Pool
-
Parallel Algorithms
-
Famous Multithreading Problems
-
Multithreading in the Real World
About this video
Multithreading is an advanced topic for any developer, and they struggle to understand many allied concepts related to it. The goal here is to make you understand in depth the multithreading concepts, applied and exemplified in Java.
The course starts with the basics of multithreading—threads, processes, concurrency, and parallelism. Then you will go through thread management concepts. After that, you will learn about thread synchronization and look at synchronization tools such as locks, wait sets and notifications, read and write locks and semaphores, barriers and phasers, and deadlocks and cache coherency enforcement. Next, you will explore tools in Java to deal with thread reusability, manage performance, choose the right parameters (tuning), and many others.
Next, you will see how to improve the runtime of a couple of known algorithms through multithreading. After that, you will study a couple of problems and their solution on Java Threading API to understand parallelism and synchronization. Finally, you will look at the connection between multithreading and widely used frameworks, such as Spring Boot, JavaRx, and JavaFX.
By the end of this course, you will understand multithreading in detail, get hands-on experience in Java, and learn to improve the performance of the app with multithreading.
All the resource files are added to the GitHub repository at:
https://github.com/PacktPublishing/Java-Multithreading-and-Parallel-Programming-Masterclass
- Publication date:
- October 2022
- Publisher
- Packt
- Duration
- 9 hours 7 minutes
- ISBN
- 9781804619377