Weitere ähnliche Inhalte Ähnlich wie How to avoid Java and .Net Application Performance Issues using Business Transaction Tracing (20) Mehr von eG Innovations (20) Kürzlich hochgeladen (20) How to avoid Java and .Net Application Performance Issues using Business Transaction Tracing1. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
How to Avoid Java and .NET
Application Performance Issues
Using Business Transaction Tracing
Transaction Tracing in
Unified Monitoring
Environments
2. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Moderator
Natalie Tomko
Digital Marketing Manager
eG Innovations
Natalie.tomko@eginnovations.com
3. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Logistics
§ Please submit your questions at any time
during the webinar using the questions panel
on the GoToWebinar client.
§ This webinar is being recorded. You will
receive a link to the recording in a few days.
§ A copy of this presentation is posted on
Slideshare:
http://www.slideshare.net/eginnovations/
4. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Today’s presenter
John Worthington
Director, Product Marketing
eG Innovations
John.worthington@eginnovations.com
5. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
About eG Innovations
Faster diagnosis and resolution of
performance problems
Enhanced service delivery and user
satisfaction
Maximum business productivity
and cost savings
Accelerated IT deployments and
production rollouts
Transform IT Service Delivery
into Business Advantage
Worldwide Locations
Global Headquarters: Singapore
US Headquarters: New Jersey
Founded in 2001
eG Innovations is a provider of enterprise-class IT performance management
software that delivers end-to-end monitoring, diagnosis, reporting, and
analytics across physical, virtual, cloud, and hybrid IT environments
www.eginnovations.com
6. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Why customers come to us...
• 75% of IT organizations are suffering
from degraded business applications
– IDC Research
• 70% of the time, IT organizations learn
about performance problems from
end-users
- Gartner
• 31% of performance issues take more
than a month to resolve or are never
resolved
- Forrester
Why is my
application
slow?!!!
7. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
What we do...
eG Enterprise takes measurements at every layer of every component of
an end-to-end IT service, learns the norms of all measurements, and
through patented analytics automatically isolates which layer of which
component is the source of an anomaly.
Today we do this across any cloud deployment model and from code to
bare metal.
8. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Agenda
• What is APM and why do
we need it
• Business Transaction
Monitoring
• APM/IPM convergence and
Unified Monitoring
• Conclusion
9. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
WHAT IS APM AND WHY DO WE
NEED IT
Transaction Tracing in Unified Monitoring Environments
10. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
What is APM?
Application Performance Management (APM) is the
monitoring and management of the performance
and availability of software applications.
APM strives to detect and diagnose complex
application performance problems to maintain an
expected level of service 1
1 Wikipedia
11. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Why do we need it...
• 73% of businesses are experiencing productivity losses
due to slow application performance
‘Slow’ is the New Down
• Average total cost of unplanned application downtime
per year is $1.25–2.5 billion
• Average cost of a critical application failure per hour is
$500,000 to $1 million
The Most Dreaded ‘Application Downtime’
12. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Digital transformation is everywhere
• Nearly three quarters (74%) of IT decision makers
are currently carrying out digital transformation
initiatives, with a further 23% planning to over
the next three years 1
1 Connectivity 2018 Benchmark Report, MuleSoft
13. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Importance of End User Experience
• In 2016, a Gartner survey
revealed that 89% of business
leaders viewed customer
experience as the primary
basis for competition1
• Last year 75% of companies
said their top objective was to
improve customer experience2
1 Gartner Predicts a Customer Experience Battlefield; February 18, 2015
2 Five Trends Shaping The Future Of Customer Experience In 2018; Forbes
14. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
User Experience Monitoring
• Both real and synthetic user monitoring are needed
Use Cases RUM Synthetic
Determine user satisfaction: know what users are seeing in real
time
Identify root cause of real-time website issues
Visualize real user transaction to measure front-end vs. network
vs. server response time
Analytics: Trend patterns of user activity, locations, browsers,
device types
Monitor transaction performance
Test new feature before deployment, or before entering new
market
Test with simulated workloads to establish baselines of web
performance
Detect website/web application if up and running 24x7
15. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
APM characteristics
• Digital user experience
monitoring
• Business transaction
tracing and application
code-level visibility
• Application topology
discovery and dependency
visualization
• Deep dive diagnostics into
application and supporting
infrastructure
• Application analytics and
reporting
16. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
REAL USER MONITORING
Transaction Tracing in Unified Monitoring Environments
17. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Real User Monitoring (RUM)
• RUM provides overall user experience and provides a
breakdown of the time taken to complete the user
transaction:
• If the server response time is
high, RUM cannot tell you why
ü Transaction monitoring is required for
visibility into the application server
environment
ü Identify the area of slowness:
it is the browser, the network,
the content or backend server
infrastructure?
18. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Who uses RUM?
Persona Responsibilities
CMO
• Ensure high traffic, and conversion on website and web application services
• Minimize bounce rate and improve engagement
• Responsible to drive leads and revenue
Use Case:
• Monitoring of website KPIs (page load times, APDEX (user experience), traffic, trending,
etc.)
• Situational awareness of availability and performance from an end user perspective
• Ensure RUM KPIs are linked with business critical-to-quality (CTQ) touch points
• Analysis and improvement of customer/user journey across digital business services
Persona Responsibilities
Developers
(Web and
Mobile)
• Need to capture and rectify code-level issues, such as bugs, slow queries, crashes,
inefficient or erroneous code
• Need to understand dependency on third-party services that impact application code
Use Case:
• Testing of different platforms, browsers, etc.
• Evaluate behavior during peak demand/load
• Visualize data across multiple users/sessions, geography, time-of-day, etc.
19. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
RUM Licensing & Deployment
• Every website that is monitored with RUM will
require one eG application monitor license:
– Multiple load balanced servers for a web site: 1
license
• There is no limit to number of users connecting to
the web site or number of user transactions
monitored.
20. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
LIVE DEMO
Real User Monitoring
21. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
BUSINESS TRANSACTION
MONITORING
Transaction Tracing in Unified Monitoring Environments
22. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Business Transaction Monitoring
• Business transaction monitoring is the approach
commonly used to identify and diagnose server-
side processing slowness in websites and web
applications
– Visualize business transactions across all the tiers of
an application architecture (Java, .NET)
– Tag-and-follow to trace a transaction across different
JVMs all the way to database and back
– Easily identify transactions that are slow, stalled and
having errors
– Get response time split by each JVM tier for
distributed SOA applications
23. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Who uses transaction tracing?
Persona Responsibilities
Application
Owner/
LOB Owner
• Drive application strategy to meet business outcomes
• Ensure application availability, performance and functionality to meet expected service
levels
• Understand customer demand from the application and ensure great user experience
Use Case:
• Analysis and improvement of customer/user journey across digital business services
• Link business outcomes to underlying digital business service performance
Persona Responsibilities
Developers
(Web and
Mobile)
• Need to capture and rectify code-level issues, such as bugs, slow queries, crashes,
inefficient or erroneous code
• Need to understand dependency on third-party services that impact application code
Use Case:
• Diagnose server-side processing slowness in websites and web applications; i.e., business
logic, database queries, web service calls to 3rd parties or external components
• Isolation of code-level issues
• Optimize code and/or database queries
• Isolate which application tier is causing slowness
24. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Java Business Transaction Monitoring –
Supported Technologies
Java Component Supported Platforms & Technologies
Java Runtime Environments Java 1.5 and above including Java 8 (both 32-bit and 64-bit)
Application Containers
Apache Tomcat, JBoss EAP, JBoss AS, WildFly, Oracle WebLogic, IBM
WebSphere, Spring Boot
Web Frameworks JSP, JSF, Servlets, Spring MVC, Apache Struts
Middleware Components
Java EE (EJB, JMS, RMI, JDBC, JavaMail, LDAP, JPA, Jolt, SAP JCO), Spring
Application Framework
Web Services Protocols HTTP, SOAP, JAX-WS, JAX-RS, RESTful services
Web Services Implementations Apache Axis, Apache CXF, Jersey, Spring WS, Spring RS
Data Access Framework
Implementations
OpenJPA, Hibernate, iBATIS, Spring Data
Messaging Middleware Apache ActiveMQ, JBossMQ (HornetQ), WebLogic JMS
Databases
Oracle, SQL Server, MySQL, IBM DB2, IBM Informix, Postgres, MariaDB,
HSQLDB
Async and External Programs Runtime.exec()
Enterprise Applications JD Edwards EnterpriseOne, SAP NetWeaver, Oracle PeopleSoft
25. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Licensing
• There is no separate licensing for JTM. One eG agent is
needed on every physical/virtual server that is running a
Java application server
• Unlike some competitor’s per-JVM licensing, eG
Enterprise’s per-server licensing is highly cost-effective
JVM 1
JVM 2
JVM 3
JVM 4
JVM 5
JVM 1
JVM 2
JVM 3
JVM 4
JVM 5
Server Server Server Server
5 Licenses Needed with competitor Only 2 Licenses Needed in eG Enterprise
26. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
.NET Business Transaction Monitoring –
Supported Technologies
.NET Component Supported Platforms & Technologies
Runtime Environment
ASP.NET 2.0, 3.0, 3.5, 4.0, 4.5, 4.6
ASP.NET MVC 2, 3, 4, 5
Web Server IIS Server 7.0, 7.5, 8.0, 8.5, 10
Web Framework Open Web Interface for .NET (OWIN) web API
Remote Procedure Calls HTTP, Web Service, WCF
Data Access Framework ADO.NET, ODP.NET
Databases SQL Server, Oracle, and other ADO.NET clients
Enterprise Applications Microsoft SharePoint, Microsoft Dynamics CRM
27. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Licensing BTM for .NET Web Apps
Windows Server
IIS Server
CLR 1 CLR 2
Web App 1
Web
App 2
• Requires one eG Agent license for each Windows OS
instance hosting .NET CLRs
eG Agent License
• Multiple websites/web apps can
be monitored with one license
• Each website/web app is
monitored as a separate IIS Web
component in the eG Manager
Web
App 3
28. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
How it works...
• Uses byte code instrumentation: Injects a piece of
Java code into the JVM at runtime.
– Pre-requisite: A .jar file must be configured to pre-load in
every JVM that needs to be monitored.
• Every transaction passing through the JVM is tagged
with a unique GUID by the injected code, so it can be
followed through and traced across every tier of the
application architecture.
Use of web services APIs, JMX support and byte code instrumentation...
...non-invasive tracing approach – no need to change the application
code in production to instrument monitoring
29. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
How it works...
Web Server
Web Server
App Server
App Server
App Server
App Server
Database
Database
Load
Balancer
N
e
t
w
o
r
k
User Accessing
Website or Web
Application
Byte code instrumentation
injects code into every
JVM at load time.
Injected code adds GUID to
each unique transaction for
tag-and-follow tracing.
Multi-Tiered JVMs
30. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Types of Code-Level Issues Identified
Transaction
States
Out-of-the-Box Response Time Thresholds
• Transaction has been executed within the slow threshold of 4 secs
• Transaction execution has exceeded the slow threshold of 4 secs
• Transaction execution has exceeded the stalled threshold of 60 secs
• There were exceptions found while processing the Java code. View
the stack trace to identify where it has happened in the code.
*An exception is an event that disrupts the normal flow of the
program. Exceptions are thrown at runtime.
Note: All out-of-the-box transaction response time thresholds can be
modified to meet custom criteria.
31. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
LIVE DEMO
Transaction Tracing
32. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Transaction tracing benefits
• Enhanced user experience for web applications
• Reduced downtime and increased application
availability
• Digital business transactions are critical parts of
the user journey, transaction tracing helps
visualize business transaction flow
• Transaction tracing enables service teams to
quickly identify and measure transactions and
Critical to Quality (CTQ) ‘touch points’
• Proactive problem detection enables quicker
debugging and mean-time-to-resolution (MTTR)
• Reduce IT costs and improve business
productivity
“..we were able to easily drill
down to the list of threads that
were in a blocked state,
including the stack trace which
helped us analyze which part of
the code was blocking the
threads. This allowed us to
identify and close performance
issues in our application which
otherwise would have taken a
lot of time to analyze...”
33. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
APM/IPM CONVERGENCE AND
UNIFIED MONITORING
Transaction Tracing in Unified Monitoring Environments
34. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Server
Infrastructure
Health
Application Processes
TCP
Network
Operating System
Application
Infrastructure Health
Server/Container
JVM
From Transactions to Infrastructure Deep-Dive
Business
Transaction Health
App hosted on
Container
CUSTOM
If there are bottlenecks on the server / in the application, transactions will be slow.
Hence, Java application performance management requires monitoring of:
35. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Who uses converged APM/IPM?
Persona Responsibilities
Application
Owner/
LOB Owner
• Drive application strategy to meet business outcomes
• Ensure application availability, performance and functionality to meet expected service
levels
• Understand customer demand from the application and ensure great user experience
Use Case:
• Business capacity management linkage to service/component capacity management
• Financial management of cloud resources
Persona Responsibilities
ALL • Cross-domain and across all service lifecycle stages
Use Case:
RUM, Transaction Tracing Use Case PLUS:
• Discover application-to-VM and/or application-to-cloud dependencies for problem
isolation and dependency management
• Cross-tier visibility across all domains and components
• Auto-diagnosis across every layer of every tier
• Optimize and right-size infrastructure
• Service and component capacity management
36. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
LIVE DEMO
Infrastructure Monitoring
37. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Unified Monitoring and Transaction Tracing
End-to-end visibility and automated diagnosis
across user experience, transactions, application
code, database, and the underlying physical,
virtual, and cloud infrastructures
38. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
APM and Unified Monitoring
Dev Test Stage Prod
Unified Monitoring
• Reach across all tiers
• Depth throughout each tier
• Speed of diagnosis
• Most APM tools offer user experience monitoring
and transaction tracing capabilities
• Transaction tracing is only one dimension of APM
• APM by itself will not enable unified monitoring and
automated diagnosis across the entire digital
business service ecosystem
39. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Unified Monitoring with eG Enterprise
eG Enterprise is a full-stack application performance
monitoring (APM) solution that provides holistic visibility
and performance analysis of end-user experience,
business transactions, application code, and
infrastructure dependencies
– all from a single pane of glass
40. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
eG Enterprise
A Single-Pane-of-Glass Monitoring Solution
Questions?
41. © eG Innovations, Inc | www.eginnovations.com© eG Innovations, Inc | www.eginnovations.com
Thank You!
www.eginnovations.com/freetrial
info@eginnovations.com +1 (866) 526 6700