I built hook.io pretty much for this exact purpose. Each "hook" represents an isolated process with some really nice APIs for discovering and communicating between each other. When processes die, they are restarted by Forever and automatically reconnect.
I'd highly recommend at least understanding how this architecture works. If you think it might be the right approach then check out: http://github.com/hookio/hook.io On Tue, Apr 3, 2012 at 3:17 PM, JGAui <[email protected]> wrote: > I've got a site that has many components that need to run on > deployment (web server, email service, photo resizer service, various > jobs, etc) and I was wondering how others handle this scenario. > > My initial thought was to have a master cluster that forks off all of the > separate processes. I'd put the master process in something like upstart > to make sure that it kept running and ideally I'd build some logic in the > master to be able restart the child processes and to gracefully restart > when I need to push new code. > > I've also looked into up (https://github.com/LearnBoost/up), but haven't > played with it yet. > > Does anybody have any suggestions? > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- -- Marak Squires Co-founder and Chief Evangelist Nodejitsu, Inc. [email protected] -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
