Tuesday 20 June 2017

Any advice on how to stop exceptions from crashing my HTML5 game server?

I've been making a game that's been great and fun to program, but now I'm thinking about what happens if an exception crashes my server.I read up on exceptions for node and found out that:uncaughtexceptions are VERY dangerousthe cluster module is recommended if part of a server crashes because it can be restartedthe cluster module is icky / messy with websocketsIs there something I'm missing here? I'm thinking about using socketcluster but I simply just want my server to NOT CRASH if there is an error, and at most, just restart.

Submitted June 20, 2017 at 08:10AM by Kevintrades

No comments:

Post a Comment