The easiest way would just be to spin up a new server with your code and once it's all working fine and dandy point your load balancers to the new server and have the old server die off.
On Friday 5 April 2013 at 15:30, Pedro Teixeira wrote: > I'm trying to do 0 downtime deploys of a process that has cluster workers > listening on a shared server handle. > I want to be able to do 0-downtime master process restart also, which the > core cluster module doesn't let me do easily (I'd have to pass the server > handle around explicitly and not use the cluster worker server.listen() > goodness). > > Also, I don't want a reverse-proxy or a command-line solution, and would like > to keep very close to the cluster API. > > Do you know of any NPM module that implements this? > > TIA! > > -- > -- > 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] > (mailto:[email protected]) > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]) > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > (mailto:[email protected]). > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
