SlideShare a Scribd company logo
1 of 26
Download to read offline
Take Control of
Application Performance
Jon C. Hodgson
Technical Director, Advanced Technology Group
APM Subject Matter Expert
“Hidden in Plain Sight”
© 2015 Riverbed Technology. All rights reserved. 2
App
Java App Server
OS TCP/IP Stack
VMware
Apache
LAN
Web
.NET Worker
Process
IIS Web Server
OS TCP/IP Stack
WAN
Client Browser
Remote Calls
Web Service,
DB etc.
Code Processing
Queuing
Hypervisor Oversubscription
Network/Bandwidth/Latency
Code Processing
Queuing
Request Payload
Network/Bandwidth/Latency
BEGIN
Code Processing
Network/Bandwidth/Latency
Code
Processing
Response Payload
Network/Bandwidth/Latency
END
Page Render Time
Packets
Code
Instrumentation
Metrics
Packets
CodeInstrumentation
Metrics
Packets
EUE
Anatomy of a Transaction
© 2015 Riverbed Technology. All rights reserved. 3
Crash Course: Application Architecture
VMware Hypervisor
Physical OS Resources (CPU, RAM, I/O etc.)
Operating SystemOperating System Guest Operating SystemGuest Operating System
OS Resources (CPU, RAM, I/O etc.) OS Resources (CPU, RAM, I/O etc.)
Operating System
OS Resources (CPU, RAM, I/O etc.)
java.exe
OS Process
Java JVM (OS Process)
w3wp.exe
OS Process
.NET CLR (OS Process)
JVM Heap (Reserved RAM) CLR Heap (Reserved RAM)
Java Code .NET Code
.NET ApplicationJava Application
© 2015 Riverbed Technology. All rights reserved. 4
The Flaw of
Averages & Aggregates
© 2015 Riverbed Technology. All rights reserved. 5
The Flaw of Averages
A classic example of the
Flaw of Averages
involves the Statistician who
drowned crossing a river that
was, on average, 3 ft. deep
Source: The Flaw of Averages: Why We Underestimate Risk in the Face of Uncertainty
by Sam L. Savage, with illustrations by Jeff Danziger – http://flawofaverages.com
© 2015 Riverbed Technology. All rights reserved. 6
CPU Aggregation
0
50
100
0
50
100
0
50
100
0
50
100
0
50
100
Core 1
Core 2
Core 3
Core 4
Host
CPU
Average
Runaway Thread
Runaway Thread
(Hyperthreading)
Intermittent
CPU Spikes
`
Overloaded
Host
© 2015 Riverbed Technology. All rights reserved. 7
CPU Aggregation
0
50
100
0
50
100
0
50
100
0
50
100
0
50
100
Core 1
Core 2
Core 3
Core 4
Host
CPU
Average
Runaway Thread
Runaway Thread
(Hyperthreading)
Intermittent
CPU Spikes
Overloaded
Host
© 2015 Riverbed Technology. All rights reserved. 8
Data Granularity
1 sec
Runaway Thread
Runaway Thread
(Hyperthreading)
Intermittent
CPU Spikes
Overloaded
Host
0
50
100
0
50
100
15 sec
Sampled
0
50
100
15 sec
Averaged
© 2015 Riverbed Technology. All rights reserved. 9
Case Study:
It’s Not the Database…
…Or Is It?
© 2015 Riverbed Technology. All rights reserved. 10
§ Customer’s application was running very slowly
§ Everything looked fine on the app server & database server
§ Database CPU was very low, using only 8.4% CPU
Pcpu time args
8.4 41:41 oracle
(DESCRIPTION=(LOCAL=NO)(SDU=1521))
“It’s not the database”
© 2015 Riverbed Technology. All rights reserved. 11
Database CPU — Disaggregated
Aggregate
CPU Load ~ 9% Average
At any given moment, a single CPU is pegged at 100%
while the others are mostly idle.
Why is the aggregate ~ 9%?
Why is oracle the top process with only 8.4% utilization?
ANSWER:
100% CPU / 12 CPUs = 8.3%
It was the database after all!
CPULoadofCPUs1-12(Scale0-100%)
© 2015 Riverbed Technology. All rights reserved. 12
Case Study:
Forgotten freeware
claims 10,000 CPUs
© 2015 Riverbed Technology. All rights reserved. 13
Customer noticed a CPU Spike hopping from core to core with AppInternals:
Hidden in Plain Sight
© 2015 Riverbed Technology. All rights reserved. 14
§ The top process was a freeware sysadmin utility, with 6.25% CPU
§ 100% CPU / 16 CPUs = 6.25% CPU
§ This utility, running on Windows 2008 servers, had not been updated since
2003
§ It was part of the default build on 10,000+ servers
Hidden in Plain Sight
© 2015 Riverbed Technology. All rights reserved. 15
…you’ll see this everywhere
Now That You Know…
Android Phone
Dual Core XP
Quad Core Windows 7
8 Core Win 2012
© 2015 Riverbed Technology. All rights reserved. 16
The Power of Big Data
© 2015 Riverbed Technology. All rights reserved. 17
REMOVING THE HAYSTACK
© 2015 Riverbed Technology. All rights reserved. 18
“Slowest” Not Always “Worst”
2x slower, few transactions
12x slower, many transactions
“Slowest”“Worst”
© 2015 Riverbed Technology. All rights reserved. 19
Case Study:
Remote Dependency Blues
© 2015 Riverbed Technology. All rights reserved. 20
§ 3x production load test against 100 servers lasting 3 hours
– 7 million front-end transactions with tens of millions of backend calls
– All captured by AppInternals with call tree details
§ They could never reach their performance goals
Scalability Testing for Government ComplianceThroughput(hits/second)
Expected Behavior
Throughput would stall & then
repeatedly trash until the
entire environment was reset
© 2015 Riverbed Technology. All rights reserved. 21
§ Application Development identified GetQuotes.jws as the root cause
§ The team that owned that web service disputed the finding
– Another APM product had previously identified this as well
– This was dismissed as a “Red Herring”
Remote Dependency: GetQuotes.jws
© 2015 Riverbed Technology. All rights reserved. 22
Big Data Reveals a Back-End Pattern
Transactions which call GetQuotes.jws
This pattern correlates with the load trashing
This pattern precedes
every burst of traffic
Transactions which do not call GetQuotes.jws
These do not show any relationship to the issue
Throughput Stall & trashing
AppInternals
ResponseTime(s)
Load
Generator
Throughput
§ AppInternals clearly proved that GetQuotes.jws was the root cause of the thrash
§ The Application Owner used this information to force the web service team to
take ownership of their issue
© 2015 Riverbed Technology. All rights reserved. 23
§ Multiple applications
were affected
§ Dozens of transaction
types were degraded
§ Months of effort was
previously wasted
chasing phantoms
Business Impact
© 2015 Riverbed Technology. All rights reserved. 24© 2015 Riverbed Technology. All rights reserved. 24
Key Takeaways
Troubleshoot in the context of the entire stack
Averages, aggregates & sampling can mask issues
Learn to spot tell-tale patterns
“Slowest” is not always “Worst”
Leverage Big Data approaches to eliminate noise
© 2015 Riverbed Technology. All rights reserved. 25
Try instantly at www.appinternals.com
No Installation Required!
Thank You
© 2015 Riverbed Technology. All rights reserved. 26

More Related Content

What's hot

The Need for Unified Performance Management
The Need for Unified Performance ManagementThe Need for Unified Performance Management
The Need for Unified Performance ManagementRiverbed Technology
 
SteelCentral Portal Take the War Out of the War Room
SteelCentral Portal Take the War Out of the War RoomSteelCentral Portal Take the War Out of the War Room
SteelCentral Portal Take the War Out of the War RoomRiverbed Technology
 
Are you REALLY ready for the cloud?
Are you REALLY ready for the cloud?Are you REALLY ready for the cloud?
Are you REALLY ready for the cloud?Riverbed Technology
 
Riverbed Performance Management
Riverbed Performance ManagementRiverbed Performance Management
Riverbed Performance ManagementCTI Group
 
Learn how Intuit created an application-aware network performance platform
Learn how Intuit created an application-aware network performance platformLearn how Intuit created an application-aware network performance platform
Learn how Intuit created an application-aware network performance platformRiverbed Technology
 
Presentation riverbed steelhead appliance main 2010
Presentation   riverbed steelhead appliance main 2010Presentation   riverbed steelhead appliance main 2010
Presentation riverbed steelhead appliance main 2010chanwitcs
 
Steelhead DX for Datacenter-to-Datacenter optimization
Steelhead DX for Datacenter-to-Datacenter optimizationSteelhead DX for Datacenter-to-Datacenter optimization
Steelhead DX for Datacenter-to-Datacenter optimizationRiverbed Technology
 
Riverbed SteelCentral AppResponse 9.0 NetProfiler and NetShark 10.6
Riverbed SteelCentral AppResponse 9.0 NetProfiler and NetShark 10.6Riverbed SteelCentral AppResponse 9.0 NetProfiler and NetShark 10.6
Riverbed SteelCentral AppResponse 9.0 NetProfiler and NetShark 10.6Riverbed Technology
 
Riverbed Remote Office/Branch Office IT Survey
Riverbed Remote Office/Branch Office IT SurveyRiverbed Remote Office/Branch Office IT Survey
Riverbed Remote Office/Branch Office IT SurveyRiverbed Technology
 
How to deploy AppInternals in azure
How to deploy AppInternals in azureHow to deploy AppInternals in azure
How to deploy AppInternals in azureIan Downard
 
Riverbed Business Value Snapshot
Riverbed Business Value SnapshotRiverbed Business Value Snapshot
Riverbed Business Value SnapshotRiverbed Technology
 
SteelCentral Network Planning and Configuration Management (NPCM)
SteelCentral Network Planning and Configuration Management (NPCM)SteelCentral Network Planning and Configuration Management (NPCM)
SteelCentral Network Planning and Configuration Management (NPCM)Riverbed Technology
 
Cascade 10.5: Visibility & Control
Cascade 10.5: Visibility & ControlCascade 10.5: Visibility & Control
Cascade 10.5: Visibility & ControlRiverbed Technology
 
Are your apps chasing users away? How to deliver superior Digital Experiences
Are your apps chasing users away? How to deliver superior Digital ExperiencesAre your apps chasing users away? How to deliver superior Digital Experiences
Are your apps chasing users away? How to deliver superior Digital ExperiencesRiverbed Technology
 
Modernizing Edge IT with Riverbed SteelFusion
Modernizing Edge IT with Riverbed SteelFusionModernizing Edge IT with Riverbed SteelFusion
Modernizing Edge IT with Riverbed SteelFusionRiverbed Technology
 
Riverbed at Microsoft TechEd 2014
Riverbed at Microsoft TechEd 2014Riverbed at Microsoft TechEd 2014
Riverbed at Microsoft TechEd 2014Riverbed Technology
 
Application-Aware Network Performance Management
Application-Aware Network Performance ManagementApplication-Aware Network Performance Management
Application-Aware Network Performance ManagementRiverbed Technology
 
Digital Experience Management—The Key to Delivering Exceptional Digital Exper...
Digital Experience Management—The Key to Delivering Exceptional Digital Exper...Digital Experience Management—The Key to Delivering Exceptional Digital Exper...
Digital Experience Management—The Key to Delivering Exceptional Digital Exper...Riverbed Technology
 
Expand the Business Value of Riverbed Solutions with New Optimize Services
Expand the Business Value of Riverbed Solutions with New Optimize ServicesExpand the Business Value of Riverbed Solutions with New Optimize Services
Expand the Business Value of Riverbed Solutions with New Optimize ServicesRiverbed Technology
 

What's hot (20)

The Need for Unified Performance Management
The Need for Unified Performance ManagementThe Need for Unified Performance Management
The Need for Unified Performance Management
 
SteelCentral Portal Take the War Out of the War Room
SteelCentral Portal Take the War Out of the War RoomSteelCentral Portal Take the War Out of the War Room
SteelCentral Portal Take the War Out of the War Room
 
Are you REALLY ready for the cloud?
Are you REALLY ready for the cloud?Are you REALLY ready for the cloud?
Are you REALLY ready for the cloud?
 
Riverbed Performance Management
Riverbed Performance ManagementRiverbed Performance Management
Riverbed Performance Management
 
Learn how Intuit created an application-aware network performance platform
Learn how Intuit created an application-aware network performance platformLearn how Intuit created an application-aware network performance platform
Learn how Intuit created an application-aware network performance platform
 
Presentation riverbed steelhead appliance main 2010
Presentation   riverbed steelhead appliance main 2010Presentation   riverbed steelhead appliance main 2010
Presentation riverbed steelhead appliance main 2010
 
Steelhead DX for Datacenter-to-Datacenter optimization
Steelhead DX for Datacenter-to-Datacenter optimizationSteelhead DX for Datacenter-to-Datacenter optimization
Steelhead DX for Datacenter-to-Datacenter optimization
 
Riverbed SteelCentral AppResponse 9.0 NetProfiler and NetShark 10.6
Riverbed SteelCentral AppResponse 9.0 NetProfiler and NetShark 10.6Riverbed SteelCentral AppResponse 9.0 NetProfiler and NetShark 10.6
Riverbed SteelCentral AppResponse 9.0 NetProfiler and NetShark 10.6
 
Riverbed Remote Office/Branch Office IT Survey
Riverbed Remote Office/Branch Office IT SurveyRiverbed Remote Office/Branch Office IT Survey
Riverbed Remote Office/Branch Office IT Survey
 
How to deploy AppInternals in azure
How to deploy AppInternals in azureHow to deploy AppInternals in azure
How to deploy AppInternals in azure
 
Riverbed Business Value Snapshot
Riverbed Business Value SnapshotRiverbed Business Value Snapshot
Riverbed Business Value Snapshot
 
SteelCentral Network Planning and Configuration Management (NPCM)
SteelCentral Network Planning and Configuration Management (NPCM)SteelCentral Network Planning and Configuration Management (NPCM)
SteelCentral Network Planning and Configuration Management (NPCM)
 
Cascade 10.5: Visibility & Control
Cascade 10.5: Visibility & ControlCascade 10.5: Visibility & Control
Cascade 10.5: Visibility & Control
 
Are your apps chasing users away? How to deliver superior Digital Experiences
Are your apps chasing users away? How to deliver superior Digital ExperiencesAre your apps chasing users away? How to deliver superior Digital Experiences
Are your apps chasing users away? How to deliver superior Digital Experiences
 
Modernizing Edge IT with Riverbed SteelFusion
Modernizing Edge IT with Riverbed SteelFusionModernizing Edge IT with Riverbed SteelFusion
Modernizing Edge IT with Riverbed SteelFusion
 
Riverbed at Microsoft TechEd 2014
Riverbed at Microsoft TechEd 2014Riverbed at Microsoft TechEd 2014
Riverbed at Microsoft TechEd 2014
 
Application-Aware Network Performance Management
Application-Aware Network Performance ManagementApplication-Aware Network Performance Management
Application-Aware Network Performance Management
 
Digital Experience Management—The Key to Delivering Exceptional Digital Exper...
Digital Experience Management—The Key to Delivering Exceptional Digital Exper...Digital Experience Management—The Key to Delivering Exceptional Digital Exper...
Digital Experience Management—The Key to Delivering Exceptional Digital Exper...
 
Expand the Business Value of Riverbed Solutions with New Optimize Services
Expand the Business Value of Riverbed Solutions with New Optimize ServicesExpand the Business Value of Riverbed Solutions with New Optimize Services
Expand the Business Value of Riverbed Solutions with New Optimize Services
 
RiOS 8.5 launch presentation
RiOS 8.5 launch presentationRiOS 8.5 launch presentation
RiOS 8.5 launch presentation
 

Viewers also liked

Riverbed and HPE Services for Office 365
Riverbed and HPE Services for Office 365Riverbed and HPE Services for Office 365
Riverbed and HPE Services for Office 365Riverbed Technology
 
Why and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureWhy and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureRiverbed Technology
 
Riverbed White Paper - Simulated Packet Loss
Riverbed White Paper - Simulated Packet LossRiverbed White Paper - Simulated Packet Loss
Riverbed White Paper - Simulated Packet LossMohd Syafiq Ramlee
 
Accessibilité numérique et Industrialisation @Orange
Accessibilité numérique et Industrialisation @Orange Accessibilité numérique et Industrialisation @Orange
Accessibilité numérique et Industrialisation @Orange vincent aniort
 
Expect More Value. Get More Value.
Expect More Value. Get More Value.Expect More Value. Get More Value.
Expect More Value. Get More Value.Riverbed Technology
 
Tcp congestion control
Tcp congestion controlTcp congestion control
Tcp congestion controlAbdo sayed
 
Enhancing and Operating Video Collaboration with your Network
Enhancing and Operating Video Collaboration with your NetworkEnhancing and Operating Video Collaboration with your Network
Enhancing and Operating Video Collaboration with your NetworkCisco Canada
 
F5 Solutions for Service Providers
F5 Solutions for Service ProvidersF5 Solutions for Service Providers
F5 Solutions for Service ProvidersBAKOTECH
 

Viewers also liked (9)

Riverbed and HPE Services for Office 365
Riverbed and HPE Services for Office 365Riverbed and HPE Services for Office 365
Riverbed and HPE Services for Office 365
 
Why and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureWhy and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in Azure
 
Riverbed White Paper - Simulated Packet Loss
Riverbed White Paper - Simulated Packet LossRiverbed White Paper - Simulated Packet Loss
Riverbed White Paper - Simulated Packet Loss
 
Accessibilité numérique et Industrialisation @Orange
Accessibilité numérique et Industrialisation @Orange Accessibilité numérique et Industrialisation @Orange
Accessibilité numérique et Industrialisation @Orange
 
Expect More Value. Get More Value.
Expect More Value. Get More Value.Expect More Value. Get More Value.
Expect More Value. Get More Value.
 
Tcp congestion control
Tcp congestion controlTcp congestion control
Tcp congestion control
 
SteelHead 8.6
SteelHead 8.6SteelHead 8.6
SteelHead 8.6
 
Enhancing and Operating Video Collaboration with your Network
Enhancing and Operating Video Collaboration with your NetworkEnhancing and Operating Video Collaboration with your Network
Enhancing and Operating Video Collaboration with your Network
 
F5 Solutions for Service Providers
F5 Solutions for Service ProvidersF5 Solutions for Service Providers
F5 Solutions for Service Providers
 

Similar to Exposing and Fixing Common App Performance Problems

Real World Problem Solving Using Application Performance Management 10
Real World Problem Solving Using Application Performance Management 10Real World Problem Solving Using Application Performance Management 10
Real World Problem Solving Using Application Performance Management 10CA Technologies
 
Architecting and Tuning IIB/eXtreme Scale for Maximum Performance and Reliabi...
Architecting and Tuning IIB/eXtreme Scale for Maximum Performance and Reliabi...Architecting and Tuning IIB/eXtreme Scale for Maximum Performance and Reliabi...
Architecting and Tuning IIB/eXtreme Scale for Maximum Performance and Reliabi...Prolifics
 
Nonfunctional Testing: Examine the Other Side of the Coin
Nonfunctional Testing: Examine the Other Side of the CoinNonfunctional Testing: Examine the Other Side of the Coin
Nonfunctional Testing: Examine the Other Side of the CoinTechWell
 
Monitoring_and_Managing_Peopelsoft_Resources-Namrata Zalewski
Monitoring_and_Managing_Peopelsoft_Resources-Namrata ZalewskiMonitoring_and_Managing_Peopelsoft_Resources-Namrata Zalewski
Monitoring_and_Managing_Peopelsoft_Resources-Namrata ZalewskiNamrata Zalewski
 
Systematic Load Testing of Web Applications
Systematic Load Testing of Web ApplicationsSystematic Load Testing of Web Applications
Systematic Load Testing of Web ApplicationsJürg Stuker
 
GlobalsDB: Its significance for Node.js Developers
GlobalsDB: Its significance for Node.js DevelopersGlobalsDB: Its significance for Node.js Developers
GlobalsDB: Its significance for Node.js DevelopersRob Tweed
 
Become a Performance Diagnostics Hero
Become a Performance Diagnostics HeroBecome a Performance Diagnostics Hero
Become a Performance Diagnostics HeroTechWell
 
Starting Your DevOps Journey – Practical Tips for Ops
Starting Your DevOps Journey – Practical Tips for OpsStarting Your DevOps Journey – Practical Tips for Ops
Starting Your DevOps Journey – Practical Tips for OpsDynatrace
 
ScalabilityAvailability
ScalabilityAvailabilityScalabilityAvailability
ScalabilityAvailabilitywebuploader
 
Performance Testing using LoadRunner
Performance Testing using LoadRunnerPerformance Testing using LoadRunner
Performance Testing using LoadRunnerKumar Gupta
 
Server Monitoring (Scaling while bootstrapped)
Server Monitoring  (Scaling while bootstrapped)Server Monitoring  (Scaling while bootstrapped)
Server Monitoring (Scaling while bootstrapped)Ajibola Aiyedogbon
 
VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver
VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver
VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver VMworld
 
Serverless meetup Auckland #6
Serverless meetup Auckland #6Serverless meetup Auckland #6
Serverless meetup Auckland #6Myles Henaghan
 
Application Performance Lecture
Application Performance LectureApplication Performance Lecture
Application Performance LectureVishwanath Ramdas
 
The Good, the Bad and the Ugly of Migrating Hundreds of Legacy Applications ...
 The Good, the Bad and the Ugly of Migrating Hundreds of Legacy Applications ... The Good, the Bad and the Ugly of Migrating Hundreds of Legacy Applications ...
The Good, the Bad and the Ugly of Migrating Hundreds of Legacy Applications ...Josef Adersberger
 
Migrating Hundreds of Legacy Applications to Kubernetes - The Good, the Bad, ...
Migrating Hundreds of Legacy Applications to Kubernetes - The Good, the Bad, ...Migrating Hundreds of Legacy Applications to Kubernetes - The Good, the Bad, ...
Migrating Hundreds of Legacy Applications to Kubernetes - The Good, the Bad, ...QAware GmbH
 
Case Study: Verizon Wireless: Chasing the Yellow Before They Turn Red
Case Study: Verizon Wireless: Chasing the Yellow Before They Turn RedCase Study: Verizon Wireless: Chasing the Yellow Before They Turn Red
Case Study: Verizon Wireless: Chasing the Yellow Before They Turn RedCA Technologies
 
T3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of ExcellenceT3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of Excellenceveehikle
 
Performance Analysis of Idle Programs
Performance Analysis of Idle ProgramsPerformance Analysis of Idle Programs
Performance Analysis of Idle Programsgreenwop
 

Similar to Exposing and Fixing Common App Performance Problems (20)

Real World Problem Solving Using Application Performance Management 10
Real World Problem Solving Using Application Performance Management 10Real World Problem Solving Using Application Performance Management 10
Real World Problem Solving Using Application Performance Management 10
 
Architecting and Tuning IIB/eXtreme Scale for Maximum Performance and Reliabi...
Architecting and Tuning IIB/eXtreme Scale for Maximum Performance and Reliabi...Architecting and Tuning IIB/eXtreme Scale for Maximum Performance and Reliabi...
Architecting and Tuning IIB/eXtreme Scale for Maximum Performance and Reliabi...
 
Nonfunctional Testing: Examine the Other Side of the Coin
Nonfunctional Testing: Examine the Other Side of the CoinNonfunctional Testing: Examine the Other Side of the Coin
Nonfunctional Testing: Examine the Other Side of the Coin
 
Monitoring_and_Managing_Peopelsoft_Resources-Namrata Zalewski
Monitoring_and_Managing_Peopelsoft_Resources-Namrata ZalewskiMonitoring_and_Managing_Peopelsoft_Resources-Namrata Zalewski
Monitoring_and_Managing_Peopelsoft_Resources-Namrata Zalewski
 
Systematic Load Testing of Web Applications
Systematic Load Testing of Web ApplicationsSystematic Load Testing of Web Applications
Systematic Load Testing of Web Applications
 
GlobalsDB: Its significance for Node.js Developers
GlobalsDB: Its significance for Node.js DevelopersGlobalsDB: Its significance for Node.js Developers
GlobalsDB: Its significance for Node.js Developers
 
Become a Performance Diagnostics Hero
Become a Performance Diagnostics HeroBecome a Performance Diagnostics Hero
Become a Performance Diagnostics Hero
 
Starting Your DevOps Journey – Practical Tips for Ops
Starting Your DevOps Journey – Practical Tips for OpsStarting Your DevOps Journey – Practical Tips for Ops
Starting Your DevOps Journey – Practical Tips for Ops
 
ScalabilityAvailability
ScalabilityAvailabilityScalabilityAvailability
ScalabilityAvailability
 
Performance Testing using LoadRunner
Performance Testing using LoadRunnerPerformance Testing using LoadRunner
Performance Testing using LoadRunner
 
Server Monitoring (Scaling while bootstrapped)
Server Monitoring  (Scaling while bootstrapped)Server Monitoring  (Scaling while bootstrapped)
Server Monitoring (Scaling while bootstrapped)
 
VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver
VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver
VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver
 
Serverless meetup Auckland #6
Serverless meetup Auckland #6Serverless meetup Auckland #6
Serverless meetup Auckland #6
 
Application Performance Lecture
Application Performance LectureApplication Performance Lecture
Application Performance Lecture
 
The Good, the Bad and the Ugly of Migrating Hundreds of Legacy Applications ...
 The Good, the Bad and the Ugly of Migrating Hundreds of Legacy Applications ... The Good, the Bad and the Ugly of Migrating Hundreds of Legacy Applications ...
The Good, the Bad and the Ugly of Migrating Hundreds of Legacy Applications ...
 
Migrating Hundreds of Legacy Applications to Kubernetes - The Good, the Bad, ...
Migrating Hundreds of Legacy Applications to Kubernetes - The Good, the Bad, ...Migrating Hundreds of Legacy Applications to Kubernetes - The Good, the Bad, ...
Migrating Hundreds of Legacy Applications to Kubernetes - The Good, the Bad, ...
 
Case Study: Verizon Wireless: Chasing the Yellow Before They Turn Red
Case Study: Verizon Wireless: Chasing the Yellow Before They Turn RedCase Study: Verizon Wireless: Chasing the Yellow Before They Turn Red
Case Study: Verizon Wireless: Chasing the Yellow Before They Turn Red
 
T3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of ExcellenceT3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of Excellence
 
Google App Engine
Google App EngineGoogle App Engine
Google App Engine
 
Performance Analysis of Idle Programs
Performance Analysis of Idle ProgramsPerformance Analysis of Idle Programs
Performance Analysis of Idle Programs
 

Recently uploaded

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 

Recently uploaded (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 

Exposing and Fixing Common App Performance Problems

  • 1. Take Control of Application Performance Jon C. Hodgson Technical Director, Advanced Technology Group APM Subject Matter Expert “Hidden in Plain Sight”
  • 2. © 2015 Riverbed Technology. All rights reserved. 2 App Java App Server OS TCP/IP Stack VMware Apache LAN Web .NET Worker Process IIS Web Server OS TCP/IP Stack WAN Client Browser Remote Calls Web Service, DB etc. Code Processing Queuing Hypervisor Oversubscription Network/Bandwidth/Latency Code Processing Queuing Request Payload Network/Bandwidth/Latency BEGIN Code Processing Network/Bandwidth/Latency Code Processing Response Payload Network/Bandwidth/Latency END Page Render Time Packets Code Instrumentation Metrics Packets CodeInstrumentation Metrics Packets EUE Anatomy of a Transaction
  • 3. © 2015 Riverbed Technology. All rights reserved. 3 Crash Course: Application Architecture VMware Hypervisor Physical OS Resources (CPU, RAM, I/O etc.) Operating SystemOperating System Guest Operating SystemGuest Operating System OS Resources (CPU, RAM, I/O etc.) OS Resources (CPU, RAM, I/O etc.) Operating System OS Resources (CPU, RAM, I/O etc.) java.exe OS Process Java JVM (OS Process) w3wp.exe OS Process .NET CLR (OS Process) JVM Heap (Reserved RAM) CLR Heap (Reserved RAM) Java Code .NET Code .NET ApplicationJava Application
  • 4. © 2015 Riverbed Technology. All rights reserved. 4 The Flaw of Averages & Aggregates
  • 5. © 2015 Riverbed Technology. All rights reserved. 5 The Flaw of Averages A classic example of the Flaw of Averages involves the Statistician who drowned crossing a river that was, on average, 3 ft. deep Source: The Flaw of Averages: Why We Underestimate Risk in the Face of Uncertainty by Sam L. Savage, with illustrations by Jeff Danziger – http://flawofaverages.com
  • 6. © 2015 Riverbed Technology. All rights reserved. 6 CPU Aggregation 0 50 100 0 50 100 0 50 100 0 50 100 0 50 100 Core 1 Core 2 Core 3 Core 4 Host CPU Average Runaway Thread Runaway Thread (Hyperthreading) Intermittent CPU Spikes ` Overloaded Host
  • 7. © 2015 Riverbed Technology. All rights reserved. 7 CPU Aggregation 0 50 100 0 50 100 0 50 100 0 50 100 0 50 100 Core 1 Core 2 Core 3 Core 4 Host CPU Average Runaway Thread Runaway Thread (Hyperthreading) Intermittent CPU Spikes Overloaded Host
  • 8. © 2015 Riverbed Technology. All rights reserved. 8 Data Granularity 1 sec Runaway Thread Runaway Thread (Hyperthreading) Intermittent CPU Spikes Overloaded Host 0 50 100 0 50 100 15 sec Sampled 0 50 100 15 sec Averaged
  • 9. © 2015 Riverbed Technology. All rights reserved. 9 Case Study: It’s Not the Database… …Or Is It?
  • 10. © 2015 Riverbed Technology. All rights reserved. 10 § Customer’s application was running very slowly § Everything looked fine on the app server & database server § Database CPU was very low, using only 8.4% CPU Pcpu time args 8.4 41:41 oracle (DESCRIPTION=(LOCAL=NO)(SDU=1521)) “It’s not the database”
  • 11. © 2015 Riverbed Technology. All rights reserved. 11 Database CPU — Disaggregated Aggregate CPU Load ~ 9% Average At any given moment, a single CPU is pegged at 100% while the others are mostly idle. Why is the aggregate ~ 9%? Why is oracle the top process with only 8.4% utilization? ANSWER: 100% CPU / 12 CPUs = 8.3% It was the database after all! CPULoadofCPUs1-12(Scale0-100%)
  • 12. © 2015 Riverbed Technology. All rights reserved. 12 Case Study: Forgotten freeware claims 10,000 CPUs
  • 13. © 2015 Riverbed Technology. All rights reserved. 13 Customer noticed a CPU Spike hopping from core to core with AppInternals: Hidden in Plain Sight
  • 14. © 2015 Riverbed Technology. All rights reserved. 14 § The top process was a freeware sysadmin utility, with 6.25% CPU § 100% CPU / 16 CPUs = 6.25% CPU § This utility, running on Windows 2008 servers, had not been updated since 2003 § It was part of the default build on 10,000+ servers Hidden in Plain Sight
  • 15. © 2015 Riverbed Technology. All rights reserved. 15 …you’ll see this everywhere Now That You Know… Android Phone Dual Core XP Quad Core Windows 7 8 Core Win 2012
  • 16. © 2015 Riverbed Technology. All rights reserved. 16 The Power of Big Data
  • 17. © 2015 Riverbed Technology. All rights reserved. 17 REMOVING THE HAYSTACK
  • 18. © 2015 Riverbed Technology. All rights reserved. 18 “Slowest” Not Always “Worst” 2x slower, few transactions 12x slower, many transactions “Slowest”“Worst”
  • 19. © 2015 Riverbed Technology. All rights reserved. 19 Case Study: Remote Dependency Blues
  • 20. © 2015 Riverbed Technology. All rights reserved. 20 § 3x production load test against 100 servers lasting 3 hours – 7 million front-end transactions with tens of millions of backend calls – All captured by AppInternals with call tree details § They could never reach their performance goals Scalability Testing for Government ComplianceThroughput(hits/second) Expected Behavior Throughput would stall & then repeatedly trash until the entire environment was reset
  • 21. © 2015 Riverbed Technology. All rights reserved. 21 § Application Development identified GetQuotes.jws as the root cause § The team that owned that web service disputed the finding – Another APM product had previously identified this as well – This was dismissed as a “Red Herring” Remote Dependency: GetQuotes.jws
  • 22. © 2015 Riverbed Technology. All rights reserved. 22 Big Data Reveals a Back-End Pattern Transactions which call GetQuotes.jws This pattern correlates with the load trashing This pattern precedes every burst of traffic Transactions which do not call GetQuotes.jws These do not show any relationship to the issue Throughput Stall & trashing AppInternals ResponseTime(s) Load Generator Throughput § AppInternals clearly proved that GetQuotes.jws was the root cause of the thrash § The Application Owner used this information to force the web service team to take ownership of their issue
  • 23. © 2015 Riverbed Technology. All rights reserved. 23 § Multiple applications were affected § Dozens of transaction types were degraded § Months of effort was previously wasted chasing phantoms Business Impact
  • 24. © 2015 Riverbed Technology. All rights reserved. 24© 2015 Riverbed Technology. All rights reserved. 24 Key Takeaways Troubleshoot in the context of the entire stack Averages, aggregates & sampling can mask issues Learn to spot tell-tale patterns “Slowest” is not always “Worst” Leverage Big Data approaches to eliminate noise
  • 25. © 2015 Riverbed Technology. All rights reserved. 25 Try instantly at www.appinternals.com No Installation Required!
  • 26. Thank You © 2015 Riverbed Technology. All rights reserved. 26