I'm concerned about 2 things: (1) This is a server made up of
different logical applications... letting them all run in a single
process runs the risk of the whole server crashing,
(2) I'm worried
that while its restarting connections will be dropped.
We deploy a user space process manager similar to daemontools that
handles our different logical applications. The main reason we don't
use deamontool directly is that we want to funnel stdout and stderr
(where the output of panic goes) into our custom logging system and
having our own process manager lets us wrap the process stdin/stdout.
> (2) I'm worried
> that while its restarting connections will be dropped.
If you run a web application you probably want to write the client
part in such a way that it can survive a connection drop and then just
ignore the problem initially. If you need to serve long running http
requests then Dave had some good suggestions.
Kai
--
Kai Backman, programmer
http://tinkercad.com - solid modeling for artists and makers