This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I need to save some data in server and share to many users. I cannot save them in cookie, session. because they are in client and cannot be shared to each other. The only methed I found is save them to database, but for some temporary and often changed data that may be a bad idea. Can I just save them in the memory of Server?
I want to make a ajax-based card web game, there are many temporary data, like how much life left, how much mana left, which card he has... for every action of the user I need to update the database. it's like every second for each online user one update on database! So I just thinking about other method. I think for the traditional online game, which connects with UDP/TCP, they have no such problem, they just save them in memory, right?