SlideShare a Scribd company logo
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks
contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or
entity is not an endorsement by AT&T.
Doug Sillars
Native Mobile Performance
AT&T Developer Advocacy
@Dougsillars
Your App is Not a Black Box
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
• Christmas Day Sale: John Lewis – 75% traffic from
Mobile
• Amazon – 70% shopped on Mobile
Mobile is Huge
http://www.theguardian.com/business/2015/dec/27/online-christmas-sales-shoppers-
new-record-store-frenzy
http://phx.corporate-ir.net/phoenix.zhtml?c=176060&p=irol-newsArticle&ID=2125057
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks
contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or
entity is not an endorsement by AT&T.
Mobile Website Size (2011-2015)
Source:
HTTPArchive
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Source:
GSMA Intelligence
4G Subscriber Base
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
App Startup
91%
https://t.co/7bMT4A1PIt
49% 72%
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
App Conversions by Install Size
https://lightspeedindia.wordpress.com/2014/06/12/unbundling-mobile-apps-for-the-emerging-markets/
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
http://blog.jana.com/2015/01/26/the-data-trap/
Hours of Work at Minimum Wage to Buy 500MB
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
https://www.flickr.com/photos/photocapy/43580405/sizes/o/in/photostream
© 2016 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All
other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change.
Mention of a specific company or entity is not an endorsement by AT&T.
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Testing is Key
• 44% of all issues are reported by users
• 20% issues were only found because of
complaints in app reviews
http://info.perfectomobile.com/rs/perfectomobile/images/why-apps-fail-infographic.pdf
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
• Memory
• CPU
• Screen Rendering
• Battery Life
• Network Connectivity
Aspects of Performance
Testing
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Android Memory
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Android Memory
CRASH!!
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Garbage Collection in Logs
I/art: Explicit concurrent mark sweep GC freed 16519(1029KB) AllocSpace objects, 1(81KB) LOS objects, 14% free, 96MB/112MB, paused
1.660ms total 64.375ms
01-11 22:29:56.690 10222-10222/I/iceberg: Captain, I think we might have hit something.
01-11 22:29:57.544 10222-10222/I/iceberg: Captain, I think we might have hit something.
01-11 22:30:00.745 10222-10222/I/iceberg: Captain, I think we might have hit something.
01-11 22:30:01.233 10222-10247/I/art: Explicit concurrent mark sweep GC freed 17289(1157KB) AllocSpace objects, 1(81KB) LOS objects,
13% free, 102MB/118MB, paused 750us total 45.946ms
01-11 22:30:01.762 10222-10222/I/iceberg: Captain, I think we might have hit something.
01-11 22:30:04.105 10222-10222/I/iceberg: Captain, I think we might have hit something.
01-11 22:30:04.792 10222-10222/I/iceberg: Captain, I think we might have hit something.
01-11 22:30:05.908 10222-10247/I/art: Explicit concurrent mark sweep GC freed 9906(617KB) AllocSpace objects, 3(1121KB) LOS objects,
12% free, 108MB/124MB, paused 823us total 41.475ms
01-11 22:30:06.638 10222-10222/I/iceberg: Captain, I think we might have hit something.
01-11 22:30:07.288 10222-10222/I/iceberg: Captain, I think we might have hit something.
01-11 22:30:07.953 10222-10222/I/iceberg: Captain, I think we might have hit something.
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Android Memory
Eclipse MAT
Analyze Heap dumps
Leak Canary:
https://github.com/square/leakcanary
https://corner.squareup.com/2015/05/leak-canary.html
Square:
94% Drop in OOM
crashes!
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Live Demo
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Performance is a Key Update Feature
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Mobile Performance
Is Performance REALLY that important? Yes!
https://t.co/7bMT4A1PIt
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
• AT&T’s Application Resource Optimizer
• Free
• Open Source
• iOS/Android (no root)
• Network traces on Device
• Grades against 25 Best Practices
• http://Developer.att.com/ARO
Testing Your App’s Network Performance
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
• Cellular Networks are High Latency Environments
• Not Optimizing Your Content can lead to delays:
• 500ms:
• 26% frustration
• 8% engagement
• Amazon.com & Walmart:
• 100ms delay
• 1% revenue
• 4% of mobile users admit to throwing their phones
Mobile Apps Are Highly Network
Dependent
http://www.flickr.com/photos/9009139@N08/1263954439
http://blog.radware.com/applicationdelivery/applicationaccelerationoptimization/2013/12/mobile-web-stress-the-impact-of-network-speed-on-emotional-engagement-and-brand-perception-report
http://www.mobilejoomla.com/mobile-joomla-blog/172-responsive-design-vs-server-side-solutions-infographic.html
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Mobile Networks Drain Battery
• Data Connections account for:
• 40% of battery use (screen on)
• 70% screen off
ARO Speed
• Android VPN Trace Collection
https://pixabay.com/en/phone-smatphone-android-vector-804792/
https://commons.wikimedia.org/wiki/File:Man_made_communication_tower.svg
VPN
ARO Speed
• Android VPN Trace Collection
VPN
Werner Heisenberg:
Observer effect:
Measurements of a system
cannot be made without affecting
the system
ARO 4.1 had significant latency
(10-100ms per round trip)
ARO 5.0 only 1-2ms added per
round trip.
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Live Demo of ARO
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
• sh arocli.sh --startcollector vpn_android --output
/Users/Demo/AROcli5 --video yes
• sh arocli.sh --analyze /Users/demo/AROcli5 --output
/Users/demo/AROcli5/out.html --format html
• sh arocli.sh --analyze /Users/demo/AROcli5 --output
/Users/demo/AROcli5/out.json –format json
But – What About Automated Testing?
ARO Integration into your CI testing
Automated test
ARO –startcollector
Stop
ARO–analyze
Build
Reports
Performance!
Deploy
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
HTTPS Traffic
Test data through a proxy:
Charles or MITMProxy
Decrypts all the data
COMING SOON to ARO.
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
© 2016 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T
affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or
warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T.
https://www.flickr.com/photos/jaumescar/8793922986
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
https://upload.wikimedia.org/wikipedia/commons/1/10/Florida_Gopher_Tortoise.jpg
© 2016 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All
other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change.
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
© 2016 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All
other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change.
Mention of a specific company or entity is not an endorsement by AT&T.
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
http://bit.ly/HighPerfAndroidApps
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
PubConf.io
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Q&A
https://www.charlesproxy.com/
https://mitmproxy.org/
http://developer.att.com/application-resource-optimizer
http://bit.ly/HighPerfAndroidApps
https://github.com/square/leakcanary
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
AT&T DriveMode
https://en.wikipedia.org/wiki/Texting_while_driving#/media/File:Notextinganddriving
WestUTX.JPG
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
AT&T DriveMode - 2013
Good Idea
Stop Device from receiving phone calls and
SMS when the phone is in a car > 25 MPH
Route to Voicemail/ Send SMS reply “I’m
Driving.”
Poor Implementation
Google Play reviews:
excessive battery drain
40
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
AT&T DriveMode for Android - 2013
3 min
480 GPS connections/24hr
~20% Battery
Good Idea
Poor Implementation
Fix bug:
App was going into “drive mode” when not
driving.
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
AT&T DriveMode for Android
Use activity APIs to identify when your users are in motion
11 minute trace
DetectedActivity.IN_VEHICLEDetectedActivity.ON_BICYCLE:DetectedActivity.ON_FOOT:
http://commons.wikimedia.org/wiki/File:Baby_goats_jan_2007_crop.jpg
http://commons.wikimedia.org/wiki/File:Goat_in_a_car.jpg
http://commons.wikimedia.org/wiki/File:2009_goat_and_bicycle_in_India_6512003001.jpg
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
“Its déjà vu all over again.”
• Yogi Berra
AT&T Drive Mode – iOS (2014)
https://commons.wikimedia.org/wiki/File:Yogi_Berra_1956.png
New application is getting poor reviews
in app store for battery drain
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
AT&T Drive Mode - iOS
Good Idea
Poor Implementation
Collect Analytics
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
AT&T Drive Mode - iOS
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
AT&T Drive Mode - iOS
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
• Excessive Battery Drain
• Android
• Long background testing
• iOS
• Network trace while driving
• Test!
AT&T Drive Mode
Similar Symptoms - Different Culprits
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Streaming Radio App
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Streaming Radio App
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Streaming Radio App
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Streaming Radio App
DATA:
45% metadata
15% Images
<40% of data consumed is Music!
Good Idea
Poor Implementation
Critical KPI – report what is playing on
other “channels” with 10s accuracy.
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Streaming Radio Metadata
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Metadata
DATA:
18% metadata
20% Images
~60% of data consumed is Music!
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
• Ensure you have Gzip enabled in your app, and on
your server.
• Cache files
• Send only changes
Streaming Music Metadata
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Music Streaming –Album Art
Good Idea
Poor Implementation
Use a CDN to host all Album Art
API call uses a 302 redirect to access image files
16 requests
8 API calls - 302 redirect
1.16s
8 CDN calls – download images
1.25s
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Redirects Add Latency
115s of added latency
~10% of test
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
• Have API retrieve the image and send to the device
• Eliminate request
• Eliminate several RTs
Redirects add Latency
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Broken Links
21% of redirects have no target
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
Track Movement
• New version:
• 18x more connections than this app’s architecture team expected
• The triage team discovered that IP/port collisions = loss in sales
Good Idea
Poor Implementation
• Connecting to the network every 5 seconds –
• reusing the same connection
Created a new connection every 5s
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
World Famous
Goat Racing
Was $79, Now
$39
User has to wait for
image to load
Image Usage
Downloading the same image twice, in
different sizes, doesn’t make sense.
Download it once and use it in multiple ways.
54 kb
198 kb
World Famous
Goat Racing
Was $79, Now
$39
Good Idea
Poor Implementation
App with Rich image usage
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other
marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a
specific company or entity is not an endorsement by AT&T.
• Apps with Multiple & Frequent updates:
• Dial in usage
• Squash Bugs
• Improve Performance
• Testing!
Killer App
© 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks
contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or
entity is not an endorsement by AT&T.
Thank You

