Reputation: 107
My GAE application has a server-side program (run in Google App Engine) and a client-side program. Is there any elegant way to send message from the server to the client program? The socket is not allowed in GAE and the channel API is not applicable since the client program is not a browser. The only way I can think of is to let the client program check the server status from time to time (like every 5 seconds). The program is that it eats up the expensive frontend instance hours even only memcache is used. Any suggestions? Thanks!
Upvotes: 1
Views: 402
Reputation: 12736
You can do this via XMPP API. https://developers.google.com/appengine/docs/java/xmpp/overview
Upvotes: 0
Reputation: 21835
I would suggest you to use PubNub where you can find lots of examples/tutorials in various platforms. It's pretty easy to integrate it with just few lines of code and you'll have push notifications.
Upvotes: 1
Reputation: 526753
You could use the pubsubhubbub
community server at http://pubsubhubbub.appspot.com/ to push updates to your client.
Upvotes: 0