I have uploaded a Java Game Server to github. I would like to provide the following functionality to users. When the game state changes, only transmit the delta to the connected game clients, thereby reducing network load.
I have the below idea to do it.... which is pretty dump as far as I can see.
1) Serialize object before modification 2) Serialize object after modification 3) Convert both to String and find diff (not sure how, but sure some libraries will be there to do that) 4) Transmit diff to interested clients.
How are these kind of requirements normally handled in enterprise?