rc and smf

Dan Melomedman dan at a.mx.devonit.com
Thu Feb 24 12:54:18 PST 2005


Chris Pressey wrote:
> - Not everyone needs a fault-tolerant system.  Or rather, different
> people need different degrees of fault-tolerance.  Most people don't
> need telecom-level reliability.

I agree completely. Again, I was just trying to show why the feature is
important.

> - Many daemons implement some form of supervision themselves.  Much of
> the 'djb regime' is not actually new, it just tries to commodify
> concepts such as supervision and daemonization at the operating system
> level, rather than having every program do it themselves.

Precisely. Many, or most services traditionally are not even written to
do it in the first place, doing it on the OS level is a very good thing.
It's an additional level of supervision, even if a service attempts to
supervise itself, like Apache. What's stopping the parent Apache service
from being killed or crashing?

> - Erlang's concurrency is typically much more fine-grained; most Erlang
> processes are not daemons in the usual sense (they only ever service
> each other rather than the outside world.)  The programming paradigm in
> this case is also different; because supervision guarantees have already
> been made, failure is "acceptable", and many processes are written in a
> "let it crash" style.  This simplifies error handling immensely in many
> cases, BUT it's most practical when working with lightweight processes
> (basically threads).  It's not nearly as effective a programming style
> when working with operating system processes.
> 
> -Chris

Agreed.






More information about the Kernel mailing list