Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Java Concurrency Troubleshooting: Latency and Throughput

via LinkedIn Learning

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

Reviews

4.7 rating at LinkedIn Learning based on 137 ratings

Start your review of Java Concurrency Troubleshooting: Latency and Throughput

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.