These are my blogs

and also my life

User Name Search with Apache Lucene

2020-01-30 java lucene

I wanted to use Apache Lucene to search User Names. It’s definitely not straightforward. This post explains how to do it by defining our own ... Read More

Java Cyclic Barrier

2019-02-25 java concurrent thread

Imagine a scenario where you have N threads and can only do something when M of them are ready. Java already has this built in since 1.5 with the ... Read More

Java Multicore Example

2019-02-24 java concurrent thread

Any program these days that does any significant computational load should utilize the availble processor cores. In this post we’ll show an ... Read More