I don't think nginx supports websockets transport. You can use node http proxy. Not sure about the performance.
On Thursday, July 5, 2012, hd nguyen <[email protected]> wrote: > Sorry NGINX :| > > On Thu, Jul 5, 2012 at 11:51 AM, hd nguyen <[email protected]> wrote: >> >> Hi all, >> I'm building a MMO (Massive Multiplayer Online) game with nodejs built in server side, but now I'm getting stuck in how to make load balancing for nodejs between multiple servers. >> The game is using web socket to communicate with server. Example we have 2 servers that host GAME1, server1 and server2. >> User1 joins GAME1 on server1, User2 joins GAME1 on server2, so each time User1 makes move/action, User2 need to see User1's move/action and vice versa (each user uses his own browser screen separately). >> I know NGNIX as an option, but not sure whether it supports broadcasting data between nodejs servers or not, in our game data for the same game at a server should be broadcast to all other servers that host this game. >> Appreciate any suggestion/comment from you. >> Thanks in advance. >> -- >> Nguyen Hai Duy >> Mobile : 0914 72 1900 >> Yahoo: nguyenhd_lucky > > > > -- > Nguyen Hai Duy > Mobile : 0914 72 1900 > Yahoo: nguyenhd_lucky > > -- > 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 > -- Arunoda Susiripala @arunoda <http://twitter.com/arunoda> <http://gplus.to/arunoda>https://github.com/arunoda http://www.linkedin.com/in/arunoda -- 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
