News for hackers. Stuff that matters.
Re:SPDY: What I Like About You by wladimir on Friday September 23, 2011 @05:57AM (#3029427)
He forgot one: SPDY is a bidirectional protocol, finally asynchronous notifications from server-side can be delivered without hacks such as long-polling or separate connection like websockets. This is long overdue. Huray!
Re:SPDY: What I Like About You by spokengent on Friday September 23, 2011 @08:02AM (#3029685)
technically cool, and under the hood an improvement, but end users won't notice anything different. Comet and websocket work just fine.

I'm more interested in browser developments that mean you can do stuff you couldn't before - access to geolocation/multitouch/sound/webcam etc.

Re:SPDY: What I Like About You by wladimir on Friday September 23, 2011 @08:32AM (#3029752)
The same can be said of many of the other remarks in the article. You could even say it is elegant that SPDY only changes things under the hood, and keeps the good parts of HTTP.

SPDY is technically very cool. It's the update of HTTP that was way overdue. I didn't even mention end-users. Not only the user-facing parts of technology are important.

I've been playing around with asynchronous notifications to the browser for more than 10 years, when I wrote a simple html/js-based continuously loading chat. I've seen it all, from polling, comet, flash-based TCP, longpoll, to finally websockets. So for me it's great to finally see server push taken seriously as part of the spec and not sewn on as a third leg :-)

Re:SPDY: What I Like About You by spokengent on Friday September 23, 2011 @09:48AM (#3029945)
Sure. Same here. I was writing js chat and realtime games back in '99.

Don't get me wrong, SPDY is cool and good to see. But users won't notice any real difference. It's like when someone re-does a flash game in HTML5 and we (as geeks) go 'wow awesome', and non-geeks go 'uh? so what'

Re:SPDY: What I Like About You by morrow on Friday September 23, 2011 @10:54PM (#3032337)
Another thought would be simply that if SPDY makes it more attractive/easier/secure/efficient for developers to implement push, then users will benefit simply from it being included in more apps.
Re:SPDY: What I Like About You by drivebyacct2 on Friday September 23, 2011 @11:55AM (#3030418)
Except that it's faster, more secure and less prone to bugs caused by poor implementations of comet and other long polling techniques.

The non-geeks do notice. They notice when things don't work on their iPads. They'll notice as security and TLS become a larger and larger focus, and mobile users should appreciate the lower header overhead.

Re:SPDY: What I Like About You by MatthewPhillips on Friday September 23, 2011 @08:04AM (#3029686)
End users might not notice speed improvements, but they do respond to them, according to the data.
Re:SPDY: What I Like About You by spokengent on Friday September 23, 2011 @08:09AM (#3029702)
SPDY vs comet may be noticable if you're doing a real time game or something. But SPDY vs websocket should be the same.

I'm just saying, it's not "wow you can now do X you couldn't before". It's "Oh they made X a bit faster"

Re:SPDY: What I Like About You by pjscott on Friday September 23, 2011 @05:53PM (#3031723)
SPDY also speeds up ordinary page loading.
Re:SPDY: What I Like About You by MostAwesomeDude on Friday September 23, 2011 @08:13AM (#3029709)
WebSockets do not work "just fine." Please don't use them.
Re:SPDY: What I Like About You by Zev on Friday September 23, 2011 @08:21AM (#3029724)
You're going to have to give us more than that to go on. Like, you know, an actual downside to using WebSockets?
Re:SPDY: What I Like About You by sciurus on Friday September 23, 2011 @05:01PM (#3031569)
An anecdote: About a month ago, just to experiment with websockets I built a tiny app using Tornad. I spent a long time trying to figure out why it didn't work before I realized that the latest versions of Tornado and Chromium spoke different versions of the web socket protocol. When Tornado 2.1 came out, the app started working.
Re:SPDY: What I Like About You by MostAwesomeDude on Friday September 23, 2011 @03:22PM (#3031221)
The WebSockets standard is not finalized. Everybody deploying today is deploying a draft which is subject to change.

There is no single version of WebSockets which all browsers support. Firefox is not currently shipping WebSockets, but MozWebSocket, which is subtly different and also named differently to discourage usage. They don't want people doing WebSockets. (Aside: Try finding a Moz employee willing to talk about WebSockets. None are listed on the work page in their wiki.) Chrome ships the supposedly-insecure Hixie-76. Which is also HyBi-00. Which leads to...

WebSocket's versioning is somewhere between misleading and nonexistent. Many deployed versions predate the versioning header, so they have to be detected ad-hoc. The version in the protocol isn't always bumped with every new draft that comes out.

The protocol tries so very hard to be HTTP, but can't always cross proxies. This is really only important because (a) long-polling and Comet can easily cross proxies and (b) WebSockets aren't HTTP. It's less code to write a non-HTTP WebSockets server than to bolt one onto an existing HTTP server.

WebSockets security is non-existent. There is no WebSockets protection against proxy attacks, and there is no same-origin policy, so there is nothing stopping an attacker from opening a WebSocket to an unfriendly domain. No security advantage over boring plain sockets. (To their credit, WebSockets do specify SSL/TLS interaction.)

There are more issues, but that's what comes to me from memory after spending the better part of a year caring about these damn things.

Re:SPDY: What I Like About You by spokengent on Friday September 23, 2011 @09:43AM (#3029927)
I, and thousands of my users, use them fine every day thanks.