Keeping the stack alive
-
I'm an experienced dev, but new to the sysadmin side of things. I'm running nodebb that uses a redis database and has nginx running a reverse proxy to server the node pages over https on Ubuntu 14.04 LTS
My concern is that one or all 3 will fall over under heavy load or error and there's nothing to get it started back up. Any advice on what I can use to keep them all alive is greatly appreciated.
-
Well.. For the nodebb application himself you could use "forever" .... but when it turned 5x i stopped using forever (@julian posted somewhere that nodebb application can do the forever job himself)
for the database.. well.. dont monitor it YET cz the volume of my transactions is low...
But any service monitor application could do it.. like nagios ...or newrelic