General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
TheEVEInspiration
Developer Voices
comments
Comments by "TheEVEInspiration" (@TheEVEInspiration) on "What can game programming teach us about databases? (with Tyler Cloutier)" video.
I think the architecture will be quite difficult to do model updates on. Because each server node and client node needs to use the same code/model. I can see a full shutdown of all clients required. Then let the server nodes sync up. Validate this. Then do model/code updates in single user mode. Link up again and validate shared state. Then update clients and re-connect them. As for storing all historical transactions Model changes and game rule changes mess with historical data. Historical transactions cannot really be replayed fully after a change, if it are actions (that would require the code as it was back then, bugs included). But if it is just a log of what was decided and approved, then information is lost and it becomes increasingly harder to interpret the data due to changes over time. I kind of look at it in the same way I look at persistent memory (computers that never boot up, programs that never shut down). That I will never trust, every bug is permanently ingrained in the OS/program state and permanent. For the same reasons object databases that simply act as virtual persistent memory are not trustworthy. Overal, I think it is an interesting idea, but fear that in practice it will be too restrictive and clog up over time.
3
21:38 "everything is a database" Depends on how you mean it, if that is true or not. If it means all state can be persistent, then if it not true. But if it means, every state can be accessed as if it were a database, sure, there is something to be said about that. Treating state itself as something that is persistent is enormously rigid and error prone. Every now and then someone or some institution thinks they found the light and memory needs to be persistent. That might work out well for biological systems that are inaccurate and forgetful and have Neuroplasticity. But it is a terrible concept for anything else. Think of error accumulation, having bugs forever persistent in ones program state is just plain wrong. What if a developer wants to use a different algorithm, how to transition the current state to that new one? You can see the nightmare and potential for bugs developing right in front of your eyes now, don't you?
2
27:47 as long as the server still validates every client input as according to the game rules, this is ok. But there is no way around the server needing to have game knowledge, can't trust clients to send valid data according to game rules!
2