Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Java Application Scalability

DZone's Guide to

Java Application Scalability

AppDynamics' Eric Smith weighed in on application scalability. Smith emphasized that several metrics influence scalability, not just memory use, CPU, and OS.

Free Resource

Evolve your approach to Application Performance Monitoring by adopting five best practices that are outlined and explored in this e-book, brought to you in partnership with BMC.

Eric Smith from AppDynamics recently released a great article on application scalability.


Essentially the main point is that the ability or effectiveness of scaling vertically/horizontally your application depends on various factors, more complex than just looking at the OS CPU and memory utilization.

Proper usage of the right tools and capture of application specific metrics are crucial in order to identify tuning opportunities. This approach will also help you determine the right initial and incremental infrastructure/middleware sizing for your on-premises or cloud production environment, reducing your client hardware/hosting costs long-term and improving ROI.

For example, if you look at your Java application LIVE data (OldGen footprint after a major collection), some applications have LIVE data which depend mainly on the concurrent load and/or active users e.g. session footprint and other long-lives cached objects. These applications will benefit well from vertical or horizontal scaling as load is split across more JVM processes and/or physical VM's, reducing pressure points on the JVM fundamentals such as the garbage collection process.

On the contrary, Java applications dealing with a large LIVE data footprint due to excessive caching, memory leaks, etc., will poorly scale since this memory footprint is "cloned" entirely or partially over the new JVM processes or physical VM's. These applications will benefit significantly from an application and JVM optimization project which can both improve the performance and scalability, thus reducing the need to "over-scale" your environment in the long-term.

Learn tips and best practices for optimizing your capacity management strategy with the Market Guide for Capacity Management, brought to you in partnership with BMC.

Topics:
java ,performance ,scalability ,appdynamics ,scaling java applications

Published at DZone with permission of Pierre - Hugues Charbonneau, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}