List/Grid Tag Archives: Performance

Reducing memory consumption by 20x
This is going to be another story sharing our recent experience with memory-related problems. The case is extracted from a recent customer support case, where we faced a badly behaving ...

JVM Performance Magic Tricks
HotSpot, the JVM we all know and love, is the brain in which our Java and Scala juices flow. Over the years, it’s been improved and tweaked by more than a handful of engineers, and ...

Improve Performance by caching and compression
Web page designs are becoming innovative with rich interface which involve extra code such as java scripts, css, and images etc. Most of the end-user response time tied-up in downloading ...

HotSpot GC Thread CPU footprint on Linux
The following question will test your knowledge on garbage collection and high CPU troubleshooting for Java applications running on Linux OS. This troubleshooting technique is especially ...

Arrays.sort versus Arrays.parallelSort
We all have used Arrays.sort to sort objects and primitive arrays. This API used merge sort OR Tim Sort underneath to sort the contents as shown below: public ...

Java StringBuilder myth debunked
The myth Concatenating two Strings with the plus operator is the source of all evil – Anonymous Java dev NOTE: The source code for the tests discussed here can be found on Github It’s ...

OpenJPA: Memory Leak Case Study
This article will provide the complete root cause analysis details and resolution of a Java heap memory leak (Apache OpenJPA leak) affecting an Oracle Weblogic server 10.0 production ...

Adding Turbochargers to JEE Apps
One of the key roles, I play is evangelizing Akka within my local community. As part of the discussions, the question/doubt usually in people’s mind is how can Akka provide better ...

Scaling Scala vs Java
In my previous post I showed how it makes no sense to benchmark Scala against Java, and concluded by saying that when it comes to performance, the question you should be asking is ‘How ...

Benchmarking Scala against Java
A question recently came up at work about benchmarks between Java and Scala. Maybe you came across my blog post because you too are wanting to know which is faster, Java or Scala. Well ...


