dynatrace's talk from ranger4's the three ways event

52
Every Digital Moment matters! Klaus Enzenhofer @kenzenhofer

Upload: ranger4-limited

Post on 13-Jan-2017

47 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Dynatrace's Talk from Ranger4's The Three Ways Event

Every Digital Moment matters!

Klaus Enzenhofer @kenzenhofer

Page 2: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 3: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 4: Dynatrace's Talk from Ranger4's The Three Ways Event

A Saturday on a scouting

trip!

Page 5: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 6: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 7: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 8: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 9: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 10: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 11: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 12: Dynatrace's Talk from Ranger4's The Three Ways Event

What has all of this to do with us here?!

Page 13: Dynatrace's Talk from Ranger4's The Three Ways Event

2011“In Short,

Software is eating the

world!”https://en.wikipedia.org/wiki/Marc_Andreessen

Page 14: Dynatrace's Talk from Ranger4's The Three Ways Event

Largest companies in the world by Market Cap

Rank 2011 2012 2016 (Q3)#1 Exxon Mobil Apple Apple#2 Petro China Exxon Mobil Alphabet (Google)#3 Apple Inc. Petro China Microsoft#4 ICBC Microsoft Amazon#5 Pertobras IBM Facebook

Page 15: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 16: Dynatrace's Talk from Ranger4's The Three Ways Event

The „I get paid at the end of th

e month“- dashboard

Page 17: Dynatrace's Talk from Ranger4's The Three Ways Event

Are we making money?

Page 18: Dynatrace's Talk from Ranger4's The Three Ways Event

99.9% Availability

Page 19: Dynatrace's Talk from Ranger4's The Three Ways Event

End-User Satisfaction

End-User Satisfaction

Page 20: Dynatrace's Talk from Ranger4's The Three Ways Event

Key Transaction – Errors, Response Time and Usage

Page 21: Dynatrace's Talk from Ranger4's The Three Ways Event

Competition

Page 22: Dynatrace's Talk from Ranger4's The Three Ways Event

This is all Ops!Where is the Dev?!

Page 23: Dynatrace's Talk from Ranger4's The Three Ways Event

700 deployments / YEAR

10 + deployments / DAY

50 – 60 deployments / DAY

Every 11.6 SECONDS

Deliver value at the speed of business

Page 24: Dynatrace's Talk from Ranger4's The Three Ways Event

Richard DominguezDeveloper in OperationsPrep Sportswear

„In 2013 business demanded to go from monthly to daily deployments“

„80% failed!“

Page 25: Dynatrace's Talk from Ranger4's The Three Ways Event

Why they (and many others) failed!

Page 26: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 27: Dynatrace's Talk from Ranger4's The Three Ways Event

26.7s Load Time5kB Payload

33! Service Calls

99kB - 3kB for each call!

171! Total SQL Count

Architecture ViolationDirect access to DB from frontend service

Single search query end-to-end

Page 28: Dynatrace's Talk from Ranger4's The Three Ways Event

The fixed end-to-end use case“Re-architect” vs. “Migrate” to Service-Orientation

2.5s (vs 26.7) 5kB Payload

1! (vs 33!) Service Call

5kB (vs 99) Payload!

3! (vs 177) Total SQL Count

Page 29: Dynatrace's Talk from Ranger4's The Three Ways Event

It‘s not about blindly giving everyone Ops powerto deploy changes only tested locally

Page 30: Dynatrace's Talk from Ranger4's The Three Ways Event

It‘s not about blind automation of pushing more bad code on new stacks through a pipeline

Page 31: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 32: Dynatrace's Talk from Ranger4's The Three Ways Event

You measure it! from Dev (to) Ops

Page 33: Dynatrace's Talk from Ranger4's The Three Ways Event

Build 17 testNewsAlert OKtestSearch OK

Build # Use Case Stat # API Calls # SQL Payload CPU

1 5 2kb 70ms1 3 5kb 120ms

Use Case Tests and Monitors Service & App Metrics

Build 26 testNewsAlert OKtestSearch OK

Build 25 testNewsAlert OKtestSearch OK

1 4 1kb 60ms34 171 104kb 550ms

Ops#ServInst Usage RT

1 0.5% 7.2s

1 63% 5.2s

1 4 1kb 60ms2 3 10kb 150ms

1 0.6% 4.2s

5 75% 2.5s

Build 35 testNewsAlert -testSearch OK

- - - -2 3 10kb 150ms

- - -

8 80% 2.0s

Re-architecture into „Services“ + Performance Fixes

Scenario: Monolithic App with 2 Key FeaturesMetrics from and for Dev(to)Ops

Page 34: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 35: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 36: Dynatrace's Talk from Ranger4's The Three Ways Event

Are your users happy?

Page 37: Dynatrace's Talk from Ranger4's The Three Ways Event

User

Page 38: Dynatrace's Talk from Ranger4's The Three Ways Event

Mobile Data is expensive

Page 39: Dynatrace's Talk from Ranger4's The Three Ways Event

https

://w

hatd

oesm

ysite

cost

.com

Page 40: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 41: Dynatrace's Talk from Ranger4's The Three Ways Event

http://cdn.shopify.com/s/files/1/1462/9702/articles/26_cangoroo_1024x1024.jpg?v=1473016235

Page 42: Dynatrace's Talk from Ranger4's The Three Ways Event

Back Home

Page 43: Dynatrace's Talk from Ranger4's The Three Ways Event

Back Home

Page 44: Dynatrace's Talk from Ranger4's The Three Ways Event

HTTP Archive – Transfer Size Trend

http://httparchive.org/trends.php

Average Size ~2 500 KB By 1.6 € per 100 KB

40 € to get started!!!!

Page 45: Dynatrace's Talk from Ranger4's The Three Ways Event

285 Resources for an initial Page Load

151 CSS and 121 JavaScript files

Page 46: Dynatrace's Talk from Ranger4's The Three Ways Event

~200 Resources had larger Header than Body

Page 47: Dynatrace's Talk from Ranger4's The Three Ways Event

Watch your weight

Page 48: Dynatrace's Talk from Ranger4's The Three Ways Event

Dev&Test: Personal License to Stop Bad Code when it

gets created!Tip: Dont leave your IDE!

Continuous Integration: Auto-Stop Bad Builds based on AppMetrics from Unit-, Integration, - Perf Tests

Tip: integrate with Jenkins, Bamboo ...

Prod: Monitor Usage and Runtime Behavior per Service, User Action,

Feature ...Tip: Stream to ELK, Splunk and Co ...

Automated Tests: Identify Non-Functional Problems by looking at App Metrics

Tip: Feed data back into your test tool!

Build & Deliver Apps THAT EAT THE WORLD!With a Metrics-Driven Pipeline!

Page 49: Dynatrace's Talk from Ranger4's The Three Ways Event
Page 50: Dynatrace's Talk from Ranger4's The Three Ways Event

Just in case...

https://assets.dynatrace.com/en/docs/infograph/info-ecommerce-in-china.pdf

Single Day 2016

Page 51: Dynatrace's Talk from Ranger4's The Three Ways Event

QuestionsSlides: slideshare.net/kenzenhoferGet Tools: bit.ly/dtpersonalYouTube Tutorials: bit.ly/dttutorialsContact Me: [email protected] Me: @kenzenhoferRead More: blog.dynatrace.com

Page 52: Dynatrace's Talk from Ranger4's The Three Ways Event

Klaus EnzenhoferDirector Technology Strategy@kenzenhoferhttp://blog.dynatrace.com