SlideShare una empresa de Scribd logo
1 de 19
Descargar para leer sin conexión
Efficient Data
Transfer in Android
Ralph Pina
Topics
- Radio state machine
- Big vs small cookie model
- Best practices
- Analyze your data transfer
- Resources for those interested
Radio State Machine
Full power: Used when a connection is active, allowing the device to transfer data at its highest possible rate.
Low power: An intermediate state that uses around 50% of the battery power at the full state.
Standby: The minimal energy state during which no network connection is active or required.
- AT&T timing for 3G
And then… show the user
Bundle Data Transfers
More graphs!
Wow power!
Prefetch!
“The single most important
measure: transmit as much data as
possible in a single burst and then
end the connection.”
- AT&T Labs
Parallelize!
- Parallelize requests
Download Patterns!
- Optimize download patterns based on data
connection.
- Prefetch more in 4G since you have higher
speed and it takes more power for the antenna
to come back.
More stuff!
- In Android, use SyncAdapter. Let the OS do
the the sync!
- Variable data transfers depending on usage.
- Sync when device is connected to power.
How GCM Works
- Phone connected via TCP port 5228
- Periodic heartbeat keeps the connection alive.
15 min on Wifi and 28 min on cell
Cotap Device Msging?
- Build our own MQTT server - invented by
IBM, very low power/bandwidth
- Current examples:
Eclipse Paho
Facebook Messenger and main app
Show and tell
- AT&T ARO
- supports second rate OS like
iOS and WP8!
- Android Monitor - <sdk location>/tools/monitor
Resources/Citations
- AT&T: A Call For More Energy Efficient Apps - http://www.research.att.
com/articles/featured_stories/2011_03/201102_Energy_efficient?fbid=Fp7Al9yFu9_
- AT&T ARO: https://github.com/attdevsupport/ARO
- Android Root Push Notification Fixer: https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer&hl=en
- MQTT in Android: http://mqtt.org/wiki/doku.php/mqtt_on_the_android_platform
- Facebook: Building Facebook Messanger - https://www.facebook.com/notes/facebook-engineering/building-facebook-
messenger/10150259350998920
- DevBytes: Efficient Data Transfers - Understanding the Cell Radio (8/21/13): http://www.youtube.com/watch?v=cSIB2pDvH3E
- DevBytes: Efficient Data Transfers - Analyzing Your Transfer Profile (8/28/13): https://www.youtube.com/watch?
v=cLqWYeQcG94
- DevBytes: Efficient Data Transfers - Effective Prefetching (9/4/13): http://www.youtube.com/watch?v=Rk1u7VVmadE
- Using connectivity patterns: http://developer.android.com/training/efficient-downloads/connectivity_patterns.html
- Using Sync Adapters: http://developer.android.com/training/sync-adapters/index.html
Resources/Citations
- DevBytes: Efficient Data Transfers - Batching, Bundling, and SyncAdapters (9/11/13): http://www.youtube.com/watch?
v=5onKZcJyJwI
- DevBytes: Efficient Data Transfers - Eliminating Polling with Google Cloud Messaging (9/20/13): https://www.youtube.
com/watch?v=cJbGK6cVmSM
- DevBytes: Efficient Data Transfers - Variable Update Frequencies (9/25/13): https://www.youtube.com/watch?v=9z1BfyqmsyA
- DevBytes: Efficient Data Transfers - Minimizing Payloads (10/2/13): http://www.youtube.com/watch?v=OfYLG6FXtqE
- AT&T Research - Tail Optimization Protocol: http://www.research.att.com/export/sites/att_labs/techdocs/TD_100036.pdf
- Google I/O 2014 App: https://github.com/google/iosched
- Analyzing ARO Data: https://developer.att.com/static-assets/documents/aro/ATT_ARO_Analysis_Guide_3-2.pdf
- LTE Long and Short DRX Cycles to Save Power: http://mobilesociety.typepad.com/mobile_life/2009/12/lte-long-and-short-drx-
cycles-to-save-power.html

