Home » Tag Archives: Performance

Tag Archives: Performance

Five easy steps to improve your database performance

software-development-2-logo

January 30, 2015: Based on reader feedback, section 4 “Do you have enough database connections?” has been revised. Database access is a core feature of most applications. Based on our experience, it seems that for at least 80% of all applications we see, simple database performance tuning can speed up applications significantly. Fortunately, there isn’t a lot of rocket science ...

Read More »

How to detect and diagnose slow code in production

java-logo

One of the more difficult tasks that a developer faces is finding and diagnosing slow running code in production. Firstly how do you monitor your production code without slowing it down? Certainly you can’t run production code through a profiler.  Even if you have a mechanism for timing your code, how then do you diagnose the issue? This is especially ...

Read More »

Top 10 Easy Performance Optimisations in Java

java-logo

There has been a lot of hype about the buzzword “web scale“, and people are going through lengths of reorganising their application architecture to get their systems to “scale”. But what is scaling, and how can we make sure that we can scale? Different aspects of scaling The hype mentioned above is mostly about scaling load, i.e. to make sure ...

Read More »

Top 10 Most Common Java Performance Problems

java-interview-questions-answers

Java performance is an issue of interest for all Java application developers, since making an application fast is as important as making it functional. Steven Haines uses his personal experience on Java performance issues to conclude that most of them have common root causes. So, as a performance analyst, Haines sorts the basic performance issues to three basic categories: Database ...

Read More »

JMH: How to setup and run a JMH benchmark

java-logo

Health Warning! This post describes how to setup and run a simple JMH benchmark.  Micro benchmarks are notoriously difficult to get right and even when you do get them right (by using tools such as JMH) they can still be misleading. Just because your code runs in a certain way in an extremely isolated artificial situation does not mean it will run ...

Read More »

Java8 Sorting – Performance Pitfall

java-logo

Java 8 brings all the goodness of lambdas to enable us to program using a declarative style. But is it really free? And should we be concerned about the price we have to pay for the new programming goodies? Here’s an example where we might have to worry. Consider sorting instances of this simple class:           ...

Read More »

First rule of performance optimisation

software-development-2-logo

Let’s start with a system with no obvious performance bottlenecks.  By that I mean that there are no glaring algorithmic problems which are grinding your system to a halt.  e.g. a tight loop which is reading a property from a file without caching the result. You want your system to run as fast as possible, where do you start?  Most ...

Read More »

Java performance tuning survey results (part IV)

java-logo

This is the last post in series where we analyze the results of the Java Performance Tuning Survey we conducted in October 2014. If you have not read the first posts, I recommend to go through the following first:                 Frequency and severity of performance problems Most popular monitoring solutions Tools and techniques ...

Read More »

Java performance tuning survey results (part III)

java-logo

This is the third post in a series where we analyze the results of a survey conducted in October 2014. If you have not already done so, I recommend to start with the first two posts in the series: problem severity analysis and monitoring domain analysis. This post focuses on troubleshooting / root cause detection. The background to this survey ...

Read More »

Java performance tuning survey results (part II)

java-logo

This is a second post in series where we analyze the results of the performance tuning survey conducted in October 2014. If you have not read the first part yet, we recommend to start here. Second part will focus on monitoring Java applications for performance issues. In particular, we try to answer the following questions:           ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close