3 ms·
So if I understand this correctly the game state was kept in memory in variables/data structures and then once in a while saved down to the DB. Why not just sav
by Kiro 11y ago
So if I understand this correctly the game state was kept in memory in variables/data structures and then once in a while saved down to the DB. Why not just save stuff as they happen? Seem like the most obvious solution to avoid rollbacks.
- pjc50 11y agoDo you save write-through or write-back? If you save write-through your game is blocked on your disk write speed, which is not very high, and if you save write-back then (unless you're very careful with journalling) you run the risk of inconsistent state. (Remember, this was 15-20 years of Moore's law ago so price/performance was about a thousand times worse than today)