I am writing a simple starter application on GAE which is a actually a chat room. instead of busy polling the server for new message, I implemented the "wait, response, re-connect" approach with 20s timeout as GAE does not allow any request that hold more than 30 seconds.
the chat room uses BlockingQueue for message exchange and listen for new messages, whenever it got message, it "push" the message to clients. all the application works very well in my local computer with GAE simlutaion. However, after I uploaded the application to GAE service, most of my client cannot talk with each others. I think that google deploys my application to mulitple servers that may my message holder - BlockingQueue not be singleton anymore, thus messages are lose. would any experts here give me some advices to solve the problem, thanks:P --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
