Welcome!

Blog Feed Post

Transaction tracing vs. Deep-dive Monitoring

I spoke to a few customers last week about Application Performance Management (APM) and many of them are still confused about the different functionalities offered by APM products, such as transaction tracing and deep-dive monitoring. I will use screens shots from BMC Application Diagnostics as illustrations.

 

Most of today’s applications are multi-tiered and involve a multitude of systems such as application servers, databases, messaging systems or external web services.  Consider the following example of a transaction where a user bids for a product offered in an auction site.  This is based on the ActionBazaar application as depicted in my book EJB 3 in Action.

 

image001.jpg

 

(Source: EJB 3 in Action, Manning, April 2007)

 

A transaction may involve multiple application (JVM or CLR) tiers.  However, there are several applications where you have a single application tier (e.g. Java /.NET) accessing a relational database. A transaction trace is a complete log of information that depicts the interaction between application systems involved in the complete transaction.

 

Often a transaction trace provides enough data about an instance of a transaction to diagnose a latent or failed transaction. For example, a user named Bob came to ActionBazaar.com and tried to make a Bid for an old Car, but he got an obscure error (NullPointerException).  A transaction trace captured for that transaction will help application support diagnose this issue.  Hence transaction tracing is a capability to isolate transaction issues by capturing a detailed record for the transaction when a problem occurred.

 

Interestingly some APM products often refer only to cross-tier or multitier tracing capabilities as transaction tracing.  Here is an example of a transaction trace that involves multiple tiers.  We can see that the transaction trace has sufficient information about the transaction to identify the problem by showing the transaction flow (or path) for Place Bid transaction and time spent in each node.

 

image002.png

Note that some people refer the automatic discovery of transaction paths as run-time application discovery.

 

A graphical view of transaction traces helps application operation personnel identify the culprit-tier e.g. JBoss 2 VM in the above example.

 

However, application support personnel will need to further drill down to determine why a specific node is generating an error or is slow.

A transaction trace may optionally include deep-dive monitoring data for that tier to indicate why the specific node/tier is slow. It may include data such as application server metrics, the code execution path, or parameters that may help application support personnel to diagnose the issue and help fix it.

 

The following graph illustrates transaction tracing vs. deep-dive monitoring.

image004.png

The following figure shows an example of deep-dive monitoring data.  The first view suggests that the PlaceBidService running on the JBoss2 server is causing the latency issue. It also shows some top application server metrics and how these compare with baselines.  These metrics help pinpoint issues with the underlying application infrastructure.

 

image006.png

 

As you can see, it also shows how various kinds of technology frameworks contribute to the latency of PlaceBidService.

The transaction trace may also break down the time spent in DB (SQL calls), as shown below, in order to help application support personnel determine whether certain DB calls are slowing down the transaction.

 

image008.png

 

If the application support personnel understand the application code, they can drill down further to look at the method execution tree as shown below.

 

image010.png


Many products such as BMC Application Diagnostics include code level deep-dive data in the transaction trace. However some APM products require different agents to collect deep-dive data vs transaction traces, and you may have to manually correlate the transaction trace with deep-dive information.

 

I hope this provides a good background into how transaction tracing and deep-dive monitoring are related.

Read the original blog entry...

More Stories By Debu Panda

Debu Panda is a Director of Product Management at Oracle Corporation. He is lead author of the EJB 3 in Action (Manning Publications) and Middleware Management (Packt). He has more than 20 years of experience in the IT industry and has published numerous articles on enterprise Java technologies and has presented at many conferences. Debu maintains an active blog on enterprise Java at http://debupanda.blogspot.com.

