Can online node.js server store minimal client connection data?

120 Views Asked by At

so I'm new to node.js, and just made a node.js server for a chess game. It seems to work, but I have some questions about the structure.

Right now, I just have the server maintain an array of chess-table-data, each of which only stores a table# and the users' IP addresses.

Is this ok?

Or, does all data storage have to be done in an actual database?

I'm new to this stuff. I remember reading that node.js can distribute its data across different servers, so that maybe some of my data wont be avail on all servers? Does this affect my situation? I'm not expecting heavy amounts of traffic for this app.

0

There are 0 best solutions below