You should check it now. I just upgraded it to include simple load balancing (instead of round-robin rotation): https://github.com/racbart/node-clusterpool
-- Bartosz Raciborski On Thursday, 7 February 2013 at 16:18, Envy wrote: > That's a great start, I'll probably build on top of that! Thanks! > > On Thursday, February 7, 2013 2:26:29 AM UTC+1, Bartosz Raciborski wrote: > > You just inspired me to write a module for this: > > https://github.com/racbart/node-clusterpool > > > > It's basically a cluster of pools. You put multiple slave servers into the > > cluster and there is a separate connection pool created for each server. > > Cluster-pool manages this and rotates requests for slave servers for you to > > balance load. > > > > I am just starting with node and this is my first module, so I'd appreciate > > some feedback. > > > > -- > > Bartosz Raciborski > > > > > > > > W dniu środa, 6 lutego 2013 16:36:40 UTC+1 użytkownik Envy napisał: > > > The pooling will certainly help. But for the "multiple server" part I > > > guess I have to write my own loadbalancer, at least if I want to > > > distinguish between read-only and writable connections > > > > -- > -- > 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.
