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
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Surprise! Your app is slow because the speed of light is slow.
Ignite talk at Mobile Delivery Days 2016.
Clay Smith
March 21, 2016
More Decks by Clay Smith
See All by Clay Smith
Automated Canary Analysis with New Relic
smithclay
1
280
Instrumenting CI Pipelines
smithclay
1
160
Serverless Performance with Headless Chrome
smithclay
0
510
FaaS Measurement Fundamentals
smithclay
7
1.5k
Serverless Measurement Limits
smithclay
1
270
Searching for the Server in Serverless
smithclay
1
2k
High Performance iOS Networking, v1.20
smithclay
5
260
HTTP/2: The Weird Parts
smithclay
1
150
High-Performance iOS Networking
smithclay
6
1.3k
Other Decks in Programming
See All in Programming
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
550
生成AI導入の「期待外れ」を乗り越える ー 開発フロー改革が目指す、真の組織変革
starfish719
0
2.7k
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
440
Apache Hive: そしてCloud Native Lakehouseへ
okumin
1
180
メールのエイリアス機能を履き違えない
isshinfunada
0
150
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
120
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
120
分散システム、なんですぐ死んでしまうん?耐障害性を高めたいあなたのためのレジリエンスパターン入門
mshibuya
7
7.1k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
440
琵琶湖の水は止められてもNet--HTTPのリトライは止められない / You might be able to stop the water flow of Lake Biwa but you can't stop Net::HTTP retries
luccafort
PRO
0
480
5分で問診!Composer セキュリティ健康診断
codmoninc
0
690
GDG Korea Android: 2026 I/O Extended ~ What's new in Android development tools
pluu
0
190
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.9k
Raft: Consensus for Rubyists
vanstee
141
7.6k
How to Talk to Developers About Accessibility
jct
2
450
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
510
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Statistics for Hackers
jakevdp
799
230k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
220
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
Scaling GitHub
holman
464
140k
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