Más contenido relacionado

Destacado

SSE Theory of Change
SSE Theory of ChangeSSE Theory of Change
SSE Theory of ChangeKudzai Makopa
 
会話・ディスカッションができる共有メモ「co-meeting」@MONOフェス
会話・ディスカッションができる共有メモ「co-meeting」@MONOフェス会話・ディスカッションができる共有メモ「co-meeting」@MONOフェス
会話・ディスカッションができる共有メモ「co-meeting」@MONOフェス株式会社co-meeting
 
Co meeting - 会議・情報共有を革新するテキストベースディスカッションツール
Co meeting - 会議・情報共有を革新するテキストベースディスカッションツールCo meeting - 会議・情報共有を革新するテキストベースディスカッションツール
Co meeting - 会議・情報共有を革新するテキストベースディスカッションツール株式会社co-meeting
 
Aberdeen International Corporate Presentation July 2016
Aberdeen International Corporate Presentation July 2016 Aberdeen International Corporate Presentation July 2016
Aberdeen International Corporate Presentation July 2016 Aberdeen_AAB
 
North American StartUps disrupting Wine&Spirits, Food and Travel
North American StartUps disrupting Wine&Spirits, Food and TravelNorth American StartUps disrupting Wine&Spirits, Food and Travel
North American StartUps disrupting Wine&Spirits, Food and TravelVincent PRETET
 
10.data transmission
10.data transmission10.data transmission
10.data transmissionDeepak Sharma
 
Inside3DPrinting_johnhornick
Inside3DPrinting_johnhornickInside3DPrinting_johnhornick
Inside3DPrinting_johnhornickMediabistro
 
JSONModel Lightning Talk
JSONModel Lightning TalkJSONModel Lightning Talk
JSONModel Lightning TalkMarin Todorov
 
Virginia Smith, Researcher, UC Berkeley at MLconf SF 2016
Virginia Smith, Researcher, UC Berkeley at MLconf SF 2016Virginia Smith, Researcher, UC Berkeley at MLconf SF 2016
Virginia Smith, Researcher, UC Berkeley at MLconf SF 2016MLconf
 
Global Insights on Venture Capital in 2014
Global Insights on Venture Capital in 2014Global Insights on Venture Capital in 2014
Global Insights on Venture Capital in 2014Vincent PRETET
 
Alex Dimakis, Associate Professor, Dept. of Electrical and Computer Engineeri...
Alex Dimakis, Associate Professor, Dept. of Electrical and Computer Engineeri...Alex Dimakis, Associate Professor, Dept. of Electrical and Computer Engineeri...
Alex Dimakis, Associate Professor, Dept. of Electrical and Computer Engineeri...MLconf
 
How Ecosystem Economics™ Predicts the Winners in the Digital Age
How Ecosystem Economics™ Predicts the Winners in the Digital AgeHow Ecosystem Economics™ Predicts the Winners in the Digital Age
How Ecosystem Economics™ Predicts the Winners in the Digital AgeJulie Meyer
 
33insights: Investing in WineTech, Global Insights
33insights: Investing in WineTech, Global Insights33insights: Investing in WineTech, Global Insights
33insights: Investing in WineTech, Global InsightsVincent PRETET
 
Daniel Shank, Data Scientist, Talla at MLconf SF 2016
Daniel Shank, Data Scientist, Talla at MLconf SF 2016Daniel Shank, Data Scientist, Talla at MLconf SF 2016
Daniel Shank, Data Scientist, Talla at MLconf SF 2016MLconf
 
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016MLconf
 
Stephanie deWet, Software Engineer, Pinterest at MLconf SF 2016
Stephanie deWet, Software Engineer, Pinterest at MLconf SF 2016Stephanie deWet, Software Engineer, Pinterest at MLconf SF 2016
Stephanie deWet, Software Engineer, Pinterest at MLconf SF 2016MLconf
 
