Java performance tuning
Java performance tuning is a function of many things, such as code, networks, hardware (client configuration, memory, CPU speed, storage capacity, etc.) and databases. It is almost impossible to predict exactly where a performance tuning failure might occur. Performance tuning tools allow you to take applications to their point of failure by using virtual users. Java performance tuning must be precise to simulate concurrent load at exactly the same instant. With manual performance tuning, human reaction times simply can't achieve and maintain the same level of concurrency as seen with automated tools. Find the latest information and tuning best practices in this topic section.
Top Stories
-
Feature
19 Mar 2021
Java garbage collection interview questions and answers
From stop-the-world events to the impact of JVM pause times, these are the Java garbage collection questions and answers developers need to know before an interview. Continue Reading
-
Feature
29 Jan 2021
5 Java performance profiling tips to help tune your JVM
Check out these Java performance tips, such as which profiling tool to use, what data you need to save as part of your CI/CD pipeline and how to incorporate AI. Continue Reading
-
Feature
29 Jan 2021
5 Java performance profiling tips to help tune your JVM
Check out these Java performance tips, such as which profiling tool to use, what data you need to save as part of your CI/CD pipeline and how to incorporate AI. Continue Reading
-
Blog Post
29 Jan 2021
Java Mission Control 8 Eclipse plugin install example
Here's a quick Java Mission Control tutorial to show you how to install the Java Mission Control Eclipse plugin and start a Java Flight Recorder JVM profile run. Continue Reading
-
Answer
27 Jan 2021
How do Java sampling and JVM instrumentation differ?
These two approaches both aim to improve Java performance and can be done together. But there is a fundamental difference between instrumentation and sampling. Continue Reading
-
Quiz
22 Jan 2021
Test your knowledge of JVM profiling tools with this quiz
Since their inclusion in Java 11, Java Flight Recorder and JDK Mission Control have become the de facto Java profiling tools for the JVM. Test your knowledge with these 10 questions. Continue Reading
-
Video
15 Jan 2021
5 ways to force Java garbage collection
A developer can't technically force garbage collection in Java, but it can be made a priority. If you need to free up heap space, here are five ways to prioritize it in the JVM. Continue Reading
-
Blog Post
29 Dec 2020
Performance cost of autoboxing Java primitive types explained
The boxing and unboxing of Java primitive types has severe performance implications. Uncover the truth about autoboxing Java primitive types in this JDK Mission Control and JVM Flight Recorder example. Continue Reading
-
Feature
12 Oct 2020
5 helpful tips to reduce webpage load time, improve performance
Nobody wants to wait for a webpage to load. Follow these tips to reduce website load time and improve the user experience for a better online persona. Continue Reading
-
Video
27 May 2020
HashMap vs. Hashtable: Which map should you choose?
When HashMap replaced Hashtable as part of the Java 1.2 release, it moved away from how developers previously used the collections API and Java maps. Continue Reading
-
News
07 May 2020
Oracle's Project Leyden uses static images to ease Java pain
Oracle's new Project Leyden introduces static images to help ease long-standing Java language shortcomings such as slow startup times and unwieldy footprints. Continue Reading
-
Tip
25 Mar 2020
How to refactor the God object class antipattern
Loose coupling can inadvertently create a God object problem in an object-oriented software system. Here's how to get rid of the issue and simplify the design in five easy steps. Continue Reading
-
Feature
19 Mar 2020
6 top webpage performance metrics to monitor
Webpage performance is paramount for digital success. To monitor webpage performance, use these top six metrics. Continue Reading
-
Feature
28 Feb 2020
Take advantage of these 5 benefits of server-side rendering
From performance improvements to browser compatibility, here are five reasons why you should use server-side rendering technologies in your next web project. Continue Reading
-
Tip
25 Feb 2020
CSS performance optimization in 5 easy steps
Here are five CSS performance tips to help you avoid website performance problems. Continue Reading
-
Blog Post
24 Feb 2020
Top 5 benefits of client-side rendering frameworks
As the name of this site implies, we're big advocates of server-side technologies. But we also recognize that integrating client-side technologies into the web architecture can be advantageous as ... Continue Reading
-
Blog Post
21 Feb 2020
Top 3 website performance issues and how to fix them
It's amazing how even in 2020, you can visit an established organization's homepage, only to encounter serious website performance issues that could easily be fixed if the developers and designers ... Continue Reading
-
Blog Post
06 Feb 2020
Why I consider the Lenovo T430 the best laptop value around
Looking for an affordable used laptop? Check out the Lenovo T430. It's the best used laptop value around. Continue Reading
-
News
18 Apr 2019
Red Hat replaces Oracle as OpenJDK 8, OpenJDK 11 steward
Red Hat has taken control of two popular versions of the open source Java implementation, so developers can continue to build apps after Oracle's support ends. Continue Reading
-
Feature
20 Feb 2019
Convert JPEG to SVG to improve webpage performance
Vector images open the door for multiple benefits on HTML webpages. Consider SVGs instead of raster images to boost HTML speed and improve overall image clarity. Continue Reading
-
Feature
27 Dec 2017
New distributed tracing API completes the feedback loop
As apps get moved to the cloud and software has no fixed address, tracing and troubleshooting are challenges. However, a new distributed tracing API promises to simplify things. Continue Reading
-
Feature
21 Nov 2017
Trying to make DevOps work? Learn how Nike just did it.
Many organizations struggle as they transition to DevOps. But it can be a challenge making DevOps work. Here we look at how Nike applied DevOps principles and made DevOps work for them. Continue Reading
-
Feature
20 Nov 2017
How to solve JavaScript and Java performance issues
Given the complexity of client side user interfaces, along with the often limited processing power of many mobile devices, finding out ways to address JavaScript and Java performance challenges is a priority. Continue Reading
-
Guide
27 Jul 2017
Effective DevOps tooling for accelerated continuous delivery adoption
Java DevOps tooling is the key to speeding up continuous delivery adoption. This guide covers why and how to consider DevOps tools for business efficiency. Continue Reading
-
Blog Post
03 Jul 2017
Advancing JVM performance with the LLVM compiler
In this interview with TheServerSide, Gil Tene explains how the LLVM compiler brings the JVM to a whole new level of performance. Continue Reading
-
Feature
14 Jun 2017
Changing lives through improved application performance
Find out how Cure.org improved application performance management to fine tune their website, increase donations, and make a difference around the world. Continue Reading
-
Blog Post
15 Nov 2016
Developments in WebRTC: Real-Time Communication and the Transformation of Communication
Web Real-Time Communication as an API definition and framework has made a huge impact in the communications arena by empowering users to instantly share multi-media across a wide array of devices. Continue Reading
-
News
22 Sep 2016
Fight antipatterns with YAGNTI: You ain't gonna need that interface
To go along with acronyms like TAGRI and YAGNI, we'd like to add YAGNTI: You ain't gonna need that interface. Learn why that applies to JavaOne 2016. Continue Reading
-
News
20 Sep 2016
JShell: Adding REPL capabilities to the JDK
At JavaOne 2016, Oracle's chief architect of the Java platform group, Mark Reinhold, discusses the addition of JShell. Learn why he's excited. Continue Reading
-
Opinion
12 Aug 2016
Could someone please provide a proper toString() method implementation?
Why is it that twenty years after the release of Java, the lapidary toString() method still spits out nothing more than a useless hashcode? Continue Reading
-
Podcast
22 Jul 2016
Apache Arrow to revolutionize big data analytics performance
Apache Arrow will not only improve the performance of your big data analytics engines, but it will make system interoperability more efficient as well. Continue Reading
-
News
16 May 2016
Beachbody pumps up application performance monitoring tools
Costly website and app downtime spurred an application performance monitoring tools makeover at Beachbody. Learn how the fitness firm chose and deployed new APM tools. Continue Reading
-
Tip
12 Apr 2016
Lasting impacts of software failure and poor application performance
Customers have a short memory and lots of alternatives, so organizations must ensure that poor performance and software failure doesn't leave a lasting impression on users. Continue Reading
-
News
08 Dec 2015
Did Android applications save Java? Expert weighs in
Barry Burd, Java expert and author, discusses how Android applications may have brought Java back from the brink. Continue Reading
-
Feature
02 Nov 2015
Is crowdsourcing bug fixes the next big wave in quality assurance testing?
Learn how crowd sourcing can incentivize the development of bug fixes and new features for open source software. Continue Reading
-
Tip
02 Oct 2015
Are production performance problems plaguing your work?
ZeroTurnaround's Jevgeni Kabanov clarifies the three major pain points for production performance and how best to avoid them. Continue Reading
-
Podcast
25 Sep 2015
XRebel changes application performance monitoring tools
In this podcast, ZeroTurnaround's Jevgeni Kabanov discusses how XRebel differentiates itself from competing application performance monitoring tools on the market. Continue Reading
-
Podcast
09 Sep 2015
Improving developer productivity with ZeroTurnaround
In this podcast, Anton Arhipov and Geert Bevin talk about ZeroTurnaround's legacy of delivering tools that improve developer productivity. Continue Reading
-
Feature
09 Jul 2015
Addressing the SPI performance issues you don't realize you already have
New frameworks like Angular and Ember make creating applications with a single-page-interface (SPI) easier than ever. But quite often the performance feedback never gets back to the server, especially given the fact that all of that code runs on the client. Here's how to deal with the SPI performance problems you didn't know you had. Continue Reading
-
Feature
07 May 2015
A new approach to condensing data leads to a 99% compression rate
Given the enormous thirst for data, coupled with the finite existence of copper and fiber optic cables that link clients and servers together, the need for powerful compression algorithms is self-evident. Has XLABS solved the problem with a 99% rate? They just may have. Continue Reading
-
Feature
23 Mar 2015
Rethink your tooling: How to make the DevOps promise a reality
Many organizations have struggled with breaking down the wall between development and operations. Tools are not the solution to every problem that faces DevOps integration, but they can help to make the DevOps promise a reality. Is it time to rethink your DevOps tooling? Continue Reading
-
Feature
18 Mar 2015
Will ObjectLayout's StructuredArrays finally solve the Java performance problem?
Java performance has greatly improved over the years, but getting true, linear scalability has always been a problem, largely due to the way data collections are handled in memory. However, new approaches to memory management are being developed, and ObjectLayout's StructuredArrays just might make it into Java 9 or 10. Continue Reading
-
Feature
15 Jan 2015
Will value types and structured arrays be Java 9's cap feather?
Scalability and performance are always issues that dog the Java platform. But with so many lessons learned from languages like Scala and Clojure, will Java 9 take on these scalability issues by introducing immutable types like structured arrays and value types? Continue Reading
-
Tip
09 Jan 2015
The 10 most common and avoidable HTML5 mistakes
Learn about the 10 most common and most avoidable HTML5 mistakes and how best to avoid them. Continue Reading
-
Feature
26 Nov 2014
Seven ways to optimize mobile apps for improved performance
While many organizations have been developing mobile apps for years, making sure those apps are optimized in such a way that will improve performance is still a challenge. Here we look at seven simple ways organizations can optimize their mobile applications. Continue Reading
-
Feature
15 Oct 2014
Choosing the right log aggregator to mine your performance data
To maintain and improve an existing system, being able to read and understand log files is an absolute requirement. Here we look at how various logging technologies compare with each other. Continue Reading
-
Tutorial
20 Jul 2014
Integrating Ajax into your Facelets pages: Death to JSF's request-response cycle
If you're doing Facelets development, this might be the most important tutorial you will ever read. It will explain to you how to throw out that annoying request-response cycle, and explain how to integrate Ajax based JSF components with a dynamically re-rendering Facelets page snippet. Continue Reading
-
Tutorial
20 Jul 2014
Creating pages based on a JSF template: Using the Facelets ui:define tag
What do you do once you've set up a handsome page template using the Facelets functions that come with JSF 2.x? Well, you start creating new pages, meshing those ui:define tags in with ui:composition and ui:insert. It's easier than it sounds, trust me. Continue Reading
-
Tutorial
19 Jul 2014
Turning a web page into a JSF 2.0 template with Facelets
How do you take a web page and turn it into a template using Facelets as the template engine? It takes some JSF, some HTML, maybe some CSS, and lots of JSF UI tags, but overall, it's an easy and simple process if you follow this tutorial. Continue Reading
-
Tip
01 May 2014
Improving Java performance by minimizing Virtual Machine (JVM) latency
Users demand that their applications run fast, but working with Java bytecode presents optimization problems that other architectures do not encounter. Here we look at how to improve the performance of the Java Virtual Machine (JVM) by minimizing the latency involved with bytecode to native code compilation steps. Continue Reading
-
Feature
01 Mar 2014
Top five reasons why Scala might not be the right choice for your next project
There is a time and a place for everything, but is it the right time to use Scala in your next project? Sometimes sober second thought is a good thing, so if you're thinking about moving to Scala, here are a few warnings you might want to heed. Continue Reading
-
Feature
04 Oct 2013
Pros, cons of moving from Swing to JavaFX: UI tools a plus
In this Q&A, Lynden Inc. senior software architect Rob Terpilowski explains why his team found JavaFX provided richer UI tools than Swing. Continue Reading
-
Feature
09 Jan 2013
The Craigslist Dilemma: A case study for big data and NoSQL solutions
It's hard to imagine just how many postings Craigslist has handled over the years, and if you were in charge of archiving those posts and storing them for compliance, you'd need a 'big data' solution. So how does Craigslist manage all of their data, both the incoming stuff and the stuff that needs archiving? It's a beautiful combination of MySQL, NoSQL and a little help from the people at 10Gen. Continue Reading
-
Feature
01 Nov 2012
Application lifecycle management: Best practices for improving the deployment process
Nothing is more visible to both clients and senior management than an applications that doesn't work. And the risk for failure is never higher than it is the moment after deployment. So how do you ensure deployment always goes smoothly. There is no silver bullet, but there are some best practices for deployment, which we will examine in this article. Continue Reading
-
Tip
24 Oct 2012
Consistent application performance: It's not always about speed
When developing applications, the response time is always an important metric. But inconsistent response times can often be more aggravating than slow sites. Make sure you take response time consistency into your application performance reviews. Continue Reading
-
Feature
12 Jul 2012
What's the big IDE? Comparing Eclipse and NetBeans
The Java community has long debated the best IDE. Is it Eclipse or NetBeans? These are the two most popular among TherServerSide.com readers. Continue Reading
-
Feature
01 Jun 2012
Scaling Web applications with Scala, Clojure and Groovy
Scaling Web applications written in Java can be difficult due to thread concurrency and locking issues. However, immutable peripheral languages like Scala, Groovy, and Clojure can make scaling up more feasible. Continue Reading
-
Feature
26 Jan 2012
Has Computer Programming Really Changed Much Since Lovelace's Time?
Everyone always talks about these new computer programming languages, and how great one is over the other. But really, has computer programming really changed that much over time? Continue Reading
-
Tip
15 Jun 2011
Performance monitoring tools optimize Java applications
By taking advantage of Java monitoring and performance tuning tools, developers can expect to see consistent application performance across all hardware and operating systems. Continue Reading
-
Feature
30 Nov 2010
Applying control theory concepts in software applications
Control theory is a discipline originated in mathematics and engineering science but was adopted also in psychology, social sciences and other research domains. It deals with influencing the behaviour of dynamical systems. In this article it is shown that concepts of control theory can also be applied to software architectures that have a need for controlling dynamical behaviour. Software applications that react to external input in form of GUI requests, batch input or service calls are in deed dynamical systems whose behaviour depends on current event, environment and actual system state. Continue Reading