-
Core Java
7 Tips for Successful Code Generation in Java
By way of introduction, I’ve been a bit quiet recently and part of the reason for that is that I’ve been busy…
Read More » -
Core Java
Let’s pause for a Microsecond
A lot of benchmarks in low latency Java applications involve having to measure a system under a certain load. This…
Read More » -
Core Java
Dynamic Java Code Injection
In this post we’re going to look at how to dynamically load Java code into a running jvm. The code…
Read More » -
Enterprise Java
Java to LDAP Tutorial (Including How to Install an LDAP Server / Client)
This tutorial will show you how to write Java code to interact with a LDAP. But before we can do…
Read More » -
Core Java
An Unexpected Allocation – JIT Compilation Jitter
Whilst working on ByteWatcher (see my last post) I came across something rather strange. This is the actual code snippet…
Read More » -
Core 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 » -
Software Development
The difference between Efficiency and Performance – It’s not all about the Big O
As a software developer you should understand how to make the best use of your hardware in order to give…
Read More » -
Core Java
Measuring Allocations Programmatically
I picked up this tip from the The Java Specialists’ Newsletter written by Heinz Kabutz. (For all Java developers wanting to…
Read More » -
Enterprise Java
The Effect of Co-ordinated Omission – Measure loopback latency using a simple NIO client/server
In this post I demonstrate a number of ideas and techniques: How to write a simple non-blocking NIO client/server The…
Read More »