Upload
sebastian-hensiek
View
100
Download
0
Embed Size (px)
Citation preview
REDLINE13 WEBINAR
Rich Friedman
redline13.com
1
An Introduction to Performance
Monitoring
Shantonu Sarker
shantonusarker.blogspot.com
REDLINE13 WEBINAR
What is Performance Engineering
-Monitoring
-Infrastructure Monitoring
-Application level Monitoring
-Module Level monitoring
-User Monitoring
-End to end monitoring
-APM
-Profiling
- Application Profiling
- Module Profiling & Tracing
-User Profiling
-Performance Testing
-Client Performance Testing
-Server Performance Testing
REDLINE13 WEBINAR
Performance Testing
https://atlas.mindmup.com/2016/10/62cbdc8079ea01341be304576262709a/performance_testing_are_you_ready_/index.html
REDLINE13 WEBINAR
Performance Testing
https://atlas.mindmup.com/2016/10/06d0c7d079ea01341be304576262709a/performance_requirements/index.html
REDLINE13 WEBINAR
Performance Testing
https://atlas.mindmup.com/2016/10/614a5010777301348beb4f9fbcc5c8d1/writingtestscripts/index.html
https://atlas.mindmup.com/2016/10/08ef897079f201341be304576262709a/correlation/index.html
REDLINE13 WEBINAR
Typical Client Server Architecture
REDLINE13 WEBINAR
3 tier Architecture
REDLINE13 WEBINAR
Required Monitoring
Server Side/Tire
->Server Hosts
-->CPU/Memory/Network/Disk IO
->App Server(s)
-->Application Server
-->Database Servers
-->Business Logic Layer servers
Client Side/Tire
->Browser
->Client Activity
->Client Host
-->CPU/Memory/Network/Disk IO
REDLINE13 WEBINAR
Performance Engineering : Analysis (Top -Down)
https://drive.google.com/file/d/0Bzvlm2T8LMb1OVBMSlFDWFFmUWc/view?usp=sharing
REDLINE13 WEBINAR
Performance Engineering : Analysis (bottom -up)
https://drive.google.com/file/d/0Bzvlm2T8LMb1WEdaM2dpMzRlV2c/view?usp=sharing
REDLINE13 WEBINAR
Monitoring,Sampling, Tracing
REDLINE13 WEBINAR
Client Side Monitoring At a glance
-> Browser Tools
-> Browser Plugins
-> Some other methods : http://shantonusarker.blogspot.com/2016/01/user-experience-ux-web-performance-application.html
https://chrome.google.com/webstore/detail/performance-analyser/djgfmlohefpomchfabngccpbaflcahjf?hl=en
REDLINE13 WEBINAR
Server Side Monitoring
Linux :
Perf
Top
Windows :
1.Task Manager
2.Perfmon/resource monitoring
3.Application Insights (asp.net , Azure)
REDLINE13 WEBINAR
Application Monitoring : Java StackJvisual VM
Jconsole
Java Mission Control
Jmap
JOverflow
Yourkit
JProfiler
jClarity
REDLINE13 WEBINAR
Application Monitoring : Java Stack
REDLINE13 WEBINAR
Monitoring Data Correlation with Test Results
1.How request is being processed?
2.While processing
a. How many calls
b. How much time
c. Are they are logical?
3. When test was running, how those are processed (based on user actions or scenario)
4. What time, what capacity, what throughput, how much tolerant (Error rate)
5. Pattern/ Behavior matching(sawtooth, high peak etc)
6. Profile/trace/debug to get root cause
REDLINE13 WEBINAR
Analysis Example
Tech stack :
Client : PHP/JS
Server :
->Laravel
->REST
->Mongo DB
->Redis
Env : Redhat
REDLINE13 WEBINAR
Application Performance Management : (APM)
Popular APM:
1.Dynatrace
2.NewRelic
3.AppDynamics
-End to End monitoring
-Request Tracing
-Drilling down to specific method/stage
REDLINE13 WEBINAR
Sample APM : Newrelic
REDLINE13 WEBINAR
Sample APM : Newrelic
REDLINE13 WEBINAR
Sample APM : Newrelic
REDLINE13 WEBINAR
Sample APM : Newrelic
REDLINE13 WEBINAR
Sample APM : Newrelic
REDLINE13 WEBINAR
Sample APM : Newrelic
REDLINE13 WEBINAR
Sample APM : Newrelic
REDLINE13 WEBINAR
Application Monitoring : DotNet Stack
Analysis /Profiling/Debugging:
1.System Internal tool suit
2.PerfView
3.ANTS
4.DotTrace
5.memprofiler
6.glimpse (asp.net)
7.NPerf
8.Aqtime
9.Codetrack
Collection type : https://msdn.microsoft.com/en-us/library/dd264994.aspx
Performance : https://msdn.microsoft.com/en-us/library/bb924376.aspx