The Data Collection for Game Question

39 views
Skip to first unread message

Drake

unread,
Aug 8, 2012, 1:47:09 PM8/8/12
to google-a...@googlegroups.com

I don’t have time to build a solution write now, because we are too close to our own product launch, but in thinking about this I wondered about Channel API between servers….

 

This is a solution I have been thinking about and if someone knows why it won’t work that might save me some headache or might reduce theirs if it works.

 

Could you not have frontends use the channel API to send the data to the backend.  The data would be streamed to the backend and the buffer in the channel would allow the backend to read the stream of data in to its memory. The calculations could be done, and then written to datastore and memcache so that when the client re-polled the scores would be correct and shared?

 

 

Kristopher Giesing

unread,
Aug 9, 2012, 1:02:41 AM8/9/12
to google-a...@googlegroups.com
I think the only client implementation for the channel API is the JavaScript one.  I'd love to be wrong though.

If there is a way to set up a Java (or Python or Go) client for the channel APIs, you would end up with semi-persistent http connections between channel service and backend.  I don't know what that would do to the rest of the backend's processing, but it could hardly be worse than paying for nine extra backend instances...

- Kris

alex

unread,
Aug 9, 2012, 4:41:06 AM8/9/12
to google-a...@googlegroups.com
I think you meant XMPP (though Channels API are indeed based on XMPP). 
As Kris mentioned, Channel client is available only in JS whereas XMPP is for a server side (i.e. what you probably need).
Reply all
Reply to author
Forward
0 new messages