Re: [nodejs] Re: Private Chat Algorithm

2013-03-25 Thread vikram patil
Hey Tolgay, I have done similar things to store userId to socketId relationship in hbase and then retrieved it while sending it back. You can do similar thing Regards, Vikram On Mon, Mar 25, 2013 at 11:14 AM, mgutz wrote: > You can use rooms as he said. But if you want to send messages to spe

[nodejs] Re: Private Chat Algorithm

2013-03-24 Thread mgutz
You can use rooms as he said. But if you want to send messages to specific users, track the user name by socket id when they connect. I keep a mapping between userName <--> socketId in Redis to send messages to users directly. On Sunday, March 24, 2013 4:00:04 PM UTC-7, Tolgay Toklar wrote: > >