How WebSockets work vs polling/long polling/streaming
1–10 of 44 posts
Re: How WebSockets work vs polling/long polling/streaming
#2Re: How WebSockets work vs polling/long polling/streaming
#3Looks like an advertorial. No mention of socket.io and praise for a commercial solution that I didn't know after almost two years working with websockets.
By the way, at the moment I'm using Python's Twisted with a simple wrapper called txWS: https://github.com/MostAwesomeDude/txWS
I'm not a big fan of socket.IO, seems too complex for my needs. I was quite happy to discover txWS, it's literally one more function call and you can just write ordinary Twisted code with no changes, which is a relief.
Edit: I'm tempted to purchase websockets.co...
Re: How WebSockets work vs polling/long polling/streaming
#4Looks like an advertorial. No mention of socket.io and praise for a commercial solution that I didn't know after almost two years working with websockets.
Re: How WebSockets work vs polling/long polling/streaming
#5Looks like an advertorial. No mention of socket.io and praise for a commercial solution that I didn't know after almost two years working with websockets.
Re: How WebSockets work vs polling/long polling/streaming
#6Looks like an advertorial. No mention of socket.io and praise for a commercial solution that I didn't know after almost two years working with websockets.
While definitely having an agenda, I still found it a useful high-level guide.
Re: How WebSockets work vs polling/long polling/streaming
#7Earlier quoted context omitted.
While definitely having an agenda, I still found it a useful high-level guide.
True but some of the data looks to be "dated". According to Wikipedia, Safari, Chrome FF, and IE10 have WS support.
Besides support in recent browsers, anything else inaccurate in it?
Re: How WebSockets work vs polling/long polling/streaming
#8Re: How WebSockets work vs polling/long polling/streaming
#9Re: How WebSockets work vs polling/long polling/streaming
#10And why does the "Complexity of comet applications" diagram show "RIA client app" (does this not have to be built when using web sockets?), "Silverlight or Flash plugin" (as if these are necessary for comet), and some convoluted server-side architecture that has nothing to do with the client-server protocol? Again it seems like trying to play up the deficiencies of comet-type apps in a kind of disingenious way.
Web sockets seem to be a great step forward in almost every way (cross-platform support currently missing) so why hype them with imagined performance wins from unrealistic comparisons with other solutions.