The whole point of things like reverse proxies or LBs (in addition to proper load balancing) are to provide high availability during rollouts, as well as providing a separation of concerns.
I recommend keeping your app focused on what it does best and employ a load balancer or reverse proxy to do what it does best. Check out HAProxy. Sent from my iPhone On Apr 6, 2013, at 4:23 AM, "Pedro Teixeira" <[email protected]<mailto:[email protected]>> wrote: Thanks, but up uses a reverse proxy. I want a solution that works on TCP services generally and on the local network, not having to rely on a second thing like a load balancer or a broker. -- Pedro On Saturday, 6 de April de 2013 at 12:00, greelgorke wrote: https://github.com/LearnBoost/up does something you need roughly. i'm building a lib based on it exactly for your purpose, but's in an early state yet. Am Freitag, 5. April 2013 15:30:46 UTC+2 schrieb Pedro Teixeira: 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]<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.