TravelTech StartUps Survey: Global insights by 33entrepreneurs
TravelTech StartUps Survey: Global insights by 33entrepreneursTravelTech StartUps Survey: Global insights by 33entrepreneurs
TravelTech StartUps Survey: Global insights by 33entrepreneursVincent PRETET
 
Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016
Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016
Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016MLconf
 
What is VO2Max
What is VO2MaxWhat is VO2Max
What is VO2MaxSiva Raj
 

Destacado (20)

SSE Theory of Change
SSE Theory of ChangeSSE Theory of Change
SSE Theory of Change
 
会話・ディスカッションができる共有メモ「co-meeting」@MONOフェス
会話・ディスカッションができる共有メモ「co-meeting」@MONOフェス会話・ディスカッションができる共有メモ「co-meeting」@MONOフェス
会話・ディスカッションができる共有メモ「co-meeting」@MONOフェス
 
Co meeting - 会議・情報共有を革新するテキストベースディスカッションツール
Co meeting - 会議・情報共有を革新するテキストベースディスカッションツールCo meeting - 会議・情報共有を革新するテキストベースディスカッションツール
Co meeting - 会議・情報共有を革新するテキストベースディスカッションツール
 
Aberdeen International Corporate Presentation July 2016
Aberdeen International Corporate Presentation July 2016 Aberdeen International Corporate Presentation July 2016
Aberdeen International Corporate Presentation July 2016
 
North American StartUps disrupting Wine&Spirits, Food and Travel
North American StartUps disrupting Wine&Spirits, Food and TravelNorth American StartUps disrupting Wine&Spirits, Food and Travel
North American StartUps disrupting Wine&Spirits, Food and Travel
 
10.data transmission
10.data transmission10.data transmission
10.data transmission
 
Inside3DPrinting_johnhornick
Inside3DPrinting_johnhornickInside3DPrinting_johnhornick
Inside3DPrinting_johnhornick
 
JSONModel Lightning Talk
JSONModel Lightning TalkJSONModel Lightning Talk
JSONModel Lightning Talk
 
Chinese StartUps
Chinese StartUpsChinese StartUps
Chinese StartUps
 
Virginia Smith, Researcher, UC Berkeley at MLconf SF 2016
Virginia Smith, Researcher, UC Berkeley at MLconf SF 2016Virginia Smith, Researcher, UC Berkeley at MLconf SF 2016
Virginia Smith, Researcher, UC Berkeley at MLconf SF 2016
 
Global Insights on Venture Capital in 2014
Global Insights on Venture Capital in 2014Global Insights on Venture Capital in 2014
Global Insights on Venture Capital in 2014
 
Alex Dimakis, Associate Professor, Dept. of Electrical and Computer Engineeri...
Alex Dimakis, Associate Professor, Dept. of Electrical and Computer Engineeri...Alex Dimakis, Associate Professor, Dept. of Electrical and Computer Engineeri...
Alex Dimakis, Associate Professor, Dept. of Electrical and Computer Engineeri...
 
How Ecosystem Economics™ Predicts the Winners in the Digital Age
How Ecosystem Economics™ Predicts the Winners in the Digital AgeHow Ecosystem Economics™ Predicts the Winners in the Digital Age
How Ecosystem Economics™ Predicts the Winners in the Digital Age
 
33insights: Investing in WineTech, Global Insights
33insights: Investing in WineTech, Global Insights33insights: Investing in WineTech, Global Insights
33insights: Investing in WineTech, Global Insights
 
Daniel Shank, Data Scientist, Talla at MLconf SF 2016
Daniel Shank, Data Scientist, Talla at MLconf SF 2016Daniel Shank, Data Scientist, Talla at MLconf SF 2016
Daniel Shank, Data Scientist, Talla at MLconf SF 2016
 
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016
 
Stephanie deWet, Software Engineer, Pinterest at MLconf SF 2016
Stephanie deWet, Software Engineer, Pinterest at MLconf SF 2016Stephanie deWet, Software Engineer, Pinterest at MLconf SF 2016
Stephanie deWet, Software Engineer, Pinterest at MLconf SF 2016
 
