redline13 webinar: an introduction to performance testing

26
REDLINE13 WEBINAR Rich Friedman redline13.com 1 An Introduction to Performance Monitoring Shantonu Sarker shantonusarker.blogspot.com

Upload: sebastian-hensiek

Post on 23-Jan-2018

100 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Rich Friedman

redline13.com

1

An Introduction to Performance

Monitoring

Shantonu Sarker

shantonusarker.blogspot.com

Page 2: RedLine13 Webinar: An Introduction to Performance Testing

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

Page 3: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Performance Testing

https://atlas.mindmup.com/2016/10/62cbdc8079ea01341be304576262709a/performance_testing_are_you_ready_/index.html

Page 4: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Performance Testing

https://atlas.mindmup.com/2016/10/06d0c7d079ea01341be304576262709a/performance_requirements/index.html

Page 5: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Performance Testing

https://atlas.mindmup.com/2016/10/614a5010777301348beb4f9fbcc5c8d1/writingtestscripts/index.html

https://atlas.mindmup.com/2016/10/08ef897079f201341be304576262709a/correlation/index.html

Page 6: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Typical Client Server Architecture

Page 7: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

3 tier Architecture

Page 8: RedLine13 Webinar: An Introduction to Performance Testing

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

Page 9: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Performance Engineering : Analysis (Top -Down)

https://drive.google.com/file/d/0Bzvlm2T8LMb1OVBMSlFDWFFmUWc/view?usp=sharing

Page 10: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Performance Engineering : Analysis (bottom -up)

https://drive.google.com/file/d/0Bzvlm2T8LMb1WEdaM2dpMzRlV2c/view?usp=sharing

Page 11: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Monitoring,Sampling, Tracing

Page 12: RedLine13 Webinar: An Introduction to Performance Testing

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

Page 13: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Server Side Monitoring

Linux :

Perf

Top

Windows :

1.Task Manager

2.Perfmon/resource monitoring

3.Application Insights (asp.net , Azure)

Page 14: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Application Monitoring : Java StackJvisual VM

Jconsole

Java Mission Control

Jmap

JOverflow

Yourkit

JProfiler

jClarity

Page 15: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Application Monitoring : Java Stack

Page 16: RedLine13 Webinar: An Introduction to Performance Testing

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

Page 17: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Analysis Example

Tech stack :

Client : PHP/JS

Server :

->Laravel

->REST

->Mongo DB

->Redis

Env : Redhat

Page 18: RedLine13 Webinar: An Introduction to Performance Testing

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

Page 19: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Sample APM : Newrelic

Page 20: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Sample APM : Newrelic

Page 21: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Sample APM : Newrelic

Page 22: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Sample APM : Newrelic

Page 23: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Sample APM : Newrelic

Page 24: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Sample APM : Newrelic

Page 25: RedLine13 Webinar: An Introduction to Performance Testing

REDLINE13 WEBINAR

Sample APM : Newrelic

Page 26: RedLine13 Webinar: An Introduction to Performance Testing

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