Live data from Hacker News

Websockets and more: awesome node.js npm modules we use every day

blog.beyondfog.com

11–12 of 12 posts

Re: Websockets and more: awesome node.js npm modules we use every day

#11
I've always wanted to use mongodb as my primary data storage due to its convenience and all.

But how it's consuming all my memory has always been a problem, at least to me. (And afaik, it's currently not possible to limit its memory usage)

Do you use a dedicated Mongodb server with huge amount of RAM for this?

Re: Websockets and more: awesome node.js npm modules we use every day

#12

"Websockets: Everyone uses socket.io and for good reason." This is stated as a fact, but I really just think it is a case of this was the only choice for a long time. I'd like to know the reason, because I don't think there is a clear one here. Other than socket.io couples a ton of baked in functionality, what's the benefit of it over sock.js or just native websockets?

Agreed. I use native websocket because I don't care about supporting IE<v10
Post reply on HN