DevBytes: Efficient Data Transfers - Batching, Bundling, and SyncAdapters
Efficient Data Transfers: Batching, Bundling, and SyncAdapters
Every time you initiate a connection you cause a typical 3G wireless radio to continue drawing power, for upwards of 20 seconds. Episode 4 of the Efficient Data Transfers series of DevBytes looks at how you can use tools like SyncAdapters to batch and bundle data transfers - effectively phase-shifting them - to produce a highly efficient, defragmented network traffic profile.
The underlying philosophy is to reduce the number of transfer sessions by designing for a small number of large downloads -- batching up all our delay tolerant transfers and bundling them together with time sensitive ones.
Further Reading and Sample Code:
http://developer.android.com/training/efficient-downloads/efficient-network-access.html#BatchTransfers
http://developer.android.com/training/sync-adapters/index.html
Presented by Reto Meier
Episode 4 of 7