I have a big app running on AppEngine standard, python 2.7.

It’s tracking analytics info from dozens of apps in the field, and I’m thinking 
about adding a “real time” feature, similar to what google analytics has. A web 
client would show inbound hits on a map as they occur, for example.

While the incoming data has some scale (not massive, typically about 4 
instances), there will never be a lot of people viewing the output. 2 or 3 at a 
time, at most. Usually 0.

I’m wondering whether folks in this group have advice on the best approach to 
send a real-time data flow into the web pages.

- WebSockets seems logical, but it looks like GAE standard doesn’t support them
- I could run a websockets server somewhere else (EC2?) and somehow (?) send 
messages from GAE to that for distribution
- I looked at gcloud PubSub, but that seems to be more of a server->server tool 
than a way to send messages to web apps
- I looked at gcloud message, but that seems ill suited to use in web pages
- Polling sounds expensive, since I’d need to create lots and lots of temporary 
database items for the messages

Is there some other tool or technique out there that I should investigate?

-Joshua

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1BD53305-A562-44EC-92E6-8C5331FEF958%40gmail.com.

Reply via email to