Software that eats the world! - PerformDay Brussels
-
Upload
klaus-enzenhofer -
Category
Technology
-
view
108 -
download
0
Transcript of Software that eats the world! - PerformDay Brussels
![Page 1: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/1.jpg)
Software that eats the
world!Klaus Enzenhofer @kenzenhofer
![Page 2: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/2.jpg)
2011“In Short,
Software is eating the
world!”https://en.wikipedia.org/wiki/Marc_Andreessen
![Page 3: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/3.jpg)
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 4: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/4.jpg)
3 Things to cover Today!
![Page 5: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/5.jpg)
Let‘s start withyou!
![Page 6: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/6.jpg)
The „I get paid at the end of th
e month“- dashboard
![Page 7: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/7.jpg)
![Page 8: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/8.jpg)
3 Things to cover Today!
![Page 9: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/9.jpg)
Cloud
![Page 10: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/10.jpg)
WHY?Cost Savings
Flexible EASY
Maintenance
![Page 11: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/11.jpg)
We need to go cloud!
![Page 12: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/12.jpg)
Anyone Failed?Anyone had an issue?
![Page 13: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/13.jpg)
![Page 14: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/14.jpg)
Do NOT trust the cloud!
Lesson learned #1:
![Page 15: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/15.jpg)
Constantly test the APIs and their responses
![Page 16: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/16.jpg)
DBDB
CLOUD Based ApplicationsWeb
Web
AppServer A
AppServer B
DB
AppServer A is going down!
Thanks for telling me a week too late!*****
![Page 17: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/17.jpg)
vCPU != physical CPU
Lesson learned #2:
![Page 18: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/18.jpg)
actually 1 vCPU = ½ physical Core
vCPU != physical CPU
test your sizing in the cloud!
![Page 19: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/19.jpg)
Hybrid deployments are complex
Lesson learned #3:
![Page 20: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/20.jpg)
Data Center ApplicationsWeb
Legacy
CRM
AppServerAppServer
AppServerAppServer
AppServerAppServer
DB
MF
3rd Party
WebWeb
AppServerAppServer
AppServer
DBDB
DB
CLOUD Based ApplicationsWeb
Web
AppServer
AppServer
DB
![Page 21: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/21.jpg)
Data Center Applications
Web AppServer DB
CLOUD
Server Server Server Server
Data Center Applications
Web AppServer DB……
I cannot handle domain names!Give me an IP
![Page 22: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/22.jpg)
Work with your provider!
Lesson learned #4:
![Page 23: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/23.jpg)
Microservices+
![Page 24: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/24.jpg)
![Page 25: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/25.jpg)
![Page 26: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/26.jpg)
3 Things to cover Today!
![Page 27: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/27.jpg)
Let‘s finish withyou!
![Page 28: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/28.jpg)
Who is doing SLA Monitoring?
![Page 29: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/29.jpg)
Any one a salary depending on it?
![Page 30: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/30.jpg)
Any changes lately?
![Page 31: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/31.jpg)
Google - Mobile Friendliness Campaign?!
![Page 32: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/32.jpg)
Contract SLA: Average Response Time < 3
sec
User
on Desktop + Mobile
![Page 33: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/33.jpg)
Good idea?!
![Page 34: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/34.jpg)
4.5 sec 15 sec
UserDeveloper Operator
![Page 35: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/35.jpg)
![Page 36: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/36.jpg)
Let‘s take a look at the timings!Navigation Start: 0 ms
Domain Lookup End: 269 ms
Connect End: 330 ms
Response Start: 517 ms
Response End:518 ms
Dom Loading: 519 ms
Dom Interactive: 519 ms
DomContentLoaded Event End: 520 ms
Dom Complete: 520 ms
Load Event End:522 ms
![Page 37: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/37.jpg)
0.5 sec 0.5 sec
Developer
![Page 38: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/38.jpg)
User Operator
![Page 39: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/39.jpg)
User
![Page 40: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/40.jpg)
![Page 41: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/41.jpg)
DNS Lookup
Initial connection
TTFB
(HTML)Download
Life of an URL request
![Page 42: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/42.jpg)
Starting here, we are able to control …
![Page 43: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/43.jpg)
<script src=“angular.js”> blocking!
![Page 44: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/44.jpg)
<script src=“angular.js”> blocking!<script src=“main.js”> blocking!
![Page 45: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/45.jpg)
<script src=“angular.js”> blocking!<script src=“main.js”> blocking!
start render
![Page 46: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/46.jpg)
<script src=“angular.js”> blocking!<script src=“main.js”> blocking!
start renderresponse time
![Page 47: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/47.jpg)
Server-side rendering for SPA
![Page 48: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/48.jpg)
Brow
ser
App
Serv
ing
asse
tsAP
I Ser
ver
GET /app
JavaScript payload
GET /api/users
JSON payload
GET /api/posts
GET /api/pages
JSON payload
JSON payload
Send index.html
Request JS application
![Page 49: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/49.jpg)
Brow
ser
App
Uni
vers
al re
nder
ing
API S
erve
r
GET /app
JavaScript payload
GET /api/users
JSON payload
GET /api/posts
GET /api/pages
JSON payload
JSON payload
Initial render HTML + CSS
Request JS application
![Page 50: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/50.jpg)
![Page 51: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/51.jpg)
![Page 52: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/52.jpg)
![Page 53: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/53.jpg)
4.5 sec 6 sec
UserDeveloper Operator
![Page 54: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/54.jpg)
Operator
![Page 55: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/55.jpg)
The CDN bill exploded!
![Page 56: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/56.jpg)
285 Resources for an initial Page Load
151 CSS and 121 JavaScript files
![Page 57: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/57.jpg)
~200 Resources had larger Header than Body
![Page 58: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/58.jpg)
User
![Page 59: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/59.jpg)
Mobile Data is expensive
![Page 60: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/60.jpg)
https
://w
hatd
oesm
ysite
cost
.com
![Page 61: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/61.jpg)
![Page 62: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/62.jpg)
http://cdn.shopify.com/s/files/1/1462/9702/articles/26_cangoroo_1024x1024.jpg?v=1473016235
![Page 63: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/63.jpg)
Back Home
![Page 64: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/64.jpg)
Back Home
![Page 65: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/65.jpg)
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 66: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/66.jpg)
2. Page weight
![Page 67: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/67.jpg)
There’s lots of ways to reduce the payload
![Page 68: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/68.jpg)
![Page 69: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/69.jpg)
Reduce styles
![Page 70: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/70.jpg)
Tree-Shaking to reduce JS
![Page 71: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/71.jpg)
2 sec 2.5 sec
UserDeveloper Operator
![Page 72: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/72.jpg)
QuestionsSlides: slideshare.net/kenzenhoferGet Tools: bit.ly/dtpersonalYouTube Tutorials: bit.ly/dttutorialsContact Me: [email protected] Me: @kenzenhoferRead More: blog.dynatrace.com
![Page 73: Software that eats the world! - PerformDay Brussels](https://reader036.fdocuments.us/reader036/viewer/2022081605/5870fd7b1a28ab5f528b6159/html5/thumbnails/73.jpg)
Klaus EnzenhoferDirector Technology Strategy@kenzenhoferhttp://blog.dynatrace.com