Concurrency
-
Core Java
Threading stories: ThreadLocal in web applications
This week I spend reasonable time to eliminate all our ThreadLocal variables in our web applications. The reason was that…
Read More » -
Core Java
Java Concurrency with ReadWriteLock
Writing multithreaded java applications is not a piece of cake. Extra care must be taken because bad synchronization can bring…
Read More » -
Core Java
Fork and join in Java 7 – JSR 166 concurrency utilities
One of the most interesting improvements of Java 7 is the better support of concurrency. With JSR 166 Concurrency Utilities…
Read More » -
Core Java
Threading stories: about robust thread pools
Another blog of my threading series. This time it’s about thread pools, robust thread pool settings in particular. In Java…
Read More » -
Core Java
Threading stories: about robust thread pools
Another blog of my threading series. This time it’s about thread pools, robust thread pool settings in particular. In Java…
Read More » -
Enterprise Java
Spring Thread Pool Services
Thread Pools are very important to execute synchronous & asynchronous processes. This article shows how to develop and monitor Thread…
Read More » -
Enterprise Java
Concurrency Pattern: Producer and Consumer
In my career spanning 15 years, the problem of Producer and Consumer is one that I have come across only…
Read More » -
Core Java
Using a ThreadPoolExecutor to Parallelize Independent Single-Threaded Tasks
The task execution framework, introduced in Java SE 5.0, is a giant leap forward to simplify the design and the…
Read More » -
Core Java
Beneficial CountDownLatch and tricky java deadlock
Have you ever used java.util.concurrent.CountDownLatch? It’s a very convenience class to achieve synchronization between two or more threads, where allows…
Read More »