More Related Content

Viewers also liked

ARO For Developers
ARO For DevelopersARO For Developers
ARO For Developers
Doug Sillars
 
MongoDB Live Hacking
MongoDB Live HackingMongoDB Live Hacking
MongoDB Live Hacking
Tobias Trelle
 
Derma
DermaDerma
Derma
Ana KoKita
 
Новый млм бизнес в России!
Новый млм бизнес в России!Новый млм бизнес в России!
Новый млм бизнес в России!
onlinesarabotok
 
1 power and hydrogen generation – description
1 power and hydrogen generation – description1 power and hydrogen generation – description
1 power and hydrogen generation – descriptionnovi5036
 
Communication projects
Communication projectsCommunication projects
Communication projects
Senthil Kumar
 
Leigh lillis resume 7 2016
Leigh lillis resume 7 2016Leigh lillis resume 7 2016
Leigh lillis resume 7 2016
Leigh Ellen Lillis
 
Carteles y Obra de Cassandre
Carteles y Obra de CassandreCarteles y Obra de Cassandre
Carteles y Obra de Cassandre
Brian Lurex
 
Power
PowerPower
M.E projects call 9952749533
M.E projects call 9952749533M.E projects call 9952749533
M.E projects call 9952749533
Senthil Kumar
 
Electricmotor4
Electricmotor4Electricmotor4
Electricmotor4
Senthil Kumar
 
