Video description
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.
What You Will Learn
- Understand why multithreading is a real advantage for any Java developer
- Understand the basic building blocks of multithreaded applications
- Learn when multithreading can speed up the application and when it can’t
- Look at the OS and hardware implications of a multithreaded application
- Leverage and connect the concepts learned with real-world projects
- See the connection between multithreading and widely used frameworks
Audience
This course is ideal for beginner Java developers who want to enhance their skillset by learning multithreading and parallel programming the right way.
Any developer with basic Java knowledge (including Object-Oriented Programming), who wants to improve the performance of their applications by leveraging parallel programming, and who wants to learn multithreading from scratch can gain a lot from this course.
Basic Java OOP knowledge (classes, interfaces, methods), IntelliJ IDEA, and Java 15 (JDK) are the only requirements to get started.
About The Author
Cosmin Ionita: Cosmin Ionita is a software engineer with over ten years of experience in developing enterprise-grade applications. He is based in Bucharest, Romania. He is a self-learner, truly passionate about technology, focused on gaining new skills, building outstanding professional relationships, and understanding the underlying concepts of the technologies he interacts with.
His expertise revolves around JVM-based applications and surrounding systems (or techniques) for container management, deployment workflows, monitoring and alerting, performance optimization, code quality, resource efficiency, and many others.
Table of contents
- Chapter 1 : Introduction to the Course
- Chapter 2 : General Multithreading Concepts
- Chapter 3 : Thread Management
- Chapter 4 : Thread Synchronization – Part 1
-
Chapter 5 : 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
-
Chapter 6 : 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
- Chapter 7 : Parallel Algorithms
- Chapter 8 : Famous Multithreading Problems
- Chapter 9 : Multithreading in the Real World
Product information
- Title: Java Multithreading and Parallel Programming Masterclass
- Author(s):
- Release date: October 2022
- Publisher(s): Packt Publishing
- ISBN: 9781804619377
You might also like
video
Java Concurrency and Multithreading in Practice
Improve the performance of your application by using modern Java's multithreading features About This Video Increase …
video
Java SE 17 Developer (1Z0-829)
21+ Hours of Video Instruction An intensive and guided video course to learn and practice while …
book
Java Coding Problems
Develop your coding skills by exploring Java concepts and techniques such as Strings, Objects and Types, …
video
From 0 to 1: Data Structures & Algorithms in Java
This is an animated, visual and spatial way to learn data structures and algorithms. Our brains …