Matt, but what happens to variables assigned to a particularly socked? Such as ids, rooms, etc?
On May 5, 2:40 pm, Matt <[email protected]> wrote: > Yes you can do this with haproxy - it will note the server is down and > redirect them to another server. > > Socket.io will automatically reconnect, and find the other server. > > There's lots of info out there on haproxy so I won't go into detail about > configuring it. > > > > > > > > On Sun, May 5, 2013 at 1:23 PM, Filipe Deschamps <[email protected]> wrote: > > Hi guys, I was watching this incredible video about how to horizontal > > scale a Node.JS server:http://www.youtube.com/watch?v=TsOySquMh3A > > (and the slides > >https://speakerdeck.com/modulus/planning-for-the-horizontal-scaling-n... > > ) > > > But I was wondering: If I'm using 2 servers, and my application is > > heavy on Socket.io, when I need to rollout an upgrade on "server B", > > how can I make it transparent to connected users on that server? > > > Is there any way to transport them to "server A"? > > > -- > > -- > > 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, visithttps://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.
