Java
-

A Case Study in Analysing Latency: Lock vs Synchronized
In particular in this post we will discuss: Garbage created by java.concurrent.Lock Comparing Lock to synchronized How to measure latency programatically…
Read More » -

Several Patterns for Binding Non-transactional Resources into JTA Transactions
I recently published an article about how to bind non-transactional resources like web services / microservices into global distributed transactions…
Read More » -

Don’t Like Throttling?
You don’t have a choice – the underlying system (The JVM here will do it for you). I still recall…
Read More » -

Top 10 Useful, Yet Paranoid Java Programming Techniques
After coding for a while (eek, almost 20 years or so in my case, time flies when you’re having fun),…
Read More » -

It’s easy to document your Play Framework REST API with Swagger
This post originally ran on http://swagger.io (7/30/2015) I having been using Play Framework as a Java-based, lightning-fast REST backend framework…
Read More » -

Are annotations bad?
I eased off into this topic with my principles on my post about Spring XML vs. Annotations that other day.…
Read More » -

From Imperative to Pure-Functional and Back Again: Monads vs. Scoped Continuations
This post accompanies this video and won’t make too much sense without it Last month I gave a talk at the…
Read More » -

Installing PostgreSQL PL/Java as a PostgreSQL Extension
In 2011 I wrote a series of articles on PostgreSQL PL/Java. The basic information is still solid but there is…
Read More » -

Making Thread Dumps Intelligent
Long back I had learnt about something called Log MDC, and I was a big fan of it. I was…
Read More »