2015 AT&T Developer Summit
2015 AT&T Developer Summit2015 AT&T Developer Summit
2015 AT&T Developer Summit
Doug Sillars
 
The Social Challenge of 1.5°C Webinar: Ilan Chabay
The Social Challenge of 1.5°C Webinar: Ilan ChabayThe Social Challenge of 1.5°C Webinar: Ilan Chabay
The Social Challenge of 1.5°C Webinar: Ilan Chabay
tewksjj
 
Electronicdevices
ElectronicdevicesElectronicdevices
Electronicdevices
Senthil Kumar
 

Viewers also liked (18)

Tqm deepak R Gorad
Tqm deepak R  GoradTqm deepak R  Gorad
Tqm deepak R Gorad
 
ARO For Developers
ARO For DevelopersARO For Developers
ARO For Developers
 
Wireless projects
Wireless projectsWireless projects
Wireless projects
 
MongoDB Live Hacking
MongoDB Live HackingMongoDB Live Hacking
MongoDB Live Hacking
 
Derma
DermaDerma
Derma
 
Новый млм бизнес в России!
Новый млм бизнес в России!Новый млм бизнес в России!
Новый млм бизнес в России!
 
1 power and hydrogen generation – description
1 power and hydrogen generation – description1 power and hydrogen generation – description
1 power and hydrogen generation – description
 
Communication projects
Communication projectsCommunication projects
Communication projects
 
Reechal bday
Reechal bdayReechal bday
Reechal bday
 
Catalogue
CatalogueCatalogue
Catalogue
 
Leigh lillis resume 7 2016
Leigh lillis resume 7 2016Leigh lillis resume 7 2016
Leigh lillis resume 7 2016
 
Carteles y Obra de Cassandre
Carteles y Obra de CassandreCarteles y Obra de Cassandre
Carteles y Obra de Cassandre
 
Power
PowerPower
Power
 
M.E projects call 9952749533
M.E projects call 9952749533M.E projects call 9952749533
M.E projects call 9952749533
 
Electricmotor4
Electricmotor4Electricmotor4
Electricmotor4
 
2015 AT&T Developer Summit
2015 AT&T Developer Summit2015 AT&T Developer Summit
2015 AT&T Developer Summit
 
The Social Challenge of 1.5°C Webinar: Ilan Chabay
The Social Challenge of 1.5°C Webinar: Ilan ChabayThe Social Challenge of 1.5°C Webinar: Ilan Chabay
The Social Challenge of 1.5°C Webinar: Ilan Chabay
 
Electronicdevices
ElectronicdevicesElectronicdevices
Electronicdevices
 

Similar to Mobile Performance at London Web Perf Mettup

Being A Socially Responsible Social Developer: Mobile App Security
Being A Socially Responsible Social Developer: Mobile App SecurityBeing A Socially Responsible Social Developer: Mobile App Security
Being A Socially Responsible Social Developer: Mobile App Security
Doug Sillars
 
AT&T Mobile App Hackathon - Seattle
AT&T Mobile App Hackathon - SeattleAT&T Mobile App Hackathon - Seattle
AT&T Mobile App Hackathon - Seattle
Ed Donahue
 
Multi-Network Location & SMS APIs
Multi-Network Location & SMS APIsMulti-Network Location & SMS APIs
Multi-Network Location & SMS APIs
Jonathan Spinney
 
Securing the Internet of Things: What the CEO Needs to Know
Securing the Internet of Things: What the CEO Needs to KnowSecuring the Internet of Things: What the CEO Needs to Know
Securing the Internet of Things: What the CEO Needs to Know
AT&T
 
AWS re:Invent 2016: Cloud agility and faster connectivity with AT&T NetBond a...
AWS re:Invent 2016: Cloud agility and faster connectivity with AT&T NetBond a...AWS re:Invent 2016: Cloud agility and faster connectivity with AT&T NetBond a...
AWS re:Invent 2016: Cloud agility and faster connectivity with AT&T NetBond a...
Amazon Web Services
 
