Google App Engine, Java, and HTTP Performance

Posted by polyclef on Stack Overflow See other posts from Stack Overflow or by polyclef
Published on 2010-01-07T15:40:46Z Indexed on 2010/03/14 22:45 UTC
Read the original article Hit count: 167

Filed under:
|
|
|

A friend and I are currently working on a turn-based game with chat with both desktop browser and Android clients, with Google App Engine as the server.

We're using the Java API for GAE and using HTTP for communication with the server. We've implemented simple chat functionality, and we're getting undesirable latencies 1-3 seconds from both the browser and Android clients while just posting simple one-word chat messages.

My friend thought it would be best to use XMPP instead of HTTP, but we want to use a Google Accounts cookie for authentication from the Android client, and according to the GAE documentation, XMPP clients cannot use a Google Accounts cookie and must use the user's password.

Does anyone have any suggestions as to where the latency might be coming from, how to troubleshoot it, and/or what to do about it?

Also, is anyone aware of any opensource implementations of chat (or something similar) on GAE done in Java? Can't seem to find any.

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about java