5 APM Techniques to Troubleshoot Application Slow Down in Minutes
October 27, 2014

Payal Chakravarty
IBM

Share this

Applications are getting more complex by the day. First you have the various hosting platforms that your app can span across like private cloud, public cloud, your own data center.

Second, you have applications for the web being accessed through different browsers and mobile apps being accessed from several hundred different devices and various device OSs.

Third, the same app is being accessed from around the world, 24X7.

Fourth, the number of users accessing apps have grown significantly requiring rapid scalability of the app's infrastructure.

To top it all, users, today, have very little patience to deal with poor performance.

Application Performance Management (APM) tools have evolved over the last decade to cater to this complexity and yet be able to troubleshoot application performance issues quickly. Let us look at some of the key features and visualization techniques that are enabling quicker troubleshooting:

1. End User Experience Metrics sliced by different dimensions

As an app developer or app owner, the first step to troubleshooting a performance problem is to narrow the scope of it. By comparing how long it is taking a web page to load for a user using your app through Firefox on Mac vs how long it is taking for the same web page to load for a user using Chrome on iOS, you can narrow down which browser and device to troubleshoot on. You could also compare how long the response time is for a user in California vs a user in Australia when accessing the same page and executing the same transaction. By slicing and dicing response time by various dimensions like geography, browser, device, network carrier etc isolation of problem areas have become easier.

2. Code level stack traces

For every business transaction that fails or is slow, you can find out what line of code is causing the slowdown by looking at its stack trace. APM tools today show the class name, method name and exact line of source code (e.g., SQL query, line number of code in a specific browser session trace) that led to a slow request. Further, you can see the pre- and post-code deployment patterns for your apps.

3. Transaction Topologies

Today, APM tools can automatically discover your end-to-end distributed application environment in minutes, showing you a topological view of all the components that your app depends on and hence aid visual detection of bottlenecks. A few of these tools not only show an aggregated transaction topology, but also show the detailed topological mapping for single transaction instances, capturing network hops and sub-transaction nodes to help you see where the time is spent during that instance. With the evolution of big data technologies, it is now possible to capture 100% transactions instead of sampling. This ensures you will not lose out on any key business transactions that may have failed.

4. Log analytics

Searching for errors across application stacks can be a laborious task. Earlier, while troubleshooting, operators, administrators and app owners would have to look through logs from different components independently, in silos. With integrated log analytics, you can now search for errors across log files for any component in your app stack in the context of the application. For example, you can correlate errors in your app server with an error in your database that may be impacting a transaction.

5. One pane-of-glass to view health of all components in the app stack

As opposed to looking at multiple panes of glass to see details of your application's health, today, at a glance in one UI you will be able to visualize the detailed health of all your app components. Spotting the problem area is as easy as spotting a color difference. For example, key metrics — like Garbage collection statistics from your code's runtime, memory usage of your VM, space utilization of your database server, bandwidth utilization of your network, http request response times of your web requests — can all be seen in one user interface.

With the evolution of big data, improved algorithms for search and correlation, smart dashboards/visualization and diagnostic capabilities, APM tools have matured to provide insights that you could never have before, thereby cutting troubleshooting time from days to minutes.

Payal Chakravarty is Senior Product Manager for IBM Application Performance Management.

Share this

The Latest

May 23, 2018

To help your organization increase data center efficiency and get the most benefit out of your monitoring solutions, here are the remaining universal monitoring crimes and what you can do about them ...

May 22, 2018

Monitoring is a critical aspect of any data center operation, yet it often remains the black sheep of an organization's IT strategy: an afterthought rather than a core competency. To help your organization increase data center efficiency and get the most benefit out of your monitoring solutions, here are the top five universal monitoring crimes and what you can do about them ...

May 18, 2018

The deeper intricacies of the site reliability engineer (SRE) role are still evolving, and to gain some insights into what the role actually entails we recently conducted a survey aimed at this growing group. The role may vary from organization to organization. The commonalities we identified include the following ...

May 16, 2018

While security experts may disagree on exactly how to secure a network, one thing they all agree on is that you cannot defend against what you cannot see. In other words, network visibility IS network security. Visibility needs to be the starting the point ...

May 15, 2018

APMdigest asked experts from across the IT industry for their opinions on the essential tools to support digital transformation. Part 7, the last installment, offers some final thoughts about "tools" that are not necessarily technology ...

May 14, 2018

APMdigest asked experts from across the IT industry for their opinions on the essential tools to support digital transformation. Part 6 covers the development process ...

May 11, 2018

APMdigest asked experts from across the IT industry for their opinions on the essential tools to support digital transformation. Part 5 is all about data ...

May 10, 2018

APMdigest asked experts from across the IT industry for their opinions on the essential tools to support digital transformation. Part 4 covers communication and collaboration ...

May 09, 2018

APMdigest asked experts from across the IT industry for their opinions on the essential tools to support digital transformation. Part 3 covers analytics, AI and machine learning ...

May 08, 2018

APMdigest asked experts from across the IT industry for their opinions on the essential tools to support digital transformation. Part 2 covers the network and the cloud ...