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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Clay Smith
March 21, 2016
Programming
0
91
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
270
Instrumenting CI Pipelines
smithclay
1
150
Serverless Performance with Headless Chrome
smithclay
0
500
FaaS Measurement Fundamentals
smithclay
7
1.5k
Serverless Measurement Limits
smithclay
1
240
Searching for the Server in Serverless
smithclay
1
1.9k
High Performance iOS Networking, v1.20
smithclay
5
240
HTTP/2: The Weird Parts
smithclay
1
130
High-Performance iOS Networking
smithclay
6
1.2k
Other Decks in Programming
See All in Programming
Oxlint JS plugins
kazupon
1
1.1k
生成AIを活用したソフトウェア開発ライフサイクル変革の現在値
hiroyukimori
PRO
0
140
個人開発は儲からない - それでも開発開始1ヶ月で300万円売り上げた方法
taishiyade
0
120
Raku Raku Notion 20260128
hareyakayuruyaka
0
420
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
2.1k
あなたはユーザーではない #PdENight
kajitack
4
280
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
310
今から始めるClaude Code超入門
448jp
8
9.5k
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
210
PJのドキュメントを全部Git管理にしたら、一番喜んだのはAIだった
nanaism
0
220
Claude Code、ちょっとした工夫で開発体験が変わる
tigertora7571
0
180
AI巻き込み型コードレビューのススメ
nealle
2
2.3k
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Designing for Performance
lara
611
70k
Raft: Consensus for Rubyists
vanstee
141
7.3k
It's Worth the Effort
3n
188
29k
A Soul's Torment
seathinner
5
2.3k
ラッコキーワード サービス紹介資料
rakko
1
2.4M
Large-scale JavaScript Application Architecture
addyosmani
515
110k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.4k
A Tale of Four Properties
chriscoyier
162
24k
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