We do that in this way: 1) appengine offers datastore and our api's. 2) we have a memory service that is hosted on compute engine. 3) when an event happens on our appengine api's, we ping the memory service in compute engine. 4) in compute engine, if that event requires a real time update, we stream back to the clients.
Compute engine allows you to implement any kind of common real-time architecture: - apache-mina - node.js websockets. etc. On Mon, Apr 6, 2015 at 8:24 AM, Daniel Robinson < [email protected]> wrote: > Is there any articles on writing real time web apps in app engine? I'm > thinking along the lines of a simple multiplayer game or chat app. I wanted > to be able to store objects in the datastore and memcache and when they are > updated let some pending http request detect the change and return the > response to the client, pereferably without the pending request having to > keep polling memcache and the datastore, though I'm not sure if such a > thing is possible. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-appengine. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/d7c098b6-075e-4127-ac9e-8163884a6afb%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/d7c098b6-075e-4127-ac9e-8163884a6afb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CALdMK1yn5o948ULmfLMibpgcH%2BW%2BJeY9m7ecykheD-6NkpaCHw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
