Contention & Performance

Can you spot why throughput collapses? Practice 3 scenarios in this Java concurrency topic.

Drills in this section

  • Blocking I/O Inside synchronized: Blocking I/O Inside synchronized: practice a Java concurrency bug with symptoms like Throughput collapse, High latency, Many blocked threads. Inspect...
  • One Big Lock Around a Shared Map: One Big Lock Around a Shared Map: practice a Java concurrency bug with symptoms like Poor scalability, Throughput plateaus early, Threads block on one...
  • Hot Counter Under Contention: Hot Counter Under Contention: practice a Java concurrency bug with symptoms like Correct results but poor throughput, Counter becomes hotspot,...