TravelTech StartUps Survey: Global insights by 33entrepreneurs
TravelTech StartUps Survey: Global insights by 33entrepreneursTravelTech StartUps Survey: Global insights by 33entrepreneurs
TravelTech StartUps Survey: Global insights by 33entrepreneurs
 
Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016
Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016
Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016
 
What is VO2Max
What is VO2MaxWhat is VO2Max
What is VO2Max
 

Similar a Efficient data transfer in Android

What's New with Windows Phone - FoxCon Talk
What's New with Windows Phone - FoxCon TalkWhat's New with Windows Phone - FoxCon Talk
What's New with Windows Phone - FoxCon TalkSam Basu
 
Azure & WP7 at GRDevDay
Azure & WP7 at GRDevDayAzure & WP7 at GRDevDay
Azure & WP7 at GRDevDaySam Basu
 
Making awesome apps
Making awesome appsMaking awesome apps
Making awesome appsDroidConTLV
 
Fanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone DeveloperFanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone DeveloperSam Basu
 
Azure WP7 fire starter
Azure WP7 fire starterAzure WP7 fire starter
Azure WP7 fire starterSam Basu
 
Doug Sillars on App Optimization
Doug Sillars on App OptimizationDoug Sillars on App Optimization
Doug Sillars on App Optimizationwipjam
 
How to Lower Android Power Consumption Without Affecting Performance
How to Lower Android Power Consumption Without Affecting PerformanceHow to Lower Android Power Consumption Without Affecting Performance
How to Lower Android Power Consumption Without Affecting Performancerickschwar
 
Is your mobile app up to speed softwaresymposium
Is your mobile app up to speed softwaresymposiumIs your mobile app up to speed softwaresymposium
Is your mobile app up to speed softwaresymposiumDoug Sillars
 
PHP in a mobile ecosystem
PHP in a mobile ecosystem PHP in a mobile ecosystem
PHP in a mobile ecosystem Ivo Jansch
 
Android Pro Tips - IO 13 reloaded Event
Android Pro Tips - IO 13 reloaded EventAndroid Pro Tips - IO 13 reloaded Event
Android Pro Tips - IO 13 reloaded EventRan Nachmany
 
Azure + WP7 - CodePaLOUsa
Azure + WP7 - CodePaLOUsaAzure + WP7 - CodePaLOUsa
Azure + WP7 - CodePaLOUsaSam Basu
 
Web Enabling Variable Frequency Drives
Web Enabling Variable Frequency DrivesWeb Enabling Variable Frequency Drives
Web Enabling Variable Frequency DrivesNajam Siddiqui
 
Gaolei cv 2013 til2k
Gaolei cv 2013 til2kGaolei cv 2013 til2k
Gaolei cv 2013 til2kLei Gao
 
02/2017 Santa Clara, California: Networks of autonomous devices and their imp...
02/2017 Santa Clara, California: Networks of autonomous devices and their imp...02/2017 Santa Clara, California: Networks of autonomous devices and their imp...
02/2017 Santa Clara, California: Networks of autonomous devices and their imp...Frank Alexander Reusch
 
Communication in android
Communication in androidCommunication in android
Communication in androideleksdev
 
Incorporating Web Services in Mobile Applications - Web 2.0 San Fran 2009
Incorporating Web Services in Mobile Applications - Web 2.0 San Fran 2009Incorporating Web Services in Mobile Applications - Web 2.0 San Fran 2009
Incorporating Web Services in Mobile Applications - Web 2.0 San Fran 2009Aduci
 
Information technology
Information technologyInformation technology
Information technologyAnkit Goyal
 

Similar a Efficient data transfer in Android (20)

What's New with Windows Phone - FoxCon Talk
What's New with Windows Phone - FoxCon TalkWhat's New with Windows Phone - FoxCon Talk
What's New with Windows Phone - FoxCon Talk
 
