36
Performance Engineering A trip through the Apps and Ops lifecycles Speaker: Brynley Scully @BrynleyScully Company: Hewlett Packard Enterprise Place: Singapore

Performance Engineering - A trip through the apps and ops_lifecycles

Embed Size (px)

Citation preview

Page 1: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Engineering

A trip through the Apps and Ops lifecycles

Speaker: Brynley Scully @BrynleyScully

Company: Hewlett Packard Enterprise

Place: Singapore

Page 2: Performance Engineering - A trip through the apps and ops_lifecycles

About the Speaker

Brynley Scully

Head of Testing, South East Asia

Hewlett Packard Enterprise

Testing Governance

Testing Project Delivery

Testing Pre Sales

Testing Design & Review

Testing Project Remediation

https://sg.linkedin.com/in/brynleyscully

@BrynleyScully

2

Page 3: Performance Engineering - A trip through the apps and ops_lifecycles

Today’s Roadmap

Performance Impact to Businesses

Performance Testing

Performance Engineering – A trip through the application and operations lifecycles

Performance Engineering in Dev, Test & Ops

3

OperationsLifecycle

ApplicationLifecycle

Page 4: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Impact

to Businesses

Page 5: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Impact to Businesses

5

05 July 2015. The Straits Times.

Page 6: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Impact to Businesses

6

61%

1. 1. “Failing to Meet Mobile App User Expectations. A Mobile App User Survey”. Dimensional Research and Hewlett Packard. February 2015.

of users expect mobile apps to start in 4 seconds or less.1

Page 7: Performance Engineering - A trip through the apps and ops_lifecycles

7

67%

2. “DevOps, APM and the Digital User Experience. Changing What We Know About Application Performance”. Dimensional Research and Hewlett Packard Enterprise. January 2016.

Performance Impact to Businesses

of companies do not have insight into line of code or server transactions that is causing slow performance.2

Page 8: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Impact to Businesses

83. https://www.fastcompany.com/1825005/how-one-second-could-cost-amazon-16-billion-sales

$1.6Bsales revenue loss for Amazon for one second of slowdown.3

Page 9: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Impact to Businesses

9

Time is money. The slower the app, the more money your business will lose.

Page 10: Performance Engineering - A trip through the apps and ops_lifecycles

Performance

Testing

Page 11: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Testing

11

Performance testing is sometimes an afterthought.

Did I forget something?

Page 12: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Testing

12

Product Sprint Sprint Performance DeployBacklog Backlog Backlog Test Sprint

- APPLICATION LIFECYCLE -

Requirements Design Build Test DeployAnalysis Performance

Test

- APPLICATION LIFECYCLE -

Performance testing usually:

• occurs during the application lifecycle.

• happens within a test sprint or test phase in the later part of the application lifecycle

• concludes before app deployment to production.

Page 13: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Testing

13

Select number of user transactions.

Performance modelling.

Performance test scripting.

Load test with concurrent user volume.

Measure: response times, throughput, utilization.

Page 14: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Testing

14

But, what’s missing ? Test environment hardware?

Background jobs ?

Network conditions ?

Designed for performance ?

Code built with optimization ?

Self healing triggers ?

Performance in production ?

Page 15: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Engineering -

A trip through the

Apps & Ops Lifecycles

Page 16: Performance Engineering - A trip through the apps and ops_lifecycles

DEFINE for performance

16

APPSLIFECYCLE

OPSLIFECYCLE

DEFINE

Gather business & technical requirements for app performance.

Understand business impact of app performance.

Design technical solution for performance.

Page 17: Performance Engineering - A trip through the apps and ops_lifecycles

DEVELOP app with performance

17

APPSLIFECYCLE

OPSLIFECYCLE

DEFINE

DEVELOP

Design app for easy performance tuning, in production.

Optimize code for performance.

Design and code with performance self-healing capabilities.

Load test early. By developers. Use integrated dev tools.

Page 18: Performance Engineering - A trip through the apps and ops_lifecycles

18

Optimize code for performanceHP Network Virtualization

Page 19: Performance Engineering - A trip through the apps and ops_lifecycles

19

Load test early. By developers. Use integrated dev tools.Microsoft Visual Studio