Using Social Media in Customer Service
Using Social Media in Customer ServiceUsing Social Media in Customer Service
AT&T Mobile App Hackathon (Smart City) - Berkeley
AT&T Mobile App Hackathon (Smart City) - BerkeleyAT&T Mobile App Hackathon (Smart City) - Berkeley
AT&T Mobile App Hackathon (Smart City) - Berkeley
Ed Donahue
 
Secure Connectivity to your Salesforce Applications
Secure Connectivity to your Salesforce ApplicationsSecure Connectivity to your Salesforce Applications
Secure Connectivity to your Salesforce Applications
Salesforce Developers
 
Bonding Your Private Network to Salesforce Clouds
Bonding Your Private Network to Salesforce CloudsBonding Your Private Network to Salesforce Clouds
Bonding Your Private Network to Salesforce Clouds
Salesforce Developers
 
(NET202) Connectivity Using Software-Defined Networking & Advanced API
(NET202) Connectivity Using Software-Defined Networking & Advanced API(NET202) Connectivity Using Software-Defined Networking & Advanced API
(NET202) Connectivity Using Software-Defined Networking & Advanced API
Amazon Web Services
 
Not If, But When: A CEO's Guide to Cyberbreach Response
Not If, But When: A CEO's Guide to Cyberbreach ResponseNot If, But When: A CEO's Guide to Cyberbreach Response
Not If, But When: A CEO's Guide to Cyberbreach Response
AT&T
 
What Makes Mobile Websites Tick - Oredev
What Makes Mobile Websites Tick - OredevWhat Makes Mobile Websites Tick - Oredev
What Makes Mobile Websites Tick - Oredev
Doug Sillars
 
IPSec VPN Basics
IPSec VPN BasicsIPSec VPN Basics
IPSec VPN Basics
Martin Bratina
 
Mobile Portfolio of Cole's Experience with AT&T Teams
Mobile Portfolio of Cole's Experience with AT&T TeamsMobile Portfolio of Cole's Experience with AT&T Teams
Mobile Portfolio of Cole's Experience with AT&T Teams
Cole Whitney
 
Seattle AT&T Hackathon
Seattle AT&T HackathonSeattle AT&T Hackathon
Seattle AT&T Hackathon
Doug Sillars
 
TrainT&T - Intern Coding Challenge
TrainT&T - Intern Coding ChallengeTrainT&T - Intern Coding Challenge
TrainT&T - Intern Coding Challenge
Sally Kim
 
Jason Yu, AT&T
Jason Yu, AT&TJason Yu, AT&T
Jason Yu, AT&T
Hilary Ip
 
Webinar: How AT&T is Using Tin Can to Enhance Compliance Training 8/27/14
Webinar: How AT&T is Using Tin Can to Enhance Compliance Training 8/27/14Webinar: How AT&T is Using Tin Can to Enhance Compliance Training 8/27/14
Webinar: How AT&T is Using Tin Can to Enhance Compliance Training 8/27/14
Rustici Software
 
The CEO’s Guide to Cyberbreach Response
The CEO’s Guide to Cyberbreach ResponseThe CEO’s Guide to Cyberbreach Response
The CEO’s Guide to Cyberbreach Response
AT&T
 

Similar to Mobile Performance at London Web Perf Mettup (20)

Being A Socially Responsible Social Developer: Mobile App Security
Being A Socially Responsible Social Developer: Mobile App SecurityBeing A Socially Responsible Social Developer: Mobile App Security
Being A Socially Responsible Social Developer: Mobile App Security
 
AT&T Mobile App Hackathon - Seattle
AT&T Mobile App Hackathon - SeattleAT&T Mobile App Hackathon - Seattle
AT&T Mobile App Hackathon - Seattle
 
Multi-Network Location & SMS APIs
Multi-Network Location & SMS APIsMulti-Network Location & SMS APIs
Multi-Network Location & SMS APIs
 
Securing the Internet of Things: What the CEO Needs to Know
Securing the Internet of Things: What the CEO Needs to KnowSecuring the Internet of Things: What the CEO Needs to Know
Securing the Internet of Things: What the CEO Needs to Know
 
AWS re:Invent 2016: Cloud agility and faster connectivity with AT&T NetBond a...
AWS re:Invent 2016: Cloud agility and faster connectivity with AT&T NetBond a...AWS re:Invent 2016: Cloud agility and faster connectivity with AT&T NetBond a...
AWS re:Invent 2016: Cloud agility and faster connectivity with AT&T NetBond a...
 
Using Social Media in Customer Service
Using Social Media in Customer ServiceUsing Social Media in Customer Service
Using Social Media in Customer Service
 
AT&T Mobile App Hackathon (Smart City) - Berkeley
AT&T Mobile App Hackathon (Smart City) - BerkeleyAT&T Mobile App Hackathon (Smart City) - Berkeley
AT&T Mobile App Hackathon (Smart City) - Berkeley
 
Secure Connectivity to your Salesforce Applications
Secure Connectivity to your Salesforce ApplicationsSecure Connectivity to your Salesforce Applications
Secure Connectivity to your Salesforce Applications
 
