This masterclass is designed to transform your understanding of Java by delving into the intricacies of multithreading and parallel programming. Beginning with the basics, you'll learn what processes and threads are, and understand the differences between parallel, concurrent, asynchronous, and non-blocking operations. The course then progresses to advanced concepts such as thread management, including creation, prioritization, and exception handling, with practical projects like parallel text file processing.
Recommended experience
What you'll learn
Analyze the fundamental building blocks of multithreaded applications to understand their advantages for Java developers.
Evaluate the performance impact of multithreading in applications, including OS and hardware implications.
Apply multithreading concepts in real-world projects and connect them with widely used frameworks.
Skills you'll gain
Details to know
Add to your LinkedIn profile
September 2024
4 assignments
See how employees at top companies are mastering in-demand skills
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
There are 9 modules in this course
In this module, we will introduce you to the course, providing an overview of what you will learn and achieve. We will also share tips on how to make the most out of your learning experience and discuss the prerequisites and code resources needed to follow along effectively.
What's included
3 videos1 reading
In this module, we will delve into fundamental concepts of multithreading, including the differences between processes and threads. We'll also explore various execution models and explain Amdahl's Law, providing a solid foundation for understanding multithreading.
What's included
5 videos
In this module, we will cover the essentials of thread management, from creating threads to managing their priorities and states. You'll learn about handling thread exceptions, working with thread local variables, and addressing race conditions. Additionally, we'll dive into practical applications with a project on parallel text file processing.
What's included
7 videos1 assignment
In this module, we will explore the critical concept of thread synchronization. You'll learn about the synchronized keyword, locks, and various synchronization mechanisms, including semaphores and condition variables. Through practical examples, you'll gain a deep understanding of how to synchronize threads effectively.
What's included
7 videos
In this module, we will continue our exploration of thread synchronization with advanced techniques. You'll work on projects involving CountDownLatch, barriers, phasers, and Exchangers. We'll also address deadlocks, the volatile keyword, and culminate with a project simulating a MapReduce job.
What's included
8 videos
In this module, we will focus on the concept of thread reusability, emphasizing the importance of thread pools. You'll learn to use ThreadPoolExecutor, manage work queues, handle exceptions, and monitor performance. Additionally, we'll explore ForkJoinPools and the best practices for sizing thread pools.
What's included
10 videos1 assignment
In this module, we will introduce you to parallel algorithms, starting with Quick Sort and Binary Search. We'll discuss the efficiency and performance benefits of these parallel implementations. You'll also learn about naive and optimal methods for parallel matrix multiplication.
What's included
4 videos
In this module, we will tackle some of the most famous multithreading problems. You'll learn about and implement solutions for the Dining Philosophers, Readers-Writers, and Sleeping Barber problems. We'll also discuss the No-Starve Mutex problem, providing practical examples and solutions.
What's included
4 videos
In this module, we will apply multithreading concepts to real-world scenarios. You'll learn to monitor JVM performance, run asynchronous workloads with Spring Boot, and use RxJava for building parallel data pipelines. Finally, we'll demonstrate how to unblock UIs with multithreading in JavaFX.
What's included
6 videos2 assignments
Instructor
Offered by
Recommended if you're interested in Software Development
Why people choose Coursera for their career
New to Software Development? Start here.
Open new doors with Coursera Plus
Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy
Frequently asked questions
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.