Write For Us

DevBytes: Efficient Data Transfers - Eliminating Polling with Google Cloud Messaging

E-Commerce Solutions SEO Solutions Marketing Solutions
545 Views
Published
Efficient Data Transfers: Eliminating Polling with Google Cloud Messaging

One of the most effective ways you have at your disposal for optimizing the efficiency of your data transfers is eliminating user-driven updates.

That means, doing everything you can to eliminate the refresh button within your app. The most common reason people hit refresh, is because they don't believe your app is displaying up-to-date information -- and if you're using some form of client-side polling, they're probably right. Instead, use Google Cloud Messaging to have your server notify your app when there is data ready to be downloaded -- or even include the new data in the message payload itself.

Further Reading and Sample Code:


(Episode 5 of 7)
By Reto Meier
Category
Phone
Sign in or sign up to post comments.
Be the first to comment