Digital Edition

SYS-CON.TV
DevOps Role in Troubleshooting JVM Issues | @DevOpsSummit [#DevOps]
Application developers can deploy their applications with success in a staging or QA environment

The JVM issues vary from Java OutOfMemory Error to JVM Crash. Application developers might be not completely equipped to determine the root cause of the issue, hence DevOps can play a vital role in narrowing down the issue and connecting the right people/team to rectify the problem.

Application developers can deploy their applications with success in a staging or QA environment and broadcast that the application is working fine. However, the staging or QA environment is not completely identical with production at - least with respect to load. Due to huge load, the application can behave differently. In order to prevent an occurrence of these kinds of scenarios, it is a good practice to engage a DevOps team [with right JVM skills] to proactively analyze the running application. Proactive engagement of a DevOps team will be beneficial for the organization and for the development team as well.

As a proactive engagement, the DevOps team needs to conduct an analysis on the collected memory snapshot.The memory snapshot can be gathered at regular intervals time and multiple samples of the same, so that a good picture of what is happening internally is known.

By employing appropriate JVM diagnostics tools, the DevOps team can provide recommendations to application developers with respect to memory consumption, memory reserved or memory wasted in Java collections.The topmost consumer of Java Heap memory, classes loaded, object promotion rate,object liveness, object references and many more details can be shared with application developers proactively. These in-depth details will provide application developers with insight into the application behavior and help identify any potential issues.

Apart from conducting memory-related analysis, the DevOps team can look into the performance of the application and determine the root cause of the degraded performance (if any). With regard to this, employing the right tool and conducting analysis on Garbage Collection activities will reveal whether the poor performance is due to GC or outside of the GC. The Memory Analyzer tool, which is available as a plugin to Eclipse, can be employed to conduct memory-related analysis and gather enough information. In the same pattern, the plugin " Garbage Collection Memory Visualizer" can be employed to conduct analysis on verbose GC data.

As a case study I would like to share one of the scenarios that we encountered in our organization and how we isolated the issue before engaging the right team to fix it. One of our customers upgraded to the latest application release from a previous release and noticed a significant performance degradation in the throughput. As a first step, we confirmed the customer's claim by reproducing the reported issue in our environment. Having a local reproduction environment provided us with various opportunities to try out various things when narrowing down the issue. After the first level of analysis, we confirmed the area or component that was contributing to the observed behavior and a command-line parameter was recommended to workaround the issue.The provided recommendation was tested in our local reproduction environment with success and this gave us the confidence that the  issue can be overcome with the current recommendation.

On further analysis, we engaged the appropriate tool to determine the percentage of time consumed and captured the snapshots with the latest release and the previous release where the issue was not noticed.This level of analysis revealed the exact area where more time was spent. Once these snapshots were shared with the development team, the development team's task was much easier as the area of code was already narrowed down for fixing.This way, we isolated the issue and helped the customer overcome the problem.

About ChandraShekar Dattatreya
Chandra Shekara Dattatreya is a DevOps guy working in a Fortune-500 company and has 10+ years' of experience debugging JVM-related issues. In the course of debugging, he has encountered multiple scenarios from various customers and provided solutions to all of them with success. In his current role, he is engaged in identifying and resolving JVM-related issues for an e-commerce company.



ADS BY GOOGLE
Subscribe to the World's Most Powerful Newsletters

ADS BY GOOGLE

Modern software design has fundamentally changed how we manage applications, causing many to turn to...
In this presentation, you will learn first hand what works and what doesn't while architecting and d...
In an era of historic innovation fueled by unprecedented access to data and technology, the low cost...
In his session at 20th Cloud Expo, Mike Johnston, an infrastructure engineer at Supergiant.io, discu...
Everyone wants the rainbow - reduced IT costs, scalability, continuity, flexibility, manageability, ...
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing w...
Founded in 2000, Chetu Inc. is a global provider of customized software development solutions and IT...
DevOpsSummit New York 2018, colocated with CloudEXPO | DXWorldEXPO New York 2018 will be held Novemb...
Most DevOps journeys involve several phases of maturity. Research shows that the inflection point wh...
SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 1...
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018,...
Dynatrace is an application performance management software company with products for the informatio...
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22...
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, ...
Today, we have more data to manage than ever. We also have better algorithms that help us access our...
Bill Schmarzo, author of "Big Data: Understanding How Data Powers Big Business" and "Big Data MBA: D...
A valuable conference experience generates new contacts, sales leads, potential strategic partners a...
DXWorldEXPO LLC announced today that ICOHOLDER named "Media Sponsor" of Miami Blockchain Event by Fi...
SYS-CON Events announced today that IoT Global Network has been named “Media Sponsor” of SYS-CON's @...
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news an...