OK thanks for your update.
@Yi Tan: have you had a chance to take a look at BrowserQuest(
http://browserquest.mozilla.org/)? It's impressive MMO game built with
nodejs on server side and work in very responsive manner.

If I host server code in one server, everything is ok, in the same world,
different users can see others action/move perfectly.
And our game is not quite complicated, so I think javascript is not problem
here :)

What I concern here if I want to host server code in 2 or more
servers(replication code to load balance), and just expose proxy node to
client to connect to game, then every processing should be behind the
scene(each user should see others move/action as hosted in one server).

I'm still looking for a solution/module/demo for this situation.

Thanks.

On Thu, Jul 5, 2012 at 1:56 PM, Yi Tan <[email protected]> wrote:

> for real time mmo games, I'd suggest you to look at other server side
> solution then node.
>
> the problem is not in node, but in javascript language. It lacks of native
> map-based data structure, and will cause you much trouble in
> code implantation and of cause slows down performance.
>
> Regards,
>
> ty
>
>
>
> 2012/7/5 hd nguyen <[email protected]>
>
>> I looked at node http proxy and see that it lists ' Supports 
>> WebSockets<https://github.com/nodejitsu/node-http-proxy/blob/master/examples/websocket/websocket-proxy.js>
>>  '
>> feature, maybe need some more test on it to make sure it fits my
>> requirement.
>> @mscdex: you mean most load balancers now support websocket?
>>
>> Any suggestion more? I'm eager to get more different comments.
>>
>>
>> On Thu, Jul 5, 2012 at 1:00 PM, mscdex <[email protected]> wrote:
>>
>>> On Jul 5, 1:14 am, Arunoda Susiripala <[email protected]>
>>> wrote:
>>> > I don't think nginx supports websockets transport.
>>> > You can use node http proxy.
>>> > Not sure about the performance.
>>>
>>> Websockets have been compatible with just about any load balancer for
>>> awhile now. Most clients have something newer than draft-76 these
>>> days....
>>>
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>> 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
>>
>
>  --
> 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
>



-- 
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

Reply via email to