News for hackers. Stuff that matters.
Re:You might not need a WebSocket by nmjohn on Thursday July 10, 2014 @02:10PM (#8016167)
> Odds are, your website doesn't need websockets anyway

Odds are your website doesn't need CSS, but it certainly can benefit from it! I don't disagree that almost all websites could get by just fine without websockets, but that seems like an incredibly anti-innovative approach to web development to me. Instead we should focus on making the experience better, as opposed to just avoiding innovation altogether.

> 99% of your users are just fine with waiting a couple of seconds

Pretty much every study done in the last few years has suggested that is completely false, that as wait times rise above a second, the number of visitors who simply close out rises exponentially.

Re:You might not need a WebSocket by tribaal on Thursday July 10, 2014 @02:31PM (#8016332)
I question the value of websockets in most cases, because in most applications I can think of (except maybe games and high-frequency trading), they don't bring me any value and actually prevent me from interacting with the website in a meaningful way (yes my connection is crappy, but that is the case for a big chunk of the online population).

Sure, I can't think of all applications that would benefit from websockets, but so far, none of the ones I've seen do. I'm certain you can find at least a few exceptions, but my point is that it is only this: exceptions.

Re:You might not need a WebSocket by davecombs on Friday July 11, 2014 @01:21PM (#8021289)
Anything that has a volume of changing data that needs to be close to real time would benefit. Anything that has that requirement and also wants to be available on the web would most certainly benefit. High-frequency trading and games/betting/TV-related-data (e.g. NASCAR), etc are definitely cases. How about just anything that is currently done via polling and wants to reduce network overhead? There are a lot of those types of applications. (full disclosure - I work for Kaazing, the leading enterprise WebSocket company, though I'm most definitely not speaking for them in any capacity).
Re:You might not need a WebSocket by qu4z-2 on Thursday July 10, 2014 @03:14PM (#8016587)
I'm sure there's some small difference between waiting a second for the page to load and receiving a notification a second later. Presumably the notification hadn't existed at page load, or what are you doing delivering it by web socket in the first place?