Bonding Your Private Network to Salesforce Clouds
Bonding Your Private Network to Salesforce CloudsBonding Your Private Network to Salesforce Clouds
Bonding Your Private Network to Salesforce Clouds
 
(NET202) Connectivity Using Software-Defined Networking & Advanced API
(NET202) Connectivity Using Software-Defined Networking & Advanced API(NET202) Connectivity Using Software-Defined Networking & Advanced API
(NET202) Connectivity Using Software-Defined Networking & Advanced API
 
Not If, But When: A CEO's Guide to Cyberbreach Response
Not If, But When: A CEO's Guide to Cyberbreach ResponseNot If, But When: A CEO's Guide to Cyberbreach Response
Not If, But When: A CEO's Guide to Cyberbreach Response
 
What Makes Mobile Websites Tick - Oredev
What Makes Mobile Websites Tick - OredevWhat Makes Mobile Websites Tick - Oredev
What Makes Mobile Websites Tick - Oredev
 
truxtun banta
truxtun bantatruxtun banta
truxtun banta
 
IPSec VPN Basics
IPSec VPN BasicsIPSec VPN Basics
IPSec VPN Basics
 
Mobile Portfolio of Cole's Experience with AT&T Teams
Mobile Portfolio of Cole's Experience with AT&T TeamsMobile Portfolio of Cole's Experience with AT&T Teams
Mobile Portfolio of Cole's Experience with AT&T Teams
 
Seattle AT&T Hackathon
Seattle AT&T HackathonSeattle AT&T Hackathon
Seattle AT&T Hackathon
 
TrainT&T - Intern Coding Challenge
TrainT&T - Intern Coding ChallengeTrainT&T - Intern Coding Challenge
TrainT&T - Intern Coding Challenge
 
Jason Yu, AT&T
Jason Yu, AT&TJason Yu, AT&T
Jason Yu, AT&T
 
Webinar: How AT&T is Using Tin Can to Enhance Compliance Training 8/27/14
Webinar: How AT&T is Using Tin Can to Enhance Compliance Training 8/27/14Webinar: How AT&T is Using Tin Can to Enhance Compliance Training 8/27/14
Webinar: How AT&T is Using Tin Can to Enhance Compliance Training 8/27/14
 
The CEO’s Guide to Cyberbreach Response
The CEO’s Guide to Cyberbreach ResponseThe CEO’s Guide to Cyberbreach Response
The CEO’s Guide to Cyberbreach Response
 

More from Doug Sillars

Fastandbeautiful belfast
Fastandbeautiful belfastFastandbeautiful belfast
Fastandbeautiful belfast
Doug Sillars
 
Fastandbeautiful gdg sacremento
Fastandbeautiful gdg sacrementoFastandbeautiful gdg sacremento
Fastandbeautiful gdg sacremento
Doug Sillars
 
Fastandbeautiful gd glittlerock
Fastandbeautiful gd glittlerockFastandbeautiful gd glittlerock
Fastandbeautiful gd glittlerock
Doug Sillars
 
Fastandbeautiful webinale
Fastandbeautiful webinaleFastandbeautiful webinale
Fastandbeautiful webinale
Doug Sillars
 
Ai powered images-pythonljubjana
Ai powered images-pythonljubjanaAi powered images-pythonljubjana
Ai powered images-pythonljubjana
Doug Sillars
 
Fastandbeautiful zagrebtechsauna
Fastandbeautiful zagrebtechsaunaFastandbeautiful zagrebtechsauna
Fastandbeautiful zagrebtechsauna
Doug Sillars
 
Video js zagreb
Video js zagrebVideo js zagreb
Video js zagreb
Doug Sillars
 
Vkmdp cologne
Vkmdp cologneVkmdp cologne
Vkmdp cologne
Doug Sillars
 
Ai powered images-gdgtirana
Ai powered images-gdgtiranaAi powered images-gdgtirana
Ai powered images-gdgtirana
Doug Sillars
 
A rt gallery pantalks
A rt gallery pantalksA rt gallery pantalks
A rt gallery pantalks
Doug Sillars
 
Ai powered images-sarajevo
Ai powered images-sarajevoAi powered images-sarajevo
Ai powered images-sarajevo
Doug Sillars
 
A rt gallery hub387
A rt gallery hub387A rt gallery hub387
A rt gallery hub387
Doug Sillars
 
Ai powered images-zurichpydata
Ai powered images-zurichpydataAi powered images-zurichpydata
Ai powered images-zurichpydata
Doug Sillars
 
Fastandbeautiful vienna
Fastandbeautiful viennaFastandbeautiful vienna
Fastandbeautiful vienna
Doug Sillars
 
Ai powered images-opieaivienna
Ai powered images-opieaiviennaAi powered images-opieaivienna
Ai powered images-opieaivienna
Doug Sillars
 
A rt gallery devfestlondon
A rt gallery devfestlondonA rt gallery devfestlondon
A rt gallery devfestlondon
Doug Sillars
 
Fastandbeautiful devfest london
Fastandbeautiful devfest londonFastandbeautiful devfest london
Fastandbeautiful devfest london
Doug Sillars
 
