Java Performance Tuning

Java(TM) - see bottom of page

|home |services |training |newsletter |tuning tips |tool reports |articles |resources |about us |site map |contact us |
Tools: | GC log analysers| Multi-tenancy tools| Books| SizeOf| Thread analysers| Heap dump analysers|

Our valued sponsors who help make this site possible
JProfiler: Get rid of your performance problems and memory leaks! 

Training online: Concurrency, Threading, GC, Advanced Java and more ... 

News March 2014

Get rid of your performance problems and memory leaks!

Modern Garbage Collection Tuning
Shows tuning flow chart for GC tuning

Java Performance Training Courses
COURSES AVAILABLE NOW. We can provide training courses to handle all your Java performance needs

Java Performance Tuning, 2nd ed
The classic and most comprehensive book on tuning Java

Java Performance Tuning Newsletter
Your source of Java performance news. Subscribe now!
Enter email:

Training online
Threading Essentials course

Get rid of your performance problems and memory leaks!

Back to newsletter 160 contents

The low latency space is an interesting one for we performance people. Until the last few years, low latency tips were practices that people had found worked - I won't call them "best" practices because often they aren't. But generally the advice centered around: minimizing copies, e.g. passing buffers through the system without copying them, just operating on the same buffers; avoiding and reusing objects; minimizing or even better avoiding GCs; keeping code paths as simple as possible; ruthlessly removing any features you don't need; keeping things as close to together physically as possible. There are others, but the basic paradigm is that the lower the latency you need, the less you can code in a normal style, the more you have to be ruthlessly strict in what you allow into the implementation. And controlling what causes GC is massively important.

A note from this newsletter's sponsor

New Relic - Try New Relic today and get your free Data Nerd shirt!
Free SaaS APM tool to monitor, troubleshoot, and tune apps
running on Websphere, Weblogic, Tomcat, Jetty, JBoss, Solr, Resin

In the last few years, things have noticeably improved in the low latency space because of efforts to make available open source implementations of low latency tools. Previously, there were vendors of frameworks and tools in the low latency space, and there were a few open source collection implementations that minimized object creation and avoided unnecessary overheads: the trove open address maps are an excellent example, but there are others.

So what have we had added to our toolset in the last few years? Several people and organisations dedicated to making available low latency open source tools that are much more extensive than we've seen before. Among these several stand out in popularising low latency tools: The LMAX Disruptor, which continues to be maintained by Mike Barber, one of it's authors; another of it's authors, Martin Thompson, is working on an open source highly efficient marshalling implementation, Simple Binary Encoding (see Todd Montgomery's presentation in the articles listed below); and Peter Lawrey's OpenHFT set of open source low latency tools (see the tools section below), one of which, the SharedHashMap, I cover with him in detail this month at

I look forward to this space of open source low latency targeted tools expanding even further in the coming years. Now on to yet more links to Java performance tools, news, articles and, as ever, all the extracted tips from all of this month's referenced articles.

A note from this newsletter's sponsor

Get total visibility in just 15 minutes with AppDynamics PRO,
A performance monitoring tool for Java/.NET apps.
It installs in minutes. Start your FREE TRIAL today.


Java performance tuning related news.


Java performance tuning related tools.

A note from this newsletter's sponsor

ManageEngine's Site24x7 : Deep dive Application Performance Monitoring
Fix performance issues with Java, .NET and Ruby platforms.
*** Monitor one app instance at $9 per year***


Jack Shirazi

Back to newsletter 160 contents

Last Updated: 2023-09-28
Copyright © 2000-2023 All Rights Reserved.
All trademarks and registered trademarks appearing on are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries. is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
RSS Feed:
Trouble with this page? Please contact us