Hi i am new to this forum, though i've came a bunch of time

!
The question is in the subject, i am wondering for a game (and the complexity involved) if pulling from the DB everytime a paged is refreshed is very performance efficient instead of storing anything needed in memory and make DB calls only when writing to the DB ?
Example : say you have a dashboard "? la" robowars.com, the thing is neat, but as it works stateless, every refresh => reload the dashboard from the DB, of course on SQL SELECT, if i am not wrong mysql does query caching so the user is pulled from the cache instead of the whole DB...
Now if the whole thing was build on the fly by first storing all the characters status in a session, and then the dashboard would not have to be pulled from the DB at all,and with a class of some sort that take the user id as parameter, we could invoke methods such has storing bank/training etc etc...
If think that the second choice, while "'worse" on the memory side prevents DB I/O bottlenecking if a lot of users are playing at the same time. Anyway a game of this sort wouldn't play on a shared host, most likely a dedicated server..
What's your thought about that ? most applications/games uses stateless (ie DB calls every pages even if there is no action taken) and then when the game gets slow they just upgrade the server (while i think to a certain extent should be done at one moment or another) and i think it's a bad practice fixing bad application behaviours with hardware upgrades !
Regards

PS: I am French, please bear with me if my English is far from good