A rt gallery cardiff
A rt gallery cardiffA rt gallery cardiff
A rt gallery cardiff
Doug Sillars
 
Ai powered images-mobileera
Ai powered images-mobileeraAi powered images-mobileera
Ai powered images-mobileera
Doug Sillars
 
Fastandbeautiful oredev
Fastandbeautiful oredevFastandbeautiful oredev
Fastandbeautiful oredev
Doug Sillars
 

More from Doug Sillars (20)

Fastandbeautiful belfast
Fastandbeautiful belfastFastandbeautiful belfast
Fastandbeautiful belfast
 
Fastandbeautiful gdg sacremento
Fastandbeautiful gdg sacrementoFastandbeautiful gdg sacremento
Fastandbeautiful gdg sacremento
 
Fastandbeautiful gd glittlerock
Fastandbeautiful gd glittlerockFastandbeautiful gd glittlerock
Fastandbeautiful gd glittlerock
 
Fastandbeautiful webinale
Fastandbeautiful webinaleFastandbeautiful webinale
Fastandbeautiful webinale
 
Ai powered images-pythonljubjana
Ai powered images-pythonljubjanaAi powered images-pythonljubjana
Ai powered images-pythonljubjana
 
Fastandbeautiful zagrebtechsauna
Fastandbeautiful zagrebtechsaunaFastandbeautiful zagrebtechsauna
Fastandbeautiful zagrebtechsauna
 
Video js zagreb
Video js zagrebVideo js zagreb
Video js zagreb
 
Vkmdp cologne
Vkmdp cologneVkmdp cologne
Vkmdp cologne
 
Ai powered images-gdgtirana
Ai powered images-gdgtiranaAi powered images-gdgtirana
Ai powered images-gdgtirana
 
A rt gallery pantalks
A rt gallery pantalksA rt gallery pantalks
A rt gallery pantalks
 
Ai powered images-sarajevo
Ai powered images-sarajevoAi powered images-sarajevo
Ai powered images-sarajevo
 
A rt gallery hub387
A rt gallery hub387A rt gallery hub387
A rt gallery hub387
 
Ai powered images-zurichpydata
Ai powered images-zurichpydataAi powered images-zurichpydata
Ai powered images-zurichpydata
 
Fastandbeautiful vienna
Fastandbeautiful viennaFastandbeautiful vienna
Fastandbeautiful vienna
 
Ai powered images-opieaivienna
Ai powered images-opieaiviennaAi powered images-opieaivienna
Ai powered images-opieaivienna
 
A rt gallery devfestlondon
A rt gallery devfestlondonA rt gallery devfestlondon
A rt gallery devfestlondon
 
Fastandbeautiful devfest london
Fastandbeautiful devfest londonFastandbeautiful devfest london
Fastandbeautiful devfest london
 
A rt gallery cardiff
A rt gallery cardiffA rt gallery cardiff
A rt gallery cardiff
 
Ai powered images-mobileera
Ai powered images-mobileeraAi powered images-mobileera
Ai powered images-mobileera
 
Fastandbeautiful oredev
Fastandbeautiful oredevFastandbeautiful oredev
Fastandbeautiful oredev
 