Azure & WP7 at GRDevDay
Azure & WP7 at GRDevDayAzure & WP7 at GRDevDay
Azure & WP7 at GRDevDay
 
Making awesome apps
Making awesome appsMaking awesome apps
Making awesome apps
 
Fanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone DeveloperFanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone Developer
 
Azure WP7 fire starter
Azure WP7 fire starterAzure WP7 fire starter
Azure WP7 fire starter
 
Doug Sillars on App Optimization
Doug Sillars on App OptimizationDoug Sillars on App Optimization
Doug Sillars on App Optimization
 
How to Lower Android Power Consumption Without Affecting Performance
How to Lower Android Power Consumption Without Affecting PerformanceHow to Lower Android Power Consumption Without Affecting Performance
How to Lower Android Power Consumption Without Affecting Performance
 
Facebook_TIP_Nov
Facebook_TIP_NovFacebook_TIP_Nov
Facebook_TIP_Nov
 
Facebook and Telecom
Facebook and TelecomFacebook and Telecom
Facebook and Telecom
 
Is your mobile app up to speed softwaresymposium
Is your mobile app up to speed softwaresymposiumIs your mobile app up to speed softwaresymposium
Is your mobile app up to speed softwaresymposium
 
QSpiders - Cloud computing(cloud server)
QSpiders - Cloud computing(cloud server)QSpiders - Cloud computing(cloud server)
QSpiders - Cloud computing(cloud server)
 
PHP in a mobile ecosystem
PHP in a mobile ecosystem PHP in a mobile ecosystem
PHP in a mobile ecosystem
 
Android Pro Tips - IO 13 reloaded Event
Android Pro Tips - IO 13 reloaded EventAndroid Pro Tips - IO 13 reloaded Event
Android Pro Tips - IO 13 reloaded Event
 
Azure + WP7 - CodePaLOUsa
Azure + WP7 - CodePaLOUsaAzure + WP7 - CodePaLOUsa
Azure + WP7 - CodePaLOUsa
 
Web Enabling Variable Frequency Drives
Web Enabling Variable Frequency DrivesWeb Enabling Variable Frequency Drives
Web Enabling Variable Frequency Drives
 
Gaolei cv 2013 til2k
Gaolei cv 2013 til2kGaolei cv 2013 til2k
Gaolei cv 2013 til2k
 
02/2017 Santa Clara, California: Networks of autonomous devices and their imp...
02/2017 Santa Clara, California: Networks of autonomous devices and their imp...02/2017 Santa Clara, California: Networks of autonomous devices and their imp...
02/2017 Santa Clara, California: Networks of autonomous devices and their imp...
 
Communication in android
Communication in androidCommunication in android
Communication in android
 
Incorporating Web Services in Mobile Applications - Web 2.0 San Fran 2009
Incorporating Web Services in Mobile Applications - Web 2.0 San Fran 2009Incorporating Web Services in Mobile Applications - Web 2.0 San Fran 2009
Incorporating Web Services in Mobile Applications - Web 2.0 San Fran 2009
 
Information technology
Information technologyInformation technology
Information technology
 

Más de Cotap Engineering

Más de Cotap Engineering (7)

How to video.
How to video.How to video.
How to video.
 
Notes on Debugging
Notes on DebuggingNotes on Debugging
Notes on Debugging
 
MQTT
MQTTMQTT
MQTT
 
Security best practices.
Security best practices.Security best practices.
Security best practices.
 
Natural language processing in iOS / OSX
Natural language processing in iOS / OSXNatural language processing in iOS / OSX
Natural language processing in iOS / OSX
 
Startup survival lessons
Startup survival lessonsStartup survival lessons
Startup survival lessons
 
Architecting for the Cloud: Hoping for the best, prepared for the worst
Architecting for the Cloud: Hoping for the best, prepared for the worstArchitecting for the Cloud: Hoping for the best, prepared for the worst
Architecting for the Cloud: Hoping for the best, prepared for the worst
 

