APM Overview: Diagnosing Slow Applications

Terry Slattery discusses how application performance monitoring tools can help provide visibility and how to decide if APM is right for your business.

Terry Slattery

June 8, 2018

4 Min Read
NetworkComputing logo in a gray background | NetworkComputing

Is a slow application due to the network, an overloaded server, a poorly written database query, a bug in a client-side JavaScript module, or something else? Increasingly complex application stacks make it difficult to diagnose a slow application. Application Performance Monitoring (APM) suites can provide visibility that is difficult to obtain using other tools.

Application performance monitoring

APM suites are typically large systems that collect and analyze lots of data about an application. The volume of collected data can be huge. The user interfaces are necessarily complex because they must allow the administrator to identify and relate the data comprising complex interactions between all the elements of an application.

I like to think of APM suites as “WireShark on steroids.” They collect a lot of detailed data that has to be correlated and analyzed. It helps if the APM suite has a library of known applications that allow you to jump-start the analysis (the Epic medical record system comes to mind). If you need to map a new application, then expect to spend some time on it. It helps to have a couple of people dedicated to the project.

Dedicate a couple of people? Yes. These systems are big, complex, and expensive. But what they can do is amazing, so spending the money and time to deploy them provides big benefits. Look at the Gartner report Magic Quadrant for Application Performance Monitoring Suites to find a list of vendors and a general description of their suite. Most vendors have a good list of case studies that give you a good idea of their power.

null

monitoring.jpg

The data collection engines differ from product to product. The Cisco Tetration system uses server-based software agents and network-based NetFlow collectors to gather the first 160 bytes of every packet sent and received by every server that’s instrumented. RiverBed’s AppResponse depends on network taps and packet brokers to capture packets for analysis. Any APM works best if it has data feeds from as many servers as possible, so make sure to include generous estimates for deployment.

Because of the complexity of these tools, it is also a good idea to include some consulting expertise from the vendor or an approved resource. You can think of the consulting as just-in-time, on-the-job training that quickly makes you productive.

APM in the cloud

Moving applications to a public cloud infrastructure can complicate application monitoring. Virtual appliances, plug-ins, and server agents are being provided by many APM vendors to provide packet capture and analysis within cloud deployments. You may need to work with your potential APM vendor to identify a valid strategy for your cloud architecture.

Alternatives to APM suites

APM suites, because of their size, complexity, and expense, are typically products that appeal to larger enterprises. What are smaller organizations supposed to do?

Are there a few alternatives to a full-blown APM suite, offering less functionality at a lower price point? One class of products perform active path tests. AppNeta and NetScout come to mind as examples. These tests are based on synthetic transactions that simulate parts of an application. For example, a simple test might be to login to a web site and simulate the ordering of a particular product. Variations in the time for each step in the process can identify when a particular part of the system is not functioning correctly. Unfortunately, because these tools operate at a high level, it is frequently not possible to determine exactly what is causing the malfunction.

These tools are good at determining if a problem exists and the extent of the problem. With the right set of tests configured, they are also able to determine if there is a network problem or if slowness is due to something else. I recommend alternatives to full-blown APM suites in cases where the organization is relatively small and is running a standard set of applications (i.e., no complex, custom applications).

Is APM right for your organization?

APM is definitely valuable to organizations that develop their own applications. In this case, look for suites that include software internal function analysis. If the applications used by a business are from an external vendor, then things are less clear. Customizable applications or applications that rely on multiple tiers of servers will benefit from the visibility provided by a full-blown APM suite. Smaller enterprises that use stock applications will likely benefit more from the deployment of active path testing products.

This article originally appeared on the NetCraftsmen blog.

 

About the Author

Terry Slattery

Principal Architect, NetCraftsmenTerry Slattery is a principal architect at NetCraftsmen, an advanced network consulting firm that specializes in high-profile and challenging network consulting jobs. Terry is currently working on network management, SDN, business strategy consulting, and interesting legal cases. He is the founder of Netcordia, inventor of NetMRI, has been a successful technology innovator in networking during the past 20 years, and is co-inventor on two patents. He has a long history of network consulting and design work, including some of the first Cisco consulting and training. As a consultant to Cisco, he led the development of the current Cisco IOS command line interface. Prior to Netcordia, Terry founded Chesapeake Computer Consultants, which became a Cisco premier training and consulting partner. At Chesapeake, he co-invented and patented the v-LAB system to provide hands-on access to real hardware for the hands-on component of internetwork training classes.Terry co-authored the successful McGraw-Hill text "Advanced IP Routing in Cisco Networks," is the second CCIE (1026) awarded, and is a regular speaker at Enterprise Connect and Interop.

SUBSCRIBE TO OUR NEWSLETTER
Stay informed! Sign up to get expert advice and insight delivered direct to your inbox

You May Also Like


More Insights