Thanks Alex. So the options finally are -
a. Use Cluster - used in many prod applications as mentioned by Luke b. Use PM2 module - similar to cluster I believe c. Use Phusion Passenger - Not quite sure why would I go with such a heavyweight ? (IMO - just by reading thru their website) d. Use VM's e. Use physical LB's What would be the drawback of using a Cluster compared to a Dyno or VM? I understand about the restarts of the cluster On Thu, Dec 19, 2013 at 7:53 PM, Alex Kocharin <[email protected]> wrote: > > I can't say for sure what he meant there, since year 2010 was like ages > ago, and a lot of stuff happened. > > But it's probably about passing file descriptors from master server to a > child process. Only one process can listen on a port at any given time, so > master does it. But once it accepts a connection, it sends file descriptor > (everything is a file, remember?) to a child process which reads data and > answers on it directly. > > Communication between node instances is probably just a sign of > overengineering. > > > 19.12.2013, 22:41, "Bijuv V" <[email protected]>: > > Thanks for sharing your views . Do you know what Ryan means by Server File > Descriptors? > > Also , about Strongloop, you mentioned about communication between the > node instances - why would this be necessary - cant figure out a use case . > > > On Thu, Dec 19, 2013 at 6:28 PM, Luke Arduini <[email protected]>wrote: > > The "experimental" stability index means almost nothing. It's fine. Plenty > of people use it in production. > > > On Thursday, December 19, 2013, Matt wrote: > > > On Thu, Dec 19, 2013 at 11:50 AM, Bijuv V <[email protected]> wrote: > > a. Use Cluster feature of node. Everything is handled by node. Still > experimental AFAIK. > > > I think while cluster is still marked experimental, it's built on top of > child_process which is marked as Stable. > > Most people go with cluster. It works well and is extremely reliable in my > experience. As long as you're aware of the gotchas with graceful restarts. > > Matt. > > > -- > -- > 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. > > > -- > -- > 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 a topic in the > Google Groups "nodejs" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/nodejs/Dv5J7w34rcQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [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. > > -- > -- > 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 a topic in the > Google Groups "nodejs" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/nodejs/Dv5J7w34rcQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [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.
