web performance the base for devops?! - webperf meetup atlanta

64
Klaus Enzenhofer [email protected] #kenzenhofer Web-Performance the base for DevOps?!

Upload: klaus-enzenhofer

Post on 20-Jul-2015

159 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

1 #kenzenhofer

Klaus [email protected]#kenzenhofer

Web-Performance the base for DevOps?!

Page 2: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

2 #kenzenhofer

Performance Tools

Page 3: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

3 #kenzenhofer

Klaus [email protected]#kenzenhofer

Web-Performance the base for DevOps?!

Page 4: Web Performance the base for DevOps?! - Webperf Meetup Atlanta
Page 5: Web Performance the base for DevOps?! - Webperf Meetup Atlanta
Page 6: Web Performance the base for DevOps?! - Webperf Meetup Atlanta
Page 7: Web Performance the base for DevOps?! - Webperf Meetup Atlanta
Page 8: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

And just very recently @ Euro Song Contest

Page 9: Web Performance the base for DevOps?! - Webperf Meetup Atlanta
Page 10: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

What you should check out …

Page 11: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

11 #kenzenhofer

DevOps Team

Developer Tester Operations

Page 12: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

12 #kenzenhofer

Developer

Tester

Operations

Customer

Page 13: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

13 #kenzenhofer

The Problem

in the World

today is

COMMUNICATION

Page 14: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

14 #kenzenhofer

Metrics……the IT language

Page 15: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

15 #kenzenhofer

# of Requests Weight Response Time

Page 16: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

16 #kenzenhofer

# of Requests

Page 17: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

17 #kenzenhofer

“We want more Web 2.0”

Page 18: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

18 #kenzenhofer

Load Test Prior to Change

Page 19: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

19 #kenzenhofer

Load Test After Change

Page 20: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

20 #kenzenhofer

Page 21: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

21 #kenzenhofer

There is more than you think …Third Party Content

Our Content

Page 22: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

22 #kenzenhofer

Page 23: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

23 #kenzenhofer

Adult Industry

XXX.com

142 TPC Domains

Page 24: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

24 #kenzenhofer

Weight

Page 25: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

25 #kenzenhofer

Mobile Landing Page of Super Bowl Ad

434 Resources in total on that page:230 JPEGs, 75 PNGs, 50 GIFs, …

Total size of ~ 20MB

Page 26: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

26 #kenzenhofer

m.store.com redirects to www.store.comALL CSS and JS files are

redirected to the www domain

This is a lot of time “wasted” especially on high latency mobile

connections

Page 27: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

27 #kenzenhofer

Critical Pages not Optimized!

Browse, Search and Product Info

performs well

… because they don’t follow best practices: 87 Requests, 28

Redirects, …

Critical Pages such as Shopping Cart are very

slow …

Page 28: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

28 #kenzenhofer

Response Time

Page 29: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

29 #kenzenhofer

Did the Superbowl Investment pay off for KIA?

Page 30: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

30 #kenzenhofer

Ad

on

air

Page 31: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

31 #kenzenhoferCOMPANY CONFIDENTIAL – DO NOT DISTRIBUTE

@

1h before SuperBowl KickOff

1h after Game ended

Page 32: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

32 #kenzenhofer

The Developer‘s/Operator‘s Nightmare

Customer Support

Page 33: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

33 #kenzenhofer

The Developer‘s/Operator‘s Nightmare

Biz/Support IT Operations

Development

Fix the issue!We are losing money!

Page 34: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

34 #kenzenhofer

“Teamwork” between Dev and Ops

SEV1 Problem in Production

Need access to log files

Where are they? Can’t get them

Need to increase log level

Can’t do! Can’t change configfiles in prod!

Page 35: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

35 #kenzenhofer

A user’s contact list

Page 36: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

36 #kenzenhofer

A user’s contact list

Switch from Mail to Contacts

Visit of the user that complained

Page 37: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

37 #kenzenhofer

A user’s contact list

Error in Browser

Which JavaScript File

Line of Code

Page 38: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

38 #kenzenhofer

? ? ?

Unit/Integration

Tests

Acceptance

Tests

Capacity

Tests

ReleaseDevelopers

Page 39: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

39 #kenzenhofer

Performance Issues

Unit Tests Integration Tests

Acceptance Tests

Load Tests

Meets requirements

Responds correctly to input

Performs in acceptable time

Usability

Deployment

Achieves Correct Result

Page 40: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

40 #kenzenhofer

Basics

Metric: Test duration

I don’t like endsWith…… I like regex!

Page 41: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

41 #kenzenhofer

What is the response time?

Page 42: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

42 #kenzenhofer

The Performance Impact

Navigation Timings

This is 2012 style!

Page 43: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

43 #kenzenhofer

The Performance Impact

http://apdex.org/

0 2.0s 8.0s(4 x 2.0s)

Satisfied Tolerating Frustrated

Navigation Timings

Page 44: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

44 #kenzenhofer

Single Page Load Apps

W3C Timings Blindspots!

http://blogs.telerik.com/telerikmarketing/posts/14-05-21/everything-you-wanted-to-know-about-native-hybrid-and-web-apps-but-were-afraid-to-ask

Omni Channel Market

Navigation Timings Navigation Timings

User Action Response Time

Page 45: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

45 #kenzenhofer

Errors – Have the biggest „social“ impact!

Page 46: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

46 #kenzenhofer

User Experience Index

User Action

Response TimeErrors

Page 47: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

47 #kenzenhofer

Learn from a Users Journey

Page 48: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

48 #kenzenhofer

User Experience Index

User BehaviorUser Action

Response TimeErrors

Page 49: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

49 #kenzenhofer

Is this STILL Enough?

Bandwidth

Page 50: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

50 #kenzenhofer

User BehaviorUser Environment

User Experience Index

User Action

Response Time

Errors

Page 51: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

51 #kenzenhofer

The mobile challenge and metrics

Page 53: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

53 #kenzenhofer

We need a mobile strategy!

Page 54: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

54 #kenzenhofer

Page 56: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

56 #kenzenhoferhttp://fintalk.cdw.com/2015/01/08/financial-it-trends-banks-infographic-2015/

Page 57: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

57 #kenzenhofer

“Our customers expect the same experience throughout all our channels no matter if it is

the website, mobile site or the real physical store!”

Mike Austin, Director of e-CommerceRoomstoGo.com

Page 58: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

58 #kenzenhofer

Developer

Tester

Operations

Customer CareBusinessCustomer

Do metricsas a common language

still work?

Page 59: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

59 #kenzenhofer

Page 60: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

60 #kenzenhofer

Successfulsearches

Unsuccessful searchesbroken down by reason

Page 61: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

61 #kenzenhofer

If we do all that

Page 62: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

62 #kenzenhofer

We align Technical Goals …

80% Dev Time for Bug Fixing

$60B Costs by Defects

Page 63: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

63 #kenzenhofer

… with Business Goals

Page 64: Web Performance the base for DevOps?! - Webperf Meetup Atlanta

64 #kenzenhofer

Klaus EnzenhoferSenior Technology Strategist

#kenzenhofer

[email protected]

http://blog.dyntrace.com

Thank You!