YoVDO

Java Concurrency Troubleshooting: Latency and Throughput

Offered By: LinkedIn Learning

Tags

Java Courses Multithreaded Programming Courses Garbage Collection Courses

Course Description

Overview

Learn how to identify, prevent, and solve latency issues in a multithreaded Java application.

Syllabus

Introduction
  • Welcome to high-performing Java applications
  • So your Java application is slow
  • Troubleshooting latency vs. throughput
  • Parallelism vs. concurrency
1. Identify Sources of Blocked Threads
  • Synchronization and locking
  • Garbage collection
  • Resource chokepoints and long-running operations
  • Bad component defaults
  • Java stream issues
2. Troubleshoot Blocked Threads
  • Find the source of a blockage
  • Collect thread dumps
  • Challenge: Find the sleeping method
  • Solution: Find the sleeping method
  • Identify blocked threads in thread dumps
  • View blocked threads with Java Mission Control
  • View blocked threads with Java Flight Recorder
  • Microbenchmarks in Java with JMH
  • Challenge: Run JMH benchmarks and compare
  • Solution: Run JMH benchmarks and compare
Conclusion
  • Conquer your threads

Taught by

Tayo Koleoso

Related Courses

Algorithms, Part I
Princeton University via Coursera
Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
MongoDB for Java Developers
MongoDB University
Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
Intro to Java Programming
San Jose State University via Udacity