Mobile Performance at London Web Perf Mettup

  • 1. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Doug Sillars Native Mobile Performance AT&T Developer Advocacy @Dougsillars Your App is Not a Black Box
  • 2. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. • Christmas Day Sale: John Lewis – 75% traffic from Mobile • Amazon – 70% shopped on Mobile Mobile is Huge http://www.theguardian.com/business/2015/dec/27/online-christmas-sales-shoppers- new-record-store-frenzy http://phx.corporate-ir.net/phoenix.zhtml?c=176060&p=irol-newsArticle&ID=2125057
  • 3. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Mobile Website Size (2011-2015) Source: HTTPArchive
  • 4. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Source: GSMA Intelligence 4G Subscriber Base
  • 5. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. App Startup 91% https://t.co/7bMT4A1PIt 49% 72%
  • 6. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. App Conversions by Install Size https://lightspeedindia.wordpress.com/2014/06/12/unbundling-mobile-apps-for-the-emerging-markets/
  • 7. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. http://blog.jana.com/2015/01/26/the-data-trap/ Hours of Work at Minimum Wage to Buy 500MB
  • 8. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. https://www.flickr.com/photos/photocapy/43580405/sizes/o/in/photostream © 2016 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T.
  • 9. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Testing is Key • 44% of all issues are reported by users • 20% issues were only found because of complaints in app reviews http://info.perfectomobile.com/rs/perfectomobile/images/why-apps-fail-infographic.pdf
  • 10. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. • Memory • CPU • Screen Rendering • Battery Life • Network Connectivity Aspects of Performance Testing
  • 11. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Android Memory
  • 12. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Android Memory CRASH!!
  • 13. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Garbage Collection in Logs I/art: Explicit concurrent mark sweep GC freed 16519(1029KB) AllocSpace objects, 1(81KB) LOS objects, 14% free, 96MB/112MB, paused 1.660ms total 64.375ms 01-11 22:29:56.690 10222-10222/I/iceberg: Captain, I think we might have hit something. 01-11 22:29:57.544 10222-10222/I/iceberg: Captain, I think we might have hit something. 01-11 22:30:00.745 10222-10222/I/iceberg: Captain, I think we might have hit something. 01-11 22:30:01.233 10222-10247/I/art: Explicit concurrent mark sweep GC freed 17289(1157KB) AllocSpace objects, 1(81KB) LOS objects, 13% free, 102MB/118MB, paused 750us total 45.946ms 01-11 22:30:01.762 10222-10222/I/iceberg: Captain, I think we might have hit something. 01-11 22:30:04.105 10222-10222/I/iceberg: Captain, I think we might have hit something. 01-11 22:30:04.792 10222-10222/I/iceberg: Captain, I think we might have hit something. 01-11 22:30:05.908 10222-10247/I/art: Explicit concurrent mark sweep GC freed 9906(617KB) AllocSpace objects, 3(1121KB) LOS objects, 12% free, 108MB/124MB, paused 823us total 41.475ms 01-11 22:30:06.638 10222-10222/I/iceberg: Captain, I think we might have hit something. 01-11 22:30:07.288 10222-10222/I/iceberg: Captain, I think we might have hit something. 01-11 22:30:07.953 10222-10222/I/iceberg: Captain, I think we might have hit something.
  • 14. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Android Memory Eclipse MAT Analyze Heap dumps Leak Canary: https://github.com/square/leakcanary https://corner.squareup.com/2015/05/leak-canary.html Square: 94% Drop in OOM crashes!
  • 15. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Live Demo
  • 16. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Performance is a Key Update Feature
  • 17. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Mobile Performance Is Performance REALLY that important? Yes! https://t.co/7bMT4A1PIt
  • 18. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. • AT&T’s Application Resource Optimizer • Free • Open Source • iOS/Android (no root) • Network traces on Device • Grades against 25 Best Practices • http://Developer.att.com/ARO Testing Your App’s Network Performance
  • 19. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. • Cellular Networks are High Latency Environments • Not Optimizing Your Content can lead to delays: • 500ms: • 26% frustration • 8% engagement • Amazon.com & Walmart: • 100ms delay • 1% revenue • 4% of mobile users admit to throwing their phones Mobile Apps Are Highly Network Dependent http://www.flickr.com/photos/9009139@N08/1263954439 http://blog.radware.com/applicationdelivery/applicationaccelerationoptimization/2013/12/mobile-web-stress-the-impact-of-network-speed-on-emotional-engagement-and-brand-perception-report http://www.mobilejoomla.com/mobile-joomla-blog/172-responsive-design-vs-server-side-solutions-infographic.html
  • 20. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Mobile Networks Drain Battery • Data Connections account for: • 40% of battery use (screen on) • 70% screen off
  • 21. ARO Speed • Android VPN Trace Collection https://pixabay.com/en/phone-smatphone-android-vector-804792/ https://commons.wikimedia.org/wiki/File:Man_made_communication_tower.svg VPN
  • 22. ARO Speed • Android VPN Trace Collection VPN Werner Heisenberg: Observer effect: Measurements of a system cannot be made without affecting the system ARO 4.1 had significant latency (10-100ms per round trip) ARO 5.0 only 1-2ms added per round trip.
  • 23. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Live Demo of ARO
  • 24. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. • sh arocli.sh --startcollector vpn_android --output /Users/Demo/AROcli5 --video yes • sh arocli.sh --analyze /Users/demo/AROcli5 --output /Users/demo/AROcli5/out.html --format html • sh arocli.sh --analyze /Users/demo/AROcli5 --output /Users/demo/AROcli5/out.json –format json But – What About Automated Testing?
  • 25. ARO Integration into your CI testing Automated test ARO –startcollector Stop ARO–analyze Build Reports Performance! Deploy
  • 26. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. HTTPS Traffic Test data through a proxy: Charles or MITMProxy Decrypts all the data COMING SOON to ARO.
  • 27. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. © 2016 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. https://www.flickr.com/photos/jaumescar/8793922986
  • 28. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. https://upload.wikimedia.org/wikipedia/commons/1/10/Florida_Gopher_Tortoise.jpg © 2016 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change.
  • 29. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. © 2016 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T.
  • 30. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. http://bit.ly/HighPerfAndroidApps
  • 31. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. PubConf.io
  • 32. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Q&A https://www.charlesproxy.com/ https://mitmproxy.org/ http://developer.att.com/application-resource-optimizer http://bit.ly/HighPerfAndroidApps https://github.com/square/leakcanary
  • 33. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. AT&T DriveMode https://en.wikipedia.org/wiki/Texting_while_driving#/media/File:Notextinganddriving WestUTX.JPG
  • 34. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. AT&T DriveMode - 2013 Good Idea Stop Device from receiving phone calls and SMS when the phone is in a car > 25 MPH Route to Voicemail/ Send SMS reply “I’m Driving.” Poor Implementation Google Play reviews: excessive battery drain 40
  • 35. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. AT&T DriveMode for Android - 2013 3 min 480 GPS connections/24hr ~20% Battery Good Idea Poor Implementation Fix bug: App was going into “drive mode” when not driving.
  • 36. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. AT&T DriveMode for Android Use activity APIs to identify when your users are in motion 11 minute trace DetectedActivity.IN_VEHICLEDetectedActivity.ON_BICYCLE:DetectedActivity.ON_FOOT: http://commons.wikimedia.org/wiki/File:Baby_goats_jan_2007_crop.jpg http://commons.wikimedia.org/wiki/File:Goat_in_a_car.jpg http://commons.wikimedia.org/wiki/File:2009_goat_and_bicycle_in_India_6512003001.jpg
  • 37. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. “Its déjà vu all over again.” • Yogi Berra AT&T Drive Mode – iOS (2014) https://commons.wikimedia.org/wiki/File:Yogi_Berra_1956.png New application is getting poor reviews in app store for battery drain
  • 38. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. AT&T Drive Mode - iOS Good Idea Poor Implementation Collect Analytics
  • 39. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. AT&T Drive Mode - iOS
  • 40. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. AT&T Drive Mode - iOS
  • 41. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. • Excessive Battery Drain • Android • Long background testing • iOS • Network trace while driving • Test! AT&T Drive Mode Similar Symptoms - Different Culprits
  • 42. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Streaming Radio App
  • 43. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Streaming Radio App
  • 44. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Streaming Radio App
  • 45. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Streaming Radio App DATA: 45% metadata 15% Images <40% of data consumed is Music! Good Idea Poor Implementation Critical KPI – report what is playing on other “channels” with 10s accuracy.
  • 46. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Streaming Radio Metadata
  • 47. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Metadata DATA: 18% metadata 20% Images ~60% of data consumed is Music!
  • 48. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. • Ensure you have Gzip enabled in your app, and on your server. • Cache files • Send only changes Streaming Music Metadata
  • 49. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Music Streaming –Album Art Good Idea Poor Implementation Use a CDN to host all Album Art API call uses a 302 redirect to access image files 16 requests 8 API calls - 302 redirect 1.16s 8 CDN calls – download images 1.25s
  • 50. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Redirects Add Latency 115s of added latency ~10% of test
  • 51. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. • Have API retrieve the image and send to the device • Eliminate request • Eliminate several RTs Redirects add Latency
  • 52. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Broken Links 21% of redirects have no target
  • 53. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Track Movement • New version: • 18x more connections than this app’s architecture team expected • The triage team discovered that IP/port collisions = loss in sales Good Idea Poor Implementation • Connecting to the network every 5 seconds – • reusing the same connection Created a new connection every 5s
  • 54. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. World Famous Goat Racing Was $79, Now $39 User has to wait for image to load Image Usage Downloading the same image twice, in different sizes, doesn’t make sense. Download it once and use it in multiple ways. 54 kb 198 kb World Famous Goat Racing Was $79, Now $39 Good Idea Poor Implementation App with Rich image usage
  • 55. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. • Apps with Multiple & Frequent updates: • Dial in usage • Squash Bugs • Improve Performance • Testing! Killer App
  • 56. © 2015 AT&T Intellectual Property. All rights reserved. AT&T, the AT&T logo and all other marks contained herein are trademarks of AT&T Intellectual Property and/or AT&T affiliated companies. All other marks contained herein are the property of their respective owners. Information contained herein is not an offer, commitment, representation or warranty by AT&T and is subject to change. Mention of a specific company or entity is not an endorsement by AT&T. Thank You

