JVM Monitoring and Performance Assurance for Java-Based Banking and Trading Applications
February 15, 2018

Vinod Mohan
eG Innovations

Share this

Java is one of the most popular technologies used for application development. Tens of thousands of web and mobile applications are built on Java around the world.

Some highlights of Java's advantages include its security, scalability, portability and compatibility – among the most sought characteristics for building highly demanding and performance-sensitive applications, as seen in banking, trading, and other financial corporations. Speed is absolutely critical for these low-latency applications. If a Java-based trading application is not able to manage handling large in-memory data sets in real time, business-critical transactions will stall. Just a few milliseconds of delay can be disastrous and result in heavy financial losses.

The role of the Java Virtual Machine (JVM) in Java's server-side architecture plays a major role in memory management for these high-frequency applications. Using a process known as garbage collection, the JVM automatically frees up heap memory used by objects that are no longer referenced in the Java code.

Automating this process makes the life of a developer easier, as he/she is relieved from keeping track of free allocated memory, a time-consuming task. However, garbage collection does itself take time to execute. The more frequently it happens, the more pauses will occur in processing data. So, with too much garbage collection the transaction will likely suffer from slow performance.

Conventional JVM manufacturers are working towards reducing garbage collection pauses and ensuring that memory management is more seamless, using techniques such as concurrent, parallel and compacting garbage collection. Further, some modern JVM vendors are adopting a radically new pauseless approach to garbage collection that delivers faster processing for low-latency and memory-intensive applications.

Look for an end-to-end application performance monitoring solution that provides deep visibility into all Java performance metrics from the JVM and application container, all the way across business transactions and end-user experience

Achieving optimum JVM performance is key to ensuring proper memory management and fast application processing. According to a Cornell University study, a 1-millisecond improvement in the performance of a trading application can be worth $100 million a year to a major brokerage firm. Because of this potential for loss, IT teams owning banking, financial, trading and other Java-based applications place a high value on having a proper JVM monitoring strategy in place. A comprehensive Java performance monitoring solution will help track critical JVM metrics and alert the team to issues with garbage collection, out-of-memory errors, high CPU threads, and more.

Top JVM Performance Metrics to Monitor:

JVM Memory Management

■ Know if the heap memory has exceeded the reserved memory for the JVM

■ Monitor heap and non-heap memory and know whether the JVM is sized correctly

■ Identify specific JVM processes that are consuming high memory and/or CPU

JVM Garbage Collection

■ Number of times garbage collection happens (frequency)

■ Time taken for garbage collection

■ Memory metrics before and after garbage collection

JVM Threads

■ Track down blocked, waiting, deadlocked and high CPU threads

■ Measure wait time for each thread

■ Have access to quickly look up the stack trace and locate specific method calls that are having any exceptions

Other JVM-level Metrics

■ Monitor the number of loaded and unloaded classes

■ Continuously check JMX connectivity to the JVM

■ Keep tabs on JVM uptime and availability stats

JVM Server-level Metrics

■ For a pauseless JVM like Azul Zing, the overall reservable, contingency and pause prevention pool memory metrics are available at the operating system layer since these are shareable across multiple JVMs running on the same server. You need the ability to measure these memory metrics from the operating system.

■ Additionally, administrators need the ability to monitor the overall available memory at the server level, as well as that which is being allocated to the OS.

■ Track the health status of the JVM server and the server hardware.

Look for an end-to-end application performance monitoring solution that provides deep visibility into all Java performance metrics from the JVM and application container, all the way across business transactions and end-user experience. It gives you instant visibility into erroneous application code and errant SQL queries to facilitate code optimization. Monitor all aspects of JVM performance to ensure that the JVM works optimally and delivers fast and jitter-less application performance.

Vinod Mohan is Senior Manager, Product Marketing, at eG Innovations
Share this

The Latest

December 12, 2019

Industry experts offer thoughtful, insightful, and often controversial predictions on how APM and related technologies will evolve and impact business in 2020. Part 2 covers AIOps, AI and Machine Learning (ML) ...

December 11, 2019

As the New Year approaches, it is time for APMdigest's 10th annual list of Application Performance Management (APM) predictions. Industry experts offer thoughtful, insightful, and often controversial predictions on how APM and related technologies will evolve and impact business in 2020 ...

December 10, 2019

Enterprises with services operating in the cloud are overspending by millions due to inefficiencies with their apps and runtime environments, according to a poll conducted by Lead to Market, and commissioned by Opsani. 69 Percent of respondents report regularly overspending on their cloud budget by 25 percent or more, leading to a loss of millions on unnecessary cloud spend ...

December 09, 2019

For IT professionals responsible for upgrading users to Windows 10, it's crunch time. End of regular support for Windows 7 is nearly here (January 14, 2020) but as many as 59% say that only a portion of their users have been migrated to Windows 10 ...

December 05, 2019

Application performance monitoring (APM) has become one of the key strategies adopted by IT teams and application owners in today’s era of digital business services. Application downtime has always been considered adverse to business productivity. But in today’s digital economy, what is becoming equally dreadful is application slowdown. When an application is slow, the end user’s experience accessing the application is negatively affected leaving a dent on the business in terms of commercial loss and brand damage ...

December 04, 2019

Useful digital transformation means altering or designing new business processes, and implementing them via the people and technology changes needed to support these new business processes ...

December 03, 2019
The word "digital" is today thrown around in word and phrase like rice at a wedding and never do two utterances thereof have the same meaning. Common phrases like "digital skills" and "digital transformation" are explained in 101 different ways. The outcome of this is a predictable cycle of confusion, especially at business management level where often the answer to business issues is "more technology" ...
December 02, 2019

xMatters recently released the results of its Incident Management in the Age of Customer-Centricity research study to better understand the range of various incident management practices and how the increased focus on customer experience has caused roles across an organization to evolve. Findings highlight the ongoing challenges organizations face as they continue to introduce and rapidly evolve digital services ...

November 26, 2019

The new App Attention Index Report from AppDynamics finds that consumers are using an average 32 digital services every day — more than four times as many as they realize. What's more, their use of digital services has evolved from a conscious decision to carry around a device and use it for a specific task, to an unconscious and automated behavior — a digital reflex. So what does all this mean for the IT teams driving application performance on the backend? Bottom line: delivering seamless and world-class digital experiences is critical if businesses want to stay relevant and ensure long-term customer loyalty. Here are some key considerations for IT leaders and developers to consider ...

November 25, 2019

Through the adoption of agile technologies, financial firms can begin to use software to both operate more effectively and be faster to market with improvements for customer experiences. Making sure there is the necessary software in place to give customers frictionless everyday activities, like remote deposits, business overdraft services and wealth management, is key for a positive customer experience ...