News for hackers. Stuff that matters.
Re:Hard-won lessons: Five years with Node.js by Waterluvian on Wednesday April 19, 2017 @09:06PM (#14153186)
I'm not an expert with​ deploying application servers but shouldn't part of handling lifecycle include the ability for a service to crash and be respawned?

Ie. Be okay if a syntax error crashes your server.

Re:Hard-won lessons: Five years with Node.js by phamilton on Wednesday April 19, 2017 @11:11PM (#14153620)
In a "one request per process" model, sure. But if you are handling 1000s of concurrent connections, a syntax error crashing your server means all of those connections error.
Re:Hard-won lessons: Five years with Node.js by garysieling on Wednesday April 19, 2017 @09:30PM (#14153267)
If you're comparing to J2EE, ASP.NET, Apache, etc, application servers tend to be big monoliths with lots of features, but Node is much lighter / more modular, so you end up setting that up yourself (that also surprised me)
Re:Hard-won lessons: Five years with Node.js by smokeyj on Wednesday April 19, 2017 @09:10PM (#14153199)
Yes you should be using a process manager like PM2.