Slide 1

Slide 1 text

Peter Hedenskog Monitoring web performance using Open Source tools

Slide 2

Slide 2 text

Peter Hedenskog @soulislove [email protected]

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

• Open source vs Proprietary • Why? • Open Source Toolbox • Demo: dashboard + Wikimedia Monitoring performance

Slide 6

Slide 6 text

Open Source vs. Proprietary Software

Slide 7

Slide 7 text

Catchpoint Keynote by Dynatrace SpeedCurve Proprietary

Slide 8

Slide 8 text

@soulislove Proprietary

Slide 9

Slide 9 text

@soulislove Proprietary

Slide 10

Slide 10 text

@soulislove Proprietary

Slide 11

Slide 11 text

Open Source

Slide 12

Slide 12 text

WebPageTest sitespeed.io Grafana Graphite/InfluxDB Open Source

Slide 13

Slide 13 text

Open Source

Slide 14

Slide 14 text

Open Source

Slide 15

Slide 15 text

Open Source

Slide 16

Slide 16 text

Open Source

Slide 17

Slide 17 text

Lets talk performance

Slide 18

Slide 18 text

80-90% of the end-user response time is spent on the front end.

Slide 19

Slide 19 text

Front end developers?

Slide 20

Slide 20 text

front end dev

Slide 21

Slide 21 text

front end dev

Slide 22

Slide 22 text

front end dev

Slide 23

Slide 23 text

front end dev

Slide 24

Slide 24 text

front end dev

Slide 25

Slide 25 text

With great power …

Slide 26

Slide 26 text

comes great responsibility!

Slide 27

Slide 27 text

Monitor performance

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

Monitoring tool

Slide 32

Slide 32 text

The toolbox

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

Rules using YSlow Selenium HAR Browsertime Firefox Chrome Safari Internet Explorer WebPageTest GPSI WPT NodeJS API PhantomJS/SlimerJS gpagespeed BrowserMobProxy JSON http://www.example.com JSON HTML Graphite http://www.example.com http://www.example.com http://www.example.com post tasks whatever output you want

Slide 35

Slide 35 text

• sitespeed.io > 37k Docker pulls • graphite > 14k Docker pulls • npm: > 134k downloads 2015

Slide 36

Slide 36 text

this.is.my.metric 12 timestamp Graphite

Slide 37

Slide 37 text

Grafana

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

xvfb

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

We take from the rich and give to the poor

Slide 44

Slide 44 text

Installation

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

No content

Slide 49

Slide 49 text

clear

Slide 50

Slide 50 text

No content

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

No content

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

No content

Slide 55

Slide 55 text

What should we monitor?

Slide 56

Slide 56 text

“I like thinking big.” Donald Trump

Slide 57

Slide 57 text

“Think small” Peter Hedenskog

Slide 58

Slide 58 text

§ 3rd party script

Slide 59

Slide 59 text

“Infrastructure and code managed by someone else” Guy Podjarny (Akamai) Velocity 2014

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

No content

Slide 64

Slide 64 text

http://dashboard.sitespeed.io/dashboard/db/3rd-party-america-airlines

Slide 65

Slide 65 text

Competition

Slide 66

Slide 66 text

http://dashboard.sitespeed.io/dashboard/db/compare-multiple-sites

Slide 67

Slide 67 text

One page

Slide 68

Slide 68 text

http://dashboard.sitespeed.io/dashboard/db/metrics-for-one-page-american-airlines-home-page

Slide 69

Slide 69 text

Summary of a site

Slide 70

Slide 70 text

http://dashboard.sitespeed.io/dashboard/db/summary-of-a-site-america-airlines

Slide 71

Slide 71 text

Custom Metrics

Slide 72

Slide 72 text

http://dashboard.sitespeed.io/dashboard/db/user-timing-and-custom-metrics

Slide 73

Slide 73 text

WebPageTest

Slide 74

Slide 74 text

http://dashboard.sitespeed.io/dashboard/db/using-webpagetest

Slide 75

Slide 75 text

http://dashboard.sitespeed.io/dashboard/db/using-webpagetest

Slide 76

Slide 76 text

https://grafana.wikimedia.org/dashboard/db/WebPageTest

Slide 77

Slide 77 text

It’s up to you!

Slide 78

Slide 78 text

http://dashboard.sitespeed.io/dashboard/db/google-analytics

Slide 79

Slide 79 text

Summary

Slide 80

Slide 80 text

front end dev

Slide 81

Slide 81 text

responsible

Slide 82

Slide 82 text

No content

Slide 83

Slide 83 text

s Your monitoring tool

Slide 84

Slide 84 text

1.0 - Hello world 2.0 - The logo 3.0 - Most downloaded 2015 4.0 - Number one

Slide 85

Slide 85 text

No content

Slide 86

Slide 86 text

• http://dashboard.sitespeed.io/ • https://www.sitespeed.io/documentation/ performance-dashboard/ • https://grafana.wikimedia.org/dashboard/db/ WebPageTest • https://wikitech.wikimedia.org/wiki/WebPageTest Monitoring performance

Slide 87

Slide 87 text

Thank you! @soulislove [email protected]