Friday, May 10, 2013

Chromium Blog: Building efficient apps and extensions with push messaging

Chromium Blog: Building efficient apps and extensions with push messaging:

'via Blog this'

Event pages keep apps and extensions efficient by allowing them to respond to a variety of events such as timers or navigation to a particular site, without having to remain running persistently. But what if you need to respond to something that occurs outside of Chrome, such as a news alert, a message sent to a user or a stock hitting a price threshold? Until now, you had to do this by repeatedly polling a server. This process consumed bandwidth and reduced the battery life of your users’ machines. For a more efficient solution, starting today you can use Google Cloud Messaging for Chrome (GCM) - across all channels of Chrome.
Hmm, looks like this could come in handy for Google Now updates, or some sort of messenger.....

No comments:

Post a Comment