Último

Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spaintimesproduction05
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
 

Último (20)

Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 

Efficient data transfer in Android

  • 1. Efficient Data Transfer in Android Ralph Pina
  • 2. Topics - Radio state machine - Big vs small cookie model - Best practices - Analyze your data transfer - Resources for those interested
  • 3. Radio State Machine Full power: Used when a connection is active, allowing the device to transfer data at its highest possible rate. Low power: An intermediate state that uses around 50% of the battery power at the full state. Standby: The minimal energy state during which no network connection is active or required. - AT&T timing for 3G
  • 4.
  • 5.
  • 6. And then… show the user
  • 10. Prefetch! “The single most important measure: transmit as much data as possible in a single burst and then end the connection.” - AT&T Labs
  • 12. Download Patterns! - Optimize download patterns based on data connection. - Prefetch more in 4G since you have higher speed and it takes more power for the antenna to come back.
  • 13.
  • 14. More stuff! - In Android, use SyncAdapter. Let the OS do the the sync! - Variable data transfers depending on usage. - Sync when device is connected to power.
  • 15. How GCM Works - Phone connected via TCP port 5228 - Periodic heartbeat keeps the connection alive. 15 min on Wifi and 28 min on cell
  • 16. Cotap Device Msging? - Build our own MQTT server - invented by IBM, very low power/bandwidth - Current examples: Eclipse Paho Facebook Messenger and main app
  • 17. Show and tell - AT&T ARO - supports second rate OS like iOS and WP8! - Android Monitor - <sdk location>/tools/monitor
  • 18. Resources/Citations - AT&T: A Call For More Energy Efficient Apps - http://www.research.att. com/articles/featured_stories/2011_03/201102_Energy_efficient?fbid=Fp7Al9yFu9_ - AT&T ARO: https://github.com/attdevsupport/ARO - Android Root Push Notification Fixer: https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer&hl=en - MQTT in Android: http://mqtt.org/wiki/doku.php/mqtt_on_the_android_platform - Facebook: Building Facebook Messanger - https://www.facebook.com/notes/facebook-engineering/building-facebook- messenger/10150259350998920 - DevBytes: Efficient Data Transfers - Understanding the Cell Radio (8/21/13): http://www.youtube.com/watch?v=cSIB2pDvH3E - DevBytes: Efficient Data Transfers - Analyzing Your Transfer Profile (8/28/13): https://www.youtube.com/watch? v=cLqWYeQcG94 - DevBytes: Efficient Data Transfers - Effective Prefetching (9/4/13): http://www.youtube.com/watch?v=Rk1u7VVmadE - Using connectivity patterns: http://developer.android.com/training/efficient-downloads/connectivity_patterns.html - Using Sync Adapters: http://developer.android.com/training/sync-adapters/index.html
  • 19. Resources/Citations - DevBytes: Efficient Data Transfers - Batching, Bundling, and SyncAdapters (9/11/13): http://www.youtube.com/watch? v=5onKZcJyJwI - DevBytes: Efficient Data Transfers - Eliminating Polling with Google Cloud Messaging (9/20/13): https://www.youtube. com/watch?v=cJbGK6cVmSM - DevBytes: Efficient Data Transfers - Variable Update Frequencies (9/25/13): https://www.youtube.com/watch?v=9z1BfyqmsyA - DevBytes: Efficient Data Transfers - Minimizing Payloads (10/2/13): http://www.youtube.com/watch?v=OfYLG6FXtqE - AT&T Research - Tail Optimization Protocol: http://www.research.att.com/export/sites/att_labs/techdocs/TD_100036.pdf - Google I/O 2014 App: https://github.com/google/iosched - Analyzing ARO Data: https://developer.att.com/static-assets/documents/aro/ATT_ARO_Analysis_Guide_3-2.pdf - LTE Long and Short DRX Cycles to Save Power: http://mobilesociety.typepad.com/mobile_life/2009/12/lte-long-and-short-drx- cycles-to-save-power.html