-
Plumbr now also monitors java.util.concurrent locks
Detecting concurrency issues resulting in degraded performance in java.util.concurrent library has been a pain throughout the 12 years the library has been available. No more - Plumbr root cause detection is now able to detect performance issues arising from using the java.util.concurrent library.
Filed under: Locked Threads Plumbr
-
Shooting yourself in the foot with Random number generators
Concurrency is hard. It becomes even harder when the lock contention issues are hidden deep into the standard libraries used as building blocks for regular applications. This post is opening up one particularly common issue where java.util.Random usage is affecting the application performance.
Filed under: Locked Threads
-
Improving lock performance in Java
In this post I explain generic techniques to apply when facing lock contention issues in your Java application. I cover tools and techniques such as lock splitting, concurrent data structures, protecting the data instead of the code and lock scope reduction.
Filed under: Locked Threads
-
Locked thread detection – now publicly available
We are proud to release locked thread detection to general availability. Each and every Plumbr user can now tackle those hard-to-find and impossible-to-reproduce locks with the help of Plumbr.
Filed under: Locked Threads Product Updates
-
Classloading and locking
Can classloading trigger threadlocks and escalate the contention all over your application? Apparently , it can. See our case study and example code.
Filed under: Locked Threads
-
Understanding volatile via example
The concept represented by volatile keyword in Java is somewhat difficult to understand. In order to save you from painful errors caused by the misuse of volatile, I created an example shedding light into the issue.
Filed under: Locked Threads
-
Lock detection: eating our own dog food
Eating your own dog food can be a pleasure - it this example we demonstrate how testing out our new performance tuning releases on our own platform has resulted in performance improvements
Filed under: Locked Threads
-
Locking and Logging
90% of the Java applications use Log4j or Logback logging frameworks. Coupling the usage of those frameworks with synchronous logging appenders we have found a very widespread locking issue in many Java applications.
Filed under: Locked Threads
-
How to use Asynchronous Servlets to improve performance
Ever wondered what could be a good use case of Servlet 3.0 Asynchronous Servlets? Or faced issues on throughput/performance with the applications initiating communication from the server as opposed to passively waiting the browser? This case study describes a 75x improvements in latency and 20x in throughput.
Filed under: Java Locked Threads
-
How to shoot yourself in foot with ThreadLocals
It will start nicely. Like most of the stories. You discover a new concept and are amazed by it’s powers. And then equipped with this new hammer suddenly everything starts to look like a nail. From what we have experienced in past months, java.lang.ThreadLocal makes one hell of a hammer.
Filed under: Locked Threads