Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Surprise! Your app is slow because the speed of...
Search
Clay Smith
March 21, 2016
Programming
0
71
Surprise! Your app is slow because the speed of light is slow.
Ignite talk at Mobile Delivery Days 2016.
Clay Smith
March 21, 2016
Tweet
Share
More Decks by Clay Smith
See All by Clay Smith
Automated Canary Analysis with New Relic
smithclay
1
210
Instrumenting CI Pipelines
smithclay
1
100
Serverless Performance with Headless Chrome
smithclay
0
460
FaaS Measurement Fundamentals
smithclay
7
1.4k
Serverless Measurement Limits
smithclay
1
170
Searching for the Server in Serverless
smithclay
1
1.8k
High Performance iOS Networking, v1.20
smithclay
5
200
HTTP/2: The Weird Parts
smithclay
1
100
High-Performance iOS Networking
smithclay
6
1.2k
Other Decks in Programming
See All in Programming
Desafios e Lições Aprendidas na Migração de Monólitos para Microsserviços em Java
jessilyneh
2
150
GoのIteratorに詳しくなってしまう
inatonix
1
200
Crafting Cross-Platform Adventures: Building a Game Engine with Kotlin Multiplatform
dwursteisen
0
100
Prompt Cachingは本当に効果的なのか検証してみた.pdf
ttnyt8701
0
530
あなたのアプリ、ログはでてますか?あるいはログをだしてますか? (Funabashi.dev用 軽量版)
uzulla
2
120
Swiftコードバトル必勝法
toshi0383
0
150
今インフラ技術をイチから学び直すなら
yuhta28
1
130
From Idea to IDE: Developing Plugins for Android Studio
thisaay
1
170
Hono・Prisma・AWSでGeoなAPI開発
nokonoko1203
5
670
Rechartsで楽にゴリゴリにカスタマイズする!
10tera
1
170
Perl 5 OOP機構30年史 - Perl 5's OOP Mechanism over the past 30 years
moznion
0
100
[DroidKaigi 2024] Android ViewからJetpack Composeへ 〜Jetpack Compose移行のすゝめ〜 / From Android View to Jetpack Compose: A Guide to Migration
syarihu
1
550
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
221
8.8k
Intergalactic Javascript Robots from Outer Space
tanoku
268
26k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
5
480
Debugging Ruby Performance
tmm1
72
12k
Being A Developer After 40
akosma
84
590k
We Have a Design System, Now What?
morganepeng
48
7.1k
Fontdeck: Realign not Redesign
paulrobertlloyd
80
5.1k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
A Modern Web Designer's Workflow
chriscoyier
691
190k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
38
9.2k
Art, The Web, and Tiny UX
lynnandtonic
294
20k
Docker and Python
trallard
39
3k
Transcript
Surprise! Your app is slow because the speed of light.
Clay Smith, New Relic @smithclay Mobile Delivery Days 2016 CC0 wikimedia.org
When you release an app... CC0 pixabay.com
When you get a review like this... "App slow in
the UK. 1 star." -BenedictC CC0 pixabay.com
Who owns mobile app network issues? CC0 pixabay.com Backend/Ops Device/
Mobile Devs "Stuff in the middle we don't control"
Mobile data growth (simplified) Amount of data Now In a
couple years
Global Network Latency in Fiber CC0 pixabay.com Source Destination Great
Circle Distance RT Time in Fiber SFO London 5,375 mi 84 ms SFO Cape Town 10,124 mi 158 ms 1 ms at speed of light = Length of Massachusetts
After one second, your flow of thought is interrupted. CC0
pixabay.com Milliseconds 1 10 100 1000 10000 Not Magic Interrupted Too Late https://www.nngroup.com/articles/response-times-3-important-limits/
App services: more cloud, more complexity CC0 openclipart.org REST API
Auth - IdP #1 Analytics Ad Network Auth - IdP #2
Move it closer? CC0 pixabay.com Datacenter/AZ CDN
CDNs on the Edge CC0 pixabay.com Cache static and dynamic
content + "uncached origin fetch"
#mobileperf Idea CC0 pixabay.com When in doubt, reduce the number
of TCP connections.
TCP: Use it again CC0 pixabay.com Use HTTP keep-alive to
reuse TCP connections.
TCP: Create connections faster CC0 pixabay.com TCP Fast Open can
speed up opening multiple connections.
https://blog.newrelic.com/2016/02/09/http2-best-practices-web-performance/
Weighing HTTP/2 CC0 pixabay.com multiplexing, compression Hard to debug, backend
support?
What dial do we turn (if any)? CC0 pixabay.com
Premature optimization is the source of all evil. -Donald Knuth
in 1974 CC0 pixabay.com Don't touch that dial. (yet)
CC0 pixabay.com Measure often to understand what matters.
CC0 pixabay.com Measure network latency and connect it to U/X
Building connected mobile apps is hard. Monitoring shouldn't be. Thanks!
Clay Smith, New Relic @smithclay Mobile Delivery Days 2016 CC0 wikimedia.org