Use redis for object oriented proggramming

186 Views Asked by At

I have created an online game which is written in object oriented programming and node.js . after clustering I decided to make these clusters stateless and save game objects in redis . How can that be done with keeping my game Class untouched ? Simply to save Game Objects with it's methods and props in redis and use those game object methods to update and read those game objects properties . I Have read about ORM but I guess i have to change my game Class to acheive this?

0

There are 0 best solutions below