by gdm85 · 6y ago · 0 comments
I consider it sloppy to accept that a process will crash and become unresponsive as a normal fact of life, and that subsequently they have to be automatically restarted. A process should stay put at what it was designed to do. Reasons for the crash/unresponsiveness should be investigated (memory leaks, race conditions etc) and not swept under a carpet with an automatic restart.
Erlang seems to take the opposite approach. Processes are cheap, when one wears out you dispose of it instead of trying to fix it.