Singleton Design Pattern Using Java

Here, we will discuss the Singleton Pattern, which is part of the Creational Design Pattern. It ensures that only one instance of the class resides in the…


Measuring Time: From Java to Kernel and Back

Problem Statement Even the most basic problems become interesting when you dig deep enough. Today, I would like to do a deep dive into measuring time in Java. We will start with the very basics of the Java API and gradually move lower in our stack: throug... (more…)

Read more »