Concurrency
-
Core Java

Scalable Counters For Multi Core
Counters are required everywhere , for e.g. to find key KPI of application, load on application, total number of request…
Read More » -
Core Java

Simple and lightweight pool implementation
Object pools are containers which contain a specified amount of objects. When an object is taken from the pool, it…
Read More » -
Core Java

5 Things You Didn’t Know About Synchronization in Java and Scala
Practically all server applications require some sort of synchronization between multiple threads. Most of the synchronization work is done for…
Read More » -
Core Java

Java FutureTask Example Program
Sometime back I wrote a post about Java Callable Future interfaces that we can use to get the concurrent processing…
Read More » -
Core Java

Lock Less Java Object Pool
It has been a while since I wrote anything, I have been busy with my new job that involves doing…
Read More » -
Enterprise Java

Invoking Async method call using Future object in Spring
The next example will demonstrate an async method call inside the Spring container. Why do we need async method calls?…
Read More » -
Core Java

Experiment with ConcurrentHashmap
I am investigating a memory issue in one of my recent projects where data is kept in memory for fast…
Read More » -
Core Java

Five advanced Java Synchronizers you probably don’t know
Besides the common synchronize which is based in the lock bit that every Java object has, you have more sophisticated…
Read More » -
Core Java

Java 8: CompletableFuture in action
After thoroughly exploring CompletableFuture API in Java 8 we are prepared to write a simplistic web crawler. We solved similar…
Read More »

