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?