5 ms·
[Removed]
by aneutron 9y ago
[Removed]
- flavio81 9y agoThere is a common practice for Node.js developers to use one of those tools that automatically reboot the site either whenever the single-threaded-event-loop-server crashes, or periodically...
- mayank 9y agoWhile this pattern is common in node, it's not node specific. Erlang/OTP uses supervised process trees, Linux has supervisord to support this pattern, and the general idea is called "crash-only" software [1], among other names. [1] https://en.m.wikipedia.org/wiki/Crash-only_software https://en.m.wikipedia.org/wiki/Crash-only_software
- detaro 9y agoAssuming you don't mean full "reboot", but reloading/restarting the app runtime every X requests, that's not unusual in many languages. Helps against memory leaks (which are not necessarily the fault of the application and thus not always fixable)