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

June 19, 2019

In a post-apocalyptic world, shopping carts filled with items sit motionless in aisles, left abandoned by the humans who have mysteriously disappeared. At least that’s the cliche scene depicted by sci-fi filmmakers over the past two decades. The audience is left to wonder what happened to force people to stop what they were doing and leave everything behind. If this past weekend was any indication, Armageddon begins when Target's cash registers shut down ...

June 18, 2019

Three-quarters of organizations surveyed by Gartner increased customer experience (CX) technology investments in 2018 ...

June 17, 2019

Users today expect a more consumer-like experience and many self-service web sites are too focused on automating the submission of tickets and presenting long, technically written knowledge articles with little to no focus on UX. Understanding the need for a more modern experience, a newer concept called "self-help" now dominates the conversation in its ability to provide a more deliberate knowledge experience approach that better engages the user and dramatically improves the odds of them finding an answer ...

June 13, 2019

Establishing a digital business is top-of-mind, even more so than last year, as 91% of organizations have adopted or have plans to adopt a digital-first strategy, according to IDG Communications Digital Business Research ...

June 12, 2019

If digital transformation is to succeed at the pace enterprises demand, IT teams, the CIOs who lead them, and the boardroom must forge a far greater alignment than presently exists. That is the over-arching sentiment expressed by IT professionals in a recent survey on the state of IT infrastructure and roadblocks to digital success ...

June 11, 2019

Given the incredible amount of traffic traversing corporate WANs, it's not surprising that businesses are seeing performance issues. If anything, it's amazing applications work as well as they do ...

June 10, 2019

Are your business applications sluggish? Choppy? Prone to getting hung up or crashing at the most inopportune times? If these symptoms sound familiar, you might be suffering from the heartache of … poor application performance. Stop me if any of this sounds familiar ...

June 06, 2019
AIOps Exchange, a not-for-profit private forum defining the future of AIOps, published <span style="font-style: italic;">The AIOps Manifesto</span> discussing the role of AI in supporting digital transformation ...
June 05, 2019

As network transformation initiatives like SD-WAN, edge computing and public/private clouds are adopted at increasing rates, hybrid networks are quickly becoming the new normal for IT and NetOps professionals.Without visibility into these hybrid network environments, NetOps are unable to troubleshoot the business-critical applications every organization relies on today. Here are four ways IT and NetOps teams can gain better visibility into complex, hybrid networks ...

June 04, 2019

A minimum Internet Performance Bar exists that, if met, should deliver top-tier website performance, regardless of industry, according to the 2019 Digital Experience Performance Benchmark Report, from ThousandEyes, a comparative analysis of web, infrastructure and network performance metrics from the top 20 US digital retail, travel and media websites ...