Editor's Notes

  1. TK: Hi Everyone and Thank you for joining us. Today we’re going to be talking about App Performance, specifically we’ll be looking at real examples of mistakes that some of the top apps make, so that you can avoid them. We’ll also give you a simple testing plan to improve your own app, before the app store reviews get ahold of them.
  2. TK: Hi Everyone and Thank you for joining us. Today we’re going to be talking about App Performance, specifically we’ll be looking at real examples of mistakes that some of the top apps make, so that you can avoid them. We’ll also give you a simple testing plan to improve your own app, before the app store reviews get ahold of them.
  3. Ideal size for non-game app is 10-15 MB – for india below 5 MB
  4. DS
  5. DS
  6. DS: Drive mode - GPS Battery impact Utilize existing API’s to identify user movements
  7. DS: http://commons.wikimedia.org/wiki/File:Baby_goats_jan_2007_crop.jpg http://commons.wikimedia.org/wiki/File:Goat_in_a_car.jpg http://commons.wikimedia.org/wiki/File:2009_goat_and_bicycle_in_India_6512003001.jpg
  8. TK We lovingly call thumbnails…. Dumbnails in our group. Downloading the same image twice, just doesn’t make since. Download it once and use it multiple ways. You can see these cute little Racing goats here, but when you click on the offer, you are faced with a blank screen. Meanwhile the app has requested a new image to be downloaded…. It’s the same image… 4 times larger…. Remember just 100 milliseconds decreases amazon’s revenue by 1% if the user is faced with a blank page for several seconds, chances are the user is going to not wait for that image to load. Reusing that initial image from cache would be displayed almost instantaneously. What we aren’t showing here is that when the user clicks on the goat racing deal, They encounter a blank page while that second image downloads… Image: http://www.buzzfeed.com/ailbhemalone/6-adorable-photos-of-the-oxford-cambridge-goat-race