Re:WebGL + Node.js + WebSockets = A Web Technology Perfect S...
by ericflo on Thursday April 07, 2011 @05:31AM
(#2418856)
I could not agree more with this comment.
Re:WebGL + Node.js + WebSockets = A Web Technology Perfect S...
by jessedhillon on Thursday April 07, 2011 @01:37PM
(#2420366)
A couple of posts were deleted on this thread, perhaps because the authors realized they were mistaken. The claim was that long-polling and WebSockets are bi-directional in the same sense, and mine was that one type of bi-directionality is simulated and has real limitations.
It doesn't matter if the overhead is low: with long-polling, the server can't send a waiting message until the client requests them. With true sockets, the server can send messages as soon as they are available.
Also the speed benefit of websockets over long polling is so trivial that it doesn't really matter.