Recent Posts

Trip Report: Dubai JUG 2nd Meetup

This was the second Dubai JUG meetup, yet the first real one. The first meetup was more of a practice team building session. Here is a trip report of the second Dubai JUG meetup. First day in Dubai This was my second time in Dubai. I had visited most of the landmarks the first time, making this a more relaxing visit without …

Read More »

A Minor But Useful Refactoring Technique That Would Reduce Your Code Footprint (Part 2)

As I keep refactoring, this article will focus on a few more interesting ways to do it. These are pretty much minor yet effective and useful changes. Stream.noneMatch() and Stream.anyMatch() In some situations, we need to find a single case among many. For example, we want to do a certain operation if we have a list of items and a …

Read More »

Why the Fastest Way of Serializing a Java Field is not Serializing it at All

This article elaborates on different ways of serializing Java objects and benchmarks performance for the variants. Read this article and become aware of different ways to improve Java serialization performance. In a previous article about open-source Chronicle Queue, there was some benchmarking and method profiling indicating that the speed of serialization had a significant impact on execution performance. After all, …

Read More »