Currently I am creating an MMO using Node.js and Socket.IO.
The node server needs to handle connections for players, and also use a loop to update all monsters positions in my game and let them attack players in range.
For the loop I read that you can use process.nextTick or use a child process, which option would be the best choice? What are the advantages/disadvantages of using each?
Also, how many times per second should I run this loop for the monsters?