Hi guys, I'm creating an online game server with GAE and there's a few concerns that I'd like to ask for advice.
One of my problem is that I need to manage a lot of information that would not make sense to be stored in database. Like the status of each player, the last time server seen such player, his current position in the game. I'd like to store all of these information in the memory and periodically persist back to the data store. Problem is (correct me if I'm wrong) that GAE may shutdown my app and restart it on different server at any time, so, data in memory would be gone and I need to reload them from the database. But, certainly, if GAE Server restart my app before the periodical saving happens, then the status of players may be gone without my ability to recover back from database. And, these data are subject to high change, so, persist them to data store frequently would not be sensible. So, I may encounter problems to keep these data in memory. And I may also encounter performance problem to constantly persist these data to data store. So, would you guys please give me some advice? Am I missing some thing or there should be any technology/tricks that can be employed on GAE that can facilitate me to build such online game like this? Thanks. Phuong -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.