Latest Stories
With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend 21st Cloud Expo October 31 - November 2, 2017, at the Santa Clara Convention Center, CA, and June 12-14, 2018, at the Javits Center in New York City, NY, and learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.
21st International Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Me...
DevOps at Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to w...
SYS-CON Events announced today that CA Technologies has been named "Platinum Sponsor" of SYS-CON's 21st International Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. CA Technologies helps customers succeed in a future where every business - from apparel to energy - is being rewritten by software. From planning to development to management to security, CA creates software that fuels transformation for companies in the applic...
@DevOpsSummit at Cloud Expo taking place Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center, Santa Clara, CA, is co-located with the 21st International Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is ...
"When we talk about cloud without compromise what we're talking about is that when people think about 'I need the flexibility of the cloud' - it's the ability to create applications and run them in a cloud environment that's far more flexible,” explained Matthew Finnie, CTO of Interoute, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
In 2014, Amazon announced a new form of compute called Lambda. We didn't know it at the time, but this represented a fundamental shift in what we expect from cloud computing. Now, all of the major cloud computing vendors want to take part in this disruptive technology. In his session at 20th Cloud Expo, Doug Vanderweide, an instructor at Linux Academy, discussed why major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform are all trying to sidestep VMs and containers wit...
In his session at @ThingsExpo, Eric Lachapelle, CEO of the Professional Evaluation and Certification Board (PECB), provided an overview of various initiatives to certify the security of connected devices and future trends in ensuring public trust of IoT. Eric Lachapelle is the Chief Executive Officer of the Professional Evaluation and Certification Board (PECB), an international certification body. His role is to help companies and individuals to achieve professional, accredited and worldwide re...
Amazon started as an online bookseller 20 years ago. Since then, it has evolved into a technology juggernaut that has disrupted multiple markets and industries and touches many aspects of our lives. It is a relentless technology and business model innovator driving disruption throughout numerous ecosystems. Amazon’s AWS revenues alone are approaching $16B a year making it one of the largest IT companies in the world. With dominant offerings in Cloud, IoT, eCommerce, Big Data, AI, Digital Assista...
When growing capacity and power in the data center, the architectural trade-offs between server scale-up vs. scale-out continue to be debated. Both approaches are valid: scale-out adds multiple, smaller servers running in a distributed computing model, while scale-up adds fewer, more powerful servers that are capable of running larger workloads. It’s worth noting that there are additional, unique advantages that scale-up architectures offer. One big advantage is large memory and compute capacity...
Both SaaS vendors and SaaS buyers are going “all-in” to hyperscale IaaS platforms such as AWS, which is disrupting the SaaS value proposition. Why should the enterprise SaaS consumer pay for the SaaS service if their data is resident in adjacent AWS S3 buckets? If both SaaS sellers and buyers are using the same cloud tools, automation and pay-per-transaction model offered by IaaS platforms, then why not host the “shrink-wrapped” software in the customers’ cloud? Further, serverless computing, cl...
You know you need the cloud, but you’re hesitant to simply dump everything at Amazon since you know that not all workloads are suitable for cloud. You know that you want the kind of ease of use and scalability that you get with public cloud, but your applications are architected in a way that makes the public cloud a non-starter. You’re looking at private cloud solutions based on hyperconverged infrastructure, but you’re concerned with the limits inherent in those technologies.
The taxi industry never saw Uber coming. Startups are a threat to incumbents like never before, and a major enabler for startups is that they are instantly “cloud ready.” If innovation moves at the pace of IT, then your company is in trouble. Why? Because your data center will not keep up with frenetic pace AWS, Microsoft and Google are rolling out new capabilities. In his session at 20th Cloud Expo, Don Browning, VP of Cloud Architecture at Turner, posited that disruption is inevitable for comp...
Internet of @ThingsExpo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devic...
IoT solutions exploit operational data generated by Internet-connected smart “things” for the purpose of gaining operational insight and producing “better outcomes” (for example, create new business models, eliminate unscheduled maintenance, etc.). The explosive proliferation of IoT solutions will result in an exponential growth in the volume of IoT data, precipitating significant Information Governance issues: who owns the IoT data, what are the rights/duties of IoT solutions adopters towards t...