Why do you think it is at that line? Isn't that the same for public room 
too? How do you create separate rooms? I believe there are other things 
that you do for private rooms but skip for public rooms, maybe 
authentication controls.

On Sunday, July 1, 2012 5:36:37 AM UTC-4, Ket wrote:
>
> Hi guys,
>
> I've used codes from this tutorial for the users to chat privately: 
> http://martinsikora.com/nodejs-and-websocket-simple-chat-tutorial
>
> The code work fine and speedy if they are done on the same page e.g. 
> home.php. In other word, it works great if everybody is in the public space.
>
> But when the user want to chat with someone privately e.g. on the 
> profile.php, says John Doe's profile page, the text upload speed reduces 
> dramatically to about one tenth of the public space's. I guess the problem 
> is around this snippet on the server.js:
>
> connection.sendUTF(JSON.stringify());
>
>
> Any way I can improve text rendering speed?
>
> Thanks for your help and hope I explains my problem clearly and sorry for 
> my English.
>

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