Java Multithreading, Concurrency & Performance Optimization
4.6 (2,477 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
14,509 students enrolled

Java Multithreading, Concurrency & Performance Optimization

Become an expert in Multithreading, Concurrency & Parallel programming in Java, with strong emphasis on high performance
Bestseller
4.6 (2,472 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
14,499 students enrolled
Last updated 6/2020
English
English
Current price: $139.99 Original price: $199.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 4 hours on-demand video
  • 6 articles
  • 17 downloadable resources
  • 4 coding exercises
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Build well designed & correct multithreaded applications in Java, with confidence.
  • Gain expert-level practical knowledge of modern software architecture & low level programming using Threads
  • Create high performance & responsive applications, clients will use and love
  • Learn to utilize your computer and Java language using Concurrency and Parallel programming
Course content
Expand all 32 lectures 04:09:58
+ Threading fundamentals - Thread Creation
4 lectures 18:07
Tips about Coding Lectures and Debugging Instructions
01:43
Threads Creation - Part 2. Thread Inheritance
08:35
Thread Creation
3 questions
Thread Creation - MultiExecutor
1 question
Thread Creation - MultiExecutor Solution
00:28
+ Threading fundamentals - Thread Coordination
3 lectures 16:45
Thread Termination & Daemon Threads
07:27
Thread Termination & Daemon Threads
2 questions
Joining Threads
08:25
Multithreaded Calculation
1 question
Multithreaded Calculation - Solution
00:53
+ Performance Optimization
4 lectures 44:03
Introduction to Performance & Optimizing for Latency - Part 1
09:42
Optimizing for Latency Part 2 - Image Processing
16:26
Optimizing for Throughput Part 1
05:20
Optimizing for Throughput Part 2 - HTTP server + Jmeter
12:35
Performance Optimization
2 questions
+ Data Sharing between Threads
2 lectures 19:15
Stack & Heap Memory Regions
07:57
Stack & Heap Memory Regions
4 questions
Resource Sharing & Introduction to Critical Sections
11:18
+ The Concurrency Challenges & Solutions
5 lectures 40:04
Critical Section & Synchronization
07:39
Critical Section & Synchronization
4 questions
Atomic Operations, Volatile & Metrics practical example
10:34
Atomic Operations, Volatile & Metrics practical example
2 questions
Min - Max Metrics
1 question
Min - Max Metrics - Solution
01:03
Race Conditions & Data Races
09:08
Data Races
1 question
Locking Strategies & Deadlocks
11:40
Locking Strategies & Deadlocks
3 questions
+ Advanced Locking
4 lectures 30:27
ReentrantLock Part 1 - tryLock and interruptible Lock
09:21
ReentrantLock Part 2 - User Interface Application example
08:21
ReentrantLock
2 questions
Reentrant Read Write Lock & Database Implementation
11:15
Read-Write Locks
4 questions
Product Reviews Service
1 question
Product Reviews Service - Solution
01:30
+ Inter-Thread Communication
3 lectures 34:13
Semaphore - Scalable Producer Consumer implementation
08:46
Semaphores - Barrier
1 question
Condition Variables - All purpose, Inter-Thread Communication
08:45
Objects as Condition Variables - wait(), notify() and notifyAll()
16:42
Condition Variables
2 questions
+ Lock-Free Algorithms, Data-Structures & Techniques
3 lectures 26:04
Introduction to Non-blocking, Lock Free operations
06:55
Atomic Integers & Lock Free E-Commerce
05:23
Atomic References, Compare And Set, Lock-Free High Performance Data Structure
13:46
Lock-Free Algorithms, Data-structures & Techniques
3 questions
+ Beyond Multithreading - Final Lecture
2 lectures 06:42
Distributed Systems, Big Data & Performance
06:01
Bonus - Special Coupon for Distributed Systems & Cloud Computing with Java
00:41
Requirements
  • A Windows, Mac or Linux computer
  • Java Development Kit (JDK) 8 or above installed
  • Basic knowledge of programming in Java
Description

Description

If you had your own jet plane, would you drive it to the grocery store, or fly it on a tour around the world?

Today every computer and phone comes with immense computing power and multiple cores that allow for full parallelism. In this course you will go on a journey to learn all the fundamental tools you need to become a confident and successful multithreaded application developer. Using multithreading and concurrency we will learn to get the most out of our computer to truly make it fly!

Teaching Philosophy
The course is designed to teach you "how to fish". Instead of memorizing classes, libraries or Java APIs, we will learn the fundamentals of multithreaded programming, starting from the complete basics, all the way to the very advanced topics in multithreading.

All lectures include the right theory and are accompanied by practical examples from relevant fields such as:

  • User Interface applications 

  • Image Processing

  • Web Applications

  • Computational programs

  • And others

It's a practical course that is meant to save you time. Instead of filling hours of material, I hand picked the most important topics based on my practical experience.

Target Student for this Course

  • Students who already have some experience and basic knowledge in programming in Java.

  • Students who want to acquire multithreaded, parallel programming and concurrency skills, in a short period of time.

  • Students who are interested in performance optimizations and getting good foundation in the above mentioned topics. 

  • Students who want to take their career to the next level. Whether you are a

    • Newly graduate and you're looking to land a dream job.

    • A professional engineer who wants to become a better programmer and improve your skillset.

    • A freelancer who wants to develop his/her own project and is looking to learn how to write efficient multithreaded code. 

      Then this course is for YOU!

Short Bio

My passion towards multithreading and concurrency started in college where I worked on a highly scalable, distributed, B+ Tree research project, sponsored by IBM.

Later I worked as a Computer Architecture Engineer at Intel Corporation and as a Software Engineer in other companies where I developed many applications and features involving efficient and optimized multithreaded code to deliver real time video, audio and data - in education, healthcare, augmented reality and Ad Tech.

Today I am a Principal Software Engineer and Software Architect. Training and mentoring engineers on all levels is both my job and my passion.

We will learn

  • Operating Systems fundamentals and motivation for multithreading and concurrency.

  • The basics of multithreading - how to create threads in Java as well as communicate between threads in Java.

  • Performance considerations and design patterns of multithreaded  and parallel applications. Optimizing for latency or throughput.

  • Data sharing between threads in Java. All the pitfalls and challenges as well as the solutions and best practices.

  • Advanced lock-free algorithms and data structures for increased responsiveness and performance.

By the End of the Course

You will be able to

  • Write correct, responsive, and performant multithreaded applications in Java, for any purpose and scale.

  • Apply best practices to architect multithreaded applications, algorithms and libraries.

  • Become knowledgable in concurrency & parallel programming, which will help you in job interviews, in your daily work as an engineer, as well as in your personal projects.

Become an expert in Java Multithreading, Concurrency and Performance optimization today!

FAQs

- "Will the course help me with interview questions?"

Yes! The course is focused on helping you become proficient in multithreading and concurrency in general, and also master multithreading in Java in particular. You will learn all you need about threads in Java as well as common topics in interview questions involving locking, synchronization in Java, heap and stack memory organization and so on. Although the course is not focused on interview questions specifically, and there's no way to predict what you will be asked during an interview question, the knowledge you will get will definitely set you apart from other candidates.

- "Does the course cover all threading classes and APIs in Java?"

"No. There are many books and expensive academic courses which cover EVERY single class and API which would take months to finish. In addition, Oracle provides excellent Java Docs that cover and explain every single Java multithreading API and class.
This course is different!
Based on years of experience in the field, I have carefully designed a short curriculum that teaches you all the essentials in a short amount of time.
No fillers! No more wasting time learning things you could read yourself in 5 minutes or don't ever need!
This course will build the foundation for you to become an expert in multithreading and concurrency. And also be able to successfully and easily, extend your own knowledge in the future.

- "What if I don't understand something during the course and I have a question, what do I do?"

Not a problem! I am here to help you succeed! Multithreading, is not an easy topic and no one is expected to get it all, right away. Each lecture has a Q&A section where students can ask questions about the lecture or any follow-up questions about the topic in general. I (the instructor) will answer all the questions in a timely manner and make sure you have all the tools for success.


- "Does the course cover interprocess communication and distributed Systems?"

No. Although those are really interesting and important topics that involve concurrency. They are not directly related to Java multithreading, which is the main topic of the course. We do mention those topics during the course but they are out of scope and deserve their own course. The  concepts, use-cases and challenges are very different than the ones we encounter while optimizing the performance of a single multithreaded Java application, algorithm or library, so we will not cover them here.


- "Why do I need a separate course for concurrent programming?"

Concurrent programming is fundamentally different than the transitional sequential programming. As in every engineering decision, there's always a tradeoff. Parallel and Concurrent programming can have tremendous positive impact on the application's performance and responsiveness but is a lot harder to get it right. In this course we will learn all the caveats, techniques and best practices to get the most out of multithreaded applications in Java.

Who this course is for:
  • Students who want to learn multithreaded programming and concurrency
  • Students who want to produce the highest quality and highest performance software
  • Engineers who want to take their professional career to new level, and become true experts
  • College students and newly graduates, who want to stand out from the crowd, and land their dream job