dynatrace's talk from ranger4's the three ways event
TRANSCRIPT
Every Digital Moment matters!
Klaus Enzenhofer @kenzenhofer
A Saturday on a scouting
trip!
What has all of this to do with us here?!
2011“In Short,
Software is eating the
world!”https://en.wikipedia.org/wiki/Marc_Andreessen
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
The „I get paid at the end of th
e month“- dashboard
Are we making money?
99.9% Availability
End-User Satisfaction
End-User Satisfaction
Key Transaction – Errors, Response Time and Usage
Competition
This is all Ops!Where is the Dev?!
700 deployments / YEAR
10 + deployments / DAY
50 – 60 deployments / DAY
Every 11.6 SECONDS
Deliver value at the speed of business
Richard DominguezDeveloper in OperationsPrep Sportswear
„In 2013 business demanded to go from monthly to daily deployments“
„80% failed!“
Why they (and many others) failed!
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
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
It‘s not about blindly giving everyone Ops powerto deploy changes only tested locally
It‘s not about blind automation of pushing more bad code on new stacks through a pipeline
You measure it! from Dev (to) Ops
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
Are your users happy?
User
Mobile Data is expensive
https
://w
hatd
oesm
ysite
cost
.com
http://cdn.shopify.com/s/files/1/1462/9702/articles/26_cangoroo_1024x1024.jpg?v=1473016235
Back Home
Back Home
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!!!!
285 Resources for an initial Page Load
151 CSS and 121 JavaScript files
~200 Resources had larger Header than Body
Watch your weight
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!
Just in case...
https://assets.dynatrace.com/en/docs/infograph/info-ecommerce-in-china.pdf
Single Day 2016
QuestionsSlides: slideshare.net/kenzenhoferGet Tools: bit.ly/dtpersonalYouTube Tutorials: bit.ly/dttutorialsContact Me: [email protected] Me: @kenzenhoferRead More: blog.dynatrace.com
Klaus EnzenhoferDirector Technology Strategy@kenzenhoferhttp://blog.dynatrace.com