Slide 1

Slide 1 text

Application Metrics Ole Michaelis - PHP UG Hamburg - 10.07.2012

Slide 2

Slide 2 text

About me 2 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012 Ole Michaelis @CodeStars https://github.com/nesQuick http://blog.codestars.eu/

Slide 3

Slide 3 text

About DigitalPioneers N.V. 3 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 4

Slide 4 text

About DigitalPioneers N.V. 3 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 5

Slide 5 text

About DigitalPioneers N.V. 3 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 6

Slide 6 text

About DigitalPioneers N.V. 3 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 7

Slide 7 text

About DigitalPioneers N.V. 3 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 8

Slide 8 text

About DigitalPioneers N.V. 3 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 9

Slide 9 text

About DigitalPioneers N.V. 3 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 10

Slide 10 text

About DigitalPioneers N.V. 3 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 11

Slide 11 text

About DigitalPioneers N.V. 3 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 12

Slide 12 text

About DigitalPioneers N.V. 3 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 13

Slide 13 text

About DigitalPioneers N.V. 3 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 14

Slide 14 text

About DigitalPioneers N.V. 3 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 15

Slide 15 text

Application Metrics 4 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 16

Slide 16 text

Application Metrics 5 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 17

Slide 17 text

Application Metrics 6 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 18

Slide 18 text

Application Metrics 6 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 19

Slide 19 text

What? 7 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012 - Requests - Querys - Exceptions - Connections - Users - ...

Slide 20

Slide 20 text

What? 7 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 21

Slide 21 text

Application Metrics 8 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 22

Slide 22 text

Application Metrics 8 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 23

Slide 23 text

Why? 9 It’s all about MOTIVATION! (and business) Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 24

Slide 24 text

Visualize it! 10 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 25

Slide 25 text

Visualize it! 10 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 26

Slide 26 text

Visualize it! - Status Quo?! 11 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 27

Slide 27 text

Visualize it! - Status Quo?! 11 It’s soooo 1999‘ish :( Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 28

Slide 28 text

Visualize it! - Be more 2012‘ish! 12 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 29

Slide 29 text

How to achieve this? 13 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 30

Slide 30 text

How to achieve this? - Basic Idea 14 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 31

Slide 31 text

How to achieve this? - Aggregator (statsd) 15 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 32

Slide 32 text

How to achieve this? - Aggregator (statsd) 15 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 33

Slide 33 text

How to achieve this? - Aggregator (statsd) 15 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 34

Slide 34 text

How to achieve this? - Aggregator (statsd) 15 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 35

Slide 35 text

How to achieve this? - Sources 16 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012 More: https://github.com/etsy/statsd/tree/master/examples

Slide 36

Slide 36 text

How to achieve this? - Backends (graphite) 17 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012 opensource free statsd default many clients fancyness autorefresh installation

Slide 37

Slide 37 text

How to achieve this? - Backends (graphite + tasseo) 18 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012 https://github.com/obfuscurity/tasseo opensource free autorefresh installation

Slide 38

Slide 38 text

How to achieve this? - Backends (librato metrics) 19 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012 fancy hosted statsd backend cookbooks support costs $0.000002 per measurement

Slide 39

Slide 39 text

How to achieve this? - Backends (dashku.com) 20 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012 >> https://dashku.com/#

Slide 40

Slide 40 text

How to achieve this? - Backends (dashku.com) 20 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012 >> https://dashku.com/#

Slide 41

Slide 41 text

How to achieve this? - Backends (dashku.com) 21 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012 >> https://dashku.com/#

Slide 42

Slide 42 text

Some live stuff 22 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 43

Slide 43 text

That’s it! 23 So go out, and... 1. Buy a f*cking cheap Monitor 2. Buy some small pice of hardware 3. be awesome! Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 44

Slide 44 text

Thanks! 24 Thanks and follow me ;) Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 45

Slide 45 text

Links & stuff 25 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012 http://wp.me/p163Gq-cF (code as craft) https://github.com/etsy/statsd https://metrics.librato.com https://dashku.com/ http://graphite.wikidot.com/

Slide 46

Slide 46 text

Q&A! 26 Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012

Slide 47

Slide 47 text

Digital Pioneers N.V. Laan Van Diepenvoorde 3 5582 LA Waake Netherlands Registriergericht: Amsterdam Registriernummer: 140971785 Ust. ID Nr: NL 818664496B01 Office Deutschland Große Elbstraße 45 22767 Hamburg Germany E-Mail: [email protected] Vorstand: Marc Schlindwein, Nico Lumma (COO) Aufsichtsrat: Heiko Hubertz, Eike Fischer, Joachim Redmer

Slide 48

Slide 48 text

Application Metrics 28 Thanks to: Elena Florian Nik Stephan Sources: http://www.ksta.de/image/view/2009/6/18/12837924,11044465,dmData,JensNonnenmache+%25281247646918721%2529+%25281247646918721%2529.jpg http://borsetrading.com/wp-content/uploads/2012/03/Frankfurt-Stock-Exchange_playworld_corp.jpg http://www.welt.de/img/dc5-images/crop105916231/4148628083-ci16x9-w580/Traders-work-at-their-desks-in-front-of-the-DAX-board-at-the-Frankfurt-stock-exchange.jpg http://www.my-swiss-company.com/wordpress/wp-content/uploads/2011/06/frankfurt-stock-exchange-sept252009.jpg http://usd24.com/wp-content/uploads/2008/11/financial_crisis_032.jpg http://hacks.mozilla.org/wp-content/uploads/2011/10/jsconf_sprint_web2.jpg http://farm3.static.flickr.com/2670/3915149360_6133426259.jpg http://onlamp.com/bsd/2004/05/06/graphics/hackathon_2004.jpg http://static5.businessinsider.com/image/4fb64f77eab8ea431f00000f-650/facebook-hackathon.jpg http://rimdevblog.files.wordpress.com/2011/09/hackathon-nyc1.jpg http://oss.oetiker.ch/rrdtool/gallery/nbar_optical_com_pe.png http://en.wikipedia.org/wiki/RRDtool http://www.empireposter.de/bilder/bilder_XL/432308.jpg http://lisawillneverfindthis.files.wordpress.com/2011/12/confused-with-questions.jpg http://blog.nuffnang.com.sg/wp-content/uploads/2010/04/hiring21.jpg http://yuml.me//diagram/scruffy;dir:LR;scale:180;/class/edit/// Cool Class Diagram, [source1]-data >[aggregator], [source2]-data >[aggregator], [aggregator]->[backend3], [aggregator]->[backend2], [aggregator]- >[backend1] www.wordle.net https://dashku.com/# Ole Michaelis - Application Metrics @ PHP UG Hamburg - 10.07.2012