Page 20: Performance Engineering - A trip through the apps and ops_lifecycles

TEST for performance

20

APPSLIFECYCLE

OPSLIFECYCLE

DEFINE

DEVELOP

TEST

Test with peak loads.

Identify key user transactions.

Design realistic performance model.

Incorporate network latency.

Leverage on service virtualization.

Capture transaction performance metrics.

Capture server performance metrics.

Page 21: Performance Engineering - A trip through the apps and ops_lifecycles

21

Test with peak loadsHP LoadRunner

Page 22: Performance Engineering - A trip through the apps and ops_lifecycles

DEPLOY apps to production

22

APPSLIFECYCLE

OPSLIFECYCLE

DEFINE

DEVELOP

TEST

DEPLOY

Deploy to production.

Setup production real time performance monitoring.

Setup production performance event logging.

Setup synthetic app monitoring.

Page 23: Performance Engineering - A trip through the apps and ops_lifecycles

MONITOR apps in production

23

APPSLIFECYCLE

OPSLIFECYCLE

DEFINE

DEVELOP

TEST

DEPLOY

MONITOR

Run synthetic monitoring.

Performance event monitoring for apps.

Event monitoring for infrastructure.

Automated alerts to support and dev.

Devs & Testers have access to monitoring tools and data.

Understand real user experience.

Page 24: Performance Engineering - A trip through the apps and ops_lifecycles

24

Run synthetic monitoringHP AppPulse Active

Page 25: Performance Engineering - A trip through the apps and ops_lifecycles

25

Event monitoring for appsHP AppPulse Mobile

Page 26: Performance Engineering - A trip through the apps and ops_lifecycles

26

Understand real user experienceHP AppPulse Mobile

Page 27: Performance Engineering - A trip through the apps and ops_lifecycles

DIAGNOSE performance incidents

27

APPSLIFECYCLE

OPSLIFECYCLE

DEFINE

DEVELOP

TEST

DEPLOY

MONITOR

DIAGNOSE

Use tools to rapidly diagnose performance issues.

Diagnose app.

Diagnose infrastructure.

Diagnose network.

Page 28: Performance Engineering - A trip through the apps and ops_lifecycles

28

Diagnose appHP AppPulse Mobile

Page 29: Performance Engineering - A trip through the apps and ops_lifecycles

RESOLVE performance incidents

29

APPSLIFECYCLE

OPSLIFECYCLE

DEFINE

DEVELOP

TEST

DEPLOY

MONITOR

DIAGNOSE

RESOLVE

Tune, tweak performance settings.

Trigger app changes for performance issues resolution.

Performance self healing triggers.

Page 30: Performance Engineering - A trip through the apps and ops_lifecycles

CHANGE app for better performance

30

APPSLIFECYCLE

OPSLIFECYCLE

DEFINE

DEVELOP

TEST

DEPLOY

MONITOR

DIAGNOSE

RESOLVE

CHANGE

Use learnings from production to improve performance.

Redesign for better performance.

Code refactoring.

Use predictive analytics to initiate performance improvements.

Page 31: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Engineering

in Dev, Test & Ops

Page 32: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Engineering in Dev, Test & Ops

32

APPSLIFECYCLE

OPSLIFECYCLE

DEFINE

DEVELOP

TEST

DEPLOY

MONITOR

DIAGNOSE

RESOLVE

CHANGE

Performance Engineering has many touch points throughout the Apps and Ops lifecycles.

1

Page 33: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Engineering in Dev, Test & Ops

33

Performance Engineering will be successful with good use of tools and technology.

2

Page 34: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Engineering in Dev, Test & Ops

34

Faster is better. Performance Engineering drives for better performing solutions.

3

Page 35: Performance Engineering - A trip through the apps and ops_lifecycles

Performance Engineering in Dev, Test & Ops

35

Performance Engineering has many touch points throughout the Apps and Ops lifecycles.

Performance Engineering will be successful with good use of tools and technology.

Faster is better. Performance Engineering drives for better performing solutions.

3

2

1

Page 36: Performance Engineering - A trip through the apps and ops_lifecycles

Thank you

Speaker: Brynley Scully

Twitter: @BrynleyScully

LinkedIn: https://sg.linkedin.com/in/brynleyscully