News for hackers. Stuff that matters.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by hk9565 on Monday April 11, 2011 @03:17AM (#2431752)
A draft of the SPDY specification is here:

http://dev.chromium.org/spdy

Mike Belshe presented about SPDY in the IETF HTTP working group meeting at the most recent IETF meeting:

http://www.ietf.org/proceedings/80/slides/httpbis-7.pdf

We'd love for more folks to implement SPDY, both clients and servers.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by beza1e1 on Monday April 11, 2011 @03:31AM (#2431782)
Sounds like HTTP 1.2?

Since Google servers and Chrome already support it, the chicken-egg problem might be solved. Firefox has an incentive to implement it to make Google search faster and other web service should implement this to provide a smoother user experience.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by silvestrov on Monday April 11, 2011 @07:20AM (#2432183)
HTTP 2.0      (1.2 would have to be backwards compatible)
Re:Google Modifies HTTP, Makes Chrome 50% Faster by Seth_Kriticos on Monday April 11, 2011 @07:27AM (#2432193)
Yes. And just to argument this, here is the relevant except of the FAQ:

Q: Is SPDY a replacement for HTTP?

A: No. SPDY replaces some parts of HTTP, but mostly augments it. At the highest level of the application layer, the request-response protocol remains the same. SPDY still uses HTTP methods, headers, and other semantics. But SPDY overrides other parts of the protocol, such as connection management and data transfer formats.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by powertower on Monday April 11, 2011 @05:12PM (#2434406)
Re:Google Modifies HTTP, Makes Chrome 50% Faster by carson on Monday April 11, 2011 @09:11AM (#2432420)
As much as SPDY is interesting there are a number of problems that are keeping it from being adopted:

1) Only Chrome supports it and even there it isn't fully supported. One really painful thing it is missing is support for switching from normal HTTP to SPDY without using NPN.

2) It requires the TLS NPN extension to function seamlessly. This is something that is just now being put into the OpenSSL package. It is why you need Chrome to do anything with SPDY, it has a special patch it applies to its internal version of OpenSSL.

It is good that people are taking interest but there is still a lot of work to do.

After seeing http://www.igvita.com/2011/04/07/life-beyond-http-11-googles... I decided to fiddle with doing the same with Node.js https://gist.github.com/911761 I'll be shoring it up into a real module but it is going to require changes to the zlib compression module, the bufferlist/binary module, the put module and to be really useful it will require a special build of Node.js and OpenSSL.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by bzbarsky on Monday April 11, 2011 @11:54AM (#2432965)
Chrome doesn't use OpenSSL. It uses NSS. At least on Linux and Mac; I believe it uses the system-native crypto libraries on Windows.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by carson on Monday April 11, 2011 @02:39PM (#2433730)
It doesn't use it in the browser but it does use it for tools relating to SPDY. See:

http://src.chromium.org/viewvc/chrome/trunk/src/net/tools/fl...

Regardless, neither OpenSSL or NSS have NPN in a release version. NSS doesn't seem to have merged the patch yet: https://bugzilla.mozilla.org/show_bug.cgi?id=547312

Re:Google Modifies HTTP, Makes Chrome 50% Faster by bzbarsky on Tuesday April 12, 2011 @06:07AM (#2436563)
Ah, indeed. Thanks for the pointer!
Re:Google Modifies HTTP, Makes Chrome 50% Faster by powertower on Monday April 11, 2011 @07:41AM (#2432214)
You can enable SPDY on your Apache servers with mod_spdy... http://code.google.com/p/mod-spdy/
Re:Google Modifies HTTP, Makes Chrome 50% Faster by richbradshaw on Monday April 11, 2011 @08:19AM (#2432292)
Has anyone here tested this? Seems to have had little work for a long time.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by ComputerGuru on Monday April 11, 2011 @08:09AM (#2432273)
How long until someone releases a module for nginx to do the same?
Re:Google Modifies HTTP, Makes Chrome 50% Faster by newman314 on Monday April 11, 2011 @01:48PM (#2433458)
Might be a while.

Igor was asked about this a while ago and expressed his dislike for it. Not sure if things have changed since.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by xuhu on Monday April 11, 2011 @05:28AM (#2431998)
Unlike HTTP, SPDY is no longer plain-text (it uses a packet structure similar to TCP headers).

While Wireshark's usability has been constantly improving, I will miss being able to do:

  $ telnet google.com 80
  GET / HTTP/1.1
  Host: google.com
Re:Google Modifies HTTP, Makes Chrome 50% Faster by jrockway on Monday April 11, 2011 @05:40AM (#2432022)
This is a reasonable concern, but the reality is that:

  $ telnet google.com 80
  GET / HTTP/1.0
Is just going to become:

  >>> use SPDY;
  >>> SPDY->dump('http://www.google.com/);
Re:Google Modifies HTTP, Makes Chrome 50% Faster by 1337p337 on Monday April 11, 2011 @04:13PM (#2434175)
Plain-text formats have always been slower for things that are not plain text. But even 30 years ago, when computers were even slower, Unix designers decided plain text was still the way to go, because it was easier to debug and easier for humans to work with. No specialized tools required, no poring over hex dumps. HTML won over other document formats. JSON and XML won over other binary formats. Any coder can look at JSON and see what is being transferred, without the aid of anything but a text editor. Plain-text marshalling formats for binary data (e.g., base64) are still useful for pasting data into an email or adding ssh keys to authorized_keys with "cat >>".

This is perhaps a long way of saying that I don't expect that having tool support makes SPDY any nicer.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by gcb on Monday April 11, 2011 @06:17AM (#2432086)
Less true for tcp dumps

which I believe was the previous poster intention since he mentioned wire shark..

Also piping bunch of unix command will suffer a little of they

Re:Google Modifies HTTP, Makes Chrome 50% Faster by mahmud on Monday April 11, 2011 @08:11AM (#2432278)
swig + libpcap should get you there for any mainstream language (assuming you're on a real OS.)
Re:Google Modifies HTTP, Makes Chrome 50% Faster by judofyr on Monday April 11, 2011 @06:43AM (#2432119)
SPDY is always encrypted, so it would be more fair to compare it with HTTPS, where you can't do anything like that anyway.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by Toucan on Monday April 11, 2011 @09:21AM (#2432450)
Sure you can. openssl s_client -connect google.com:443

Not sure what the equivalent is on windows though.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by judofyr on Monday April 11, 2011 @10:30AM (#2432664)
Sure, but that's not telnet. I would assume you could make a similar tool for debugging SPDY too.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by bruce511 on Monday April 11, 2011 @10:15AM (#2432614)
not surprisingly it's... openssl s_client -connect google.com:443
Re:Google Modifies HTTP, Makes Chrome 50% Faster by tonfa on Monday April 11, 2011 @05:38AM (#2432016)
They probably won't switch off http support before a very long time :) So you won't miss anything.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by tedjdziuba on Monday April 11, 2011 @10:16AM (#2432619)
Sigh. Those who abandon Unix principles deserve whatever they get.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by SimHacker on Monday April 11, 2011 @11:15AM (#2432825)
Efficiency. You can keep your Unix principled autoconf scripts, thank you.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by lux on Monday April 11, 2011 @03:33AM (#2431788)
Be interesting to see how fast other browsers/servers start supporting this. I'd love to see Google add it to App Engine sites, for one thing.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by sern on Monday April 11, 2011 @08:55AM (#2432379)
App Engine already does.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by lux on Monday April 11, 2011 @09:39AM (#2432506)
Interesting. I see it used on one of my python gae apps but not the other. One uses .appspot.com and the other a custom domain.

Edit: The one at appspot.com has spdy.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by abraham on Monday April 11, 2011 @01:16PM (#2433322)
Are you using SSL on the appspot.com app? IIRC SPDY requires SSL.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by lux on Monday April 11, 2011 @03:30PM (#2433995)
Strangely, the one at appspot.com isn't using SSL, but it is going over SPDY anyway according to Chrome.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by obtino on Monday April 11, 2011 @03:35AM (#2431797)
About time! SPDY's been out for a while!
Re:Google Modifies HTTP, Makes Chrome 50% Faster by ck2 on Monday April 11, 2011 @03:57AM (#2431840)
Re:Google Modifies HTTP, Makes Chrome 50% Faster by iguvnbiugb on Monday April 11, 2011 @04:06AM (#2431857)
Would be great, except I can't use Chrome anymore as Flash crashes every time, and no one seems to know why.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by runningdogx on Monday April 11, 2011 @10:08AM (#2432602)
http://www.google.com/support/forum/p/Chrome/thread?tid=0d78...

I've seen two things implicated in several google support threads about the issue. First, having both the system and google's sandboxed flash versions enabled as plugins, and second, an older version of Trusteer Rapport (typically offered by banks) was implicated.

Both may be fixed by now, but if it's still crashing, try about:plugins, enable Details at top right, and disable the system version of Flash.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by pacomerh on Monday April 11, 2011 @04:10AM (#2431867)
I'm having the same issue, every time I need to use flash I open safari or FF. It's one of those things that I consider so strange about giant companies like Microsoft or Google, something so important it's not getting addressed
Re:Google Modifies HTTP, Makes Chrome 50% Faster by goatforce5 on Monday April 11, 2011 @09:29AM (#2432475)
Are you on a recent MBP? I had to turn off hardware acceleration in the version of Flash that shipped with Chrome before it would act (relatively) stable.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by trezor on Monday April 11, 2011 @05:45AM (#2432027)
I'm having the same issues and for that reason I've moved back to Firefox 4, since it seems to have improved quite a bit since I moved to Chrome.

What seems rather ironical is that I only started having these issues with Chrome after they added the Flash-sandbox, which was supposedly made to stop Flash from crashing the browser. With the result that Flash is always crashing the browser, something it never did before.

Sometimes I think Google needs a bigger QA-team.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by omellet on Monday April 11, 2011 @08:18AM (#2432291)
Try adding --disable-internal-flash to your chrome shortcut, it'll use regular flash instead of the sandboxed version.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by pilif on Monday April 11, 2011 @08:34AM (#2432317)
actually, I would believe the sandbox was added to prevent flash from accessing parts of your machine that it shouldn't be able to access.

This is not about preventing Flash from crashing, but about preventing your machine from getting owned by an exploit for one of the countless discovered and unpatched flash security flaws.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by nddrylliog on Monday April 11, 2011 @07:41AM (#2432216)
> Sometimes I think Google needs a bigger QA team That's an understatement :)

When I visited Google Zürich (admittedly not as crucial as Mountainview) I learned that unit testing was mostly used so they had pretty red/green lines on those LCD screens in the hall, and that any dev could break the version /in production/ pretty easily with a misplaced commit...

Re:Google Modifies HTTP, Makes Chrome 50% Faster by tsbybts on Monday April 11, 2011 @09:10AM (#2432417)

  > ... I've moved back to Firefox 4 ...
That would be great, except FF4 doesn't let me log in to HN.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by adrianwaj on Monday April 11, 2011 @06:00AM (#2432061)
Re:Google Modifies HTTP, Makes Chrome 50% Faster by wmf on Monday April 11, 2011 @11:57AM (#2432981)
That sounds like a competitor to the page speed plugin, but anything running over HTTP/1.x has fundamentally limited performance.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by thepumpkin1979 on Monday April 11, 2011 @11:33AM (#2432871)
It seems like Nginx Web Server is not going to implement SPDY anytime soon... http://forum.nginx.org/read.php?2,22517

Too bad.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by aeontech on Monday April 11, 2011 @03:06PM (#2433877)
Well, it didn't sound like a categorical "This will never happen!", more like "Eh, I don't like this about it, so I'm not planning on it yet."
Re:Google Modifies HTTP, Makes Chrome 50% Faster by nickbp on Monday April 11, 2011 @02:32AM (#2431649)
The result is a dramatically increased page load performance that only works between Chrome (as it includes SPDY support) and Google’s servers (which supports the features for Google sites.)

Reminds me a lot of MS's strategy of adding incompatible features to existing standards.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by nl on Monday April 11, 2011 @03:04AM (#2431729)
No.

Embrace & Extend is a well known, very destructive mechanism for subverting standards.

Enhancing existing standards with experimental extensions is a well known very useful mechanism for improving widely used standards.

As with anything to do with technology you need to look at the details to determine exactly what is happening on a case-by-case basis.

Just saying "that sounds like MS" isn't useful without examining the details. For example, many of Microsoft's extensions to HTML were very useful (eg, XMLHTTPRequest), whereas others weren't. It's a case-by-case thing, and asserting this is always bad is a very shallow interpretation.

TL;DR: Details matter. Experimenting by extending standards isn't always bad.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by yuhong on Monday April 11, 2011 @03:15AM (#2431745)
Yea, I have to come to think that embrace and extend is not the worst thing MS did. For example, extending ODF would be far less bad than creating OOXML.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by tzs on Monday April 11, 2011 @04:27AM (#2431896)
Extending ODF was not possible because Sun would not allow it. Sun's IP licenses for ODF effectively gave them veto power over attempts to add things to ODF that they did not approve, so that was the end of that. Sun's position was that ODF would support exactly the feature set needed by StarOffice.

If you ignore IBM's and Sun's massive FUD campaigns against OOXML, and actually compare the specs, you'll find that OOXML is not anywhere near as bad as they claimed, and in many ways is better than ODF. ODF does have nicer markup--I'd much rather read or write by hand an ODF file. On the other hand, ODF is incomplete in major areas, and other areas are imprecise. (Sun and IBM actually tried to use this as a point in their FUD campaign, slamming OOXML for having too much detail).

Re:Google Modifies HTTP, Makes Chrome 50% Faster by ZeroGravitas on Monday April 11, 2011 @07:08AM (#2432163)
It's seems likely that Sun's IP licence was specifically written to stop Microsoft from doing its well documented embrace, extend, extinguish routine on ODF like they did to Sun's Java. Instead they just emrbraced, extended and extinguished the entire idea of a standard XML office format. Nice work.

Weirdly, Microsoft seem to have incompatibly forked their own OOXML format and are in no rush to fix that now that they've seen off the competitive threat posed by ISO standardisation of a competing format.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by tzs on Monday April 11, 2011 @01:13PM (#2433315)
StarOffice and Microsoft started work on XML formats at around the same time, and most of the subsequent histories are largely parallel. There was no EEE here.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by corin_ on Monday April 11, 2011 @02:42AM (#2431674)
I'm a long way from being an expert in the area so I won't comment on this exact situation, but an overall thought: the difference between MS and Google is that MS wanted a monopoly and were generally quite sloppy, whereas it's in Google's interest to have a faster internet for everyone, not just their users, plus they have the ability to push for adoption of features developed for their browser/servers, which could lead to other browsers, and servers (would it be Apache/etc. that would have to implement it?) adding SPDY support.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by jamaicahest on Monday April 11, 2011 @06:14AM (#2432081)
How is that different? MS wants marketshare, Google wants marketshare, faster internet for everyone is just a means to an end: more people using Google services. I'm sorry for not buying into the Google-hype, but keep in mind they're a business like everyone else and they are in it to make money. If you ever need proof that Google is doing this for money like everyone else, just take a look at the history of their advertising services.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by corin_ on Monday April 11, 2011 @06:36AM (#2432111)
I'm not saying that Google isn't doing this for business reasons - it just happens that in Google's case, they benefit more from all browsers being better than trying to make Chrome kill off other browsers.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by roc on Monday April 11, 2011 @10:35AM (#2432683)
This is similar to Microsoft happily pushing and supporting new bus/interface/port standards to allow many various hardware companies to bring newer, better, faster hardware to the consumer.

It wasn't because they were nice or had the consumer's best interest at heart. They just wanted PCs to be faster, because they had a monopoly that sat atop PCs. So they benefit when PCs get faster, get replaced and stay ahead of would-be competitors.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by shin_lao on Monday April 11, 2011 @07:02AM (#2432156)
FYI Ajax was a "feature" of IE5.

And I truly hope I can be as sloppy as Microsoft and build a software that reaches only 95% market share.

You need to remember that before you were born "stuff happened".

Re:Google Modifies HTTP, Makes Chrome 50% Faster by ericd on Monday April 11, 2011 @03:03AM (#2431724)
One of those incompatible features that they added ended up becoming Ajax.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by pilif on Monday April 11, 2011 @08:33AM (#2432314)
they were actually adding it over a well-defined extension point (ActiveX instantiation). Not by extending the existing spec (JS/DOM).

That happened later once the usefulness of XmlHttpRequest was noted and other browsers added it directly to their JS support before it was formally specified.

So this is exactly the way to extend (by using clean extension points) that Google was using with SPDY. This is different than, say, implementing a <marquee>-Tag directly into the HTML renderer which doesn't provide a nice extension point.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by VMG on Monday April 11, 2011 @02:53AM (#2431706)
Except that the SPDY protocol is open in the sense that Firefox and other browsers can implement it if they want
Re:Google Modifies HTTP, Makes Chrome 50% Faster by phamilton on Monday April 11, 2011 @03:20AM (#2431758)
Google's bottom line is a result of the volume of internet content consumed. Their presence means that no matter where you go, you encounter Adsense ads.

Google wants the whole web experience to be faster. They don't benefit in locking you in. I imagine Apache/Nginx/etc will all have SPDY support in due time (while still defaulting to HTTP or a hybrid setup) and it will be yet another nice enhancement to the web experience.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by yuhong on Monday April 11, 2011 @03:17AM (#2431751)
BTW, if you think what the IE monopoly did to web standards was bad enough, look at what the Netscape monopoly did to web standards. Saying that Netscape had a bad track record of following them would be underestimating the impact.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by lallysingh on Monday April 11, 2011 @08:29AM (#2432304)
In a word, javascript. Imagine if we had a good language instead!
Re:Google Modifies HTTP, Makes Chrome 50% Faster by Rickasaurus on Monday April 11, 2011 @09:57AM (#2432563)
Is this why gmail in Chrome seems to be hanging on me a lot lately?
Re:Google Modifies HTTP, Makes Chrome 50% Faster by scrod on Monday April 11, 2011 @03:20AM (#2431761)
>Click on View live SPDY session to see all SPDY connections at a given time – all Google properties work with this technology.

This reminds me of Microsoft skipping part of the three-way handshake for IIS-to-IE connections to reduce the latency to their servers as compared to Apache.

Re:Google Modifies HTTP, Makes Chrome 50% Faster by robin_reala on Monday April 11, 2011 @06:58AM (#2432150)
Except this is within spec, given a particular (and different) spec.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by wladimir on Monday April 11, 2011 @10:31AM (#2432669)
And SPDY is well documented. Everyone can implement it, even IE if they wanted. Microsoft has a knack for keeping the internal workings of protocols and file formats a secret, or at least very ambigiously documented.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by gaius on Monday April 11, 2011 @08:09AM (#2432270)
That's the great thing about specs - so many to choose from!
Re:Google Modifies HTTP, Makes Chrome 50% Faster by michaelcampbell on Monday April 11, 2011 @08:22AM (#2432294)
The same can be said, and was originally coined, about standards.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by winestock on Monday April 11, 2011 @09:25AM (#2432465)
The Unix Hater's Handbook attributes that quote to Admiral Grace Murray Hopper, but without citing the source.

Wikiquote cites others as having said it, including Andrew Tanenbaum, Patricia Seybold, and Ken Olsen.

http://en.wikiquote.org/wiki/Grace_Hopper

Re:Google Modifies HTTP, Makes Chrome 50% Faster by michaelcampbell on Monday April 11, 2011 @11:55AM (#2432971)
I'm sure it was independently thought of by many people (me not included; I read it years and years ago...). Can't remember from whom, or if it was attributed at all. It has, to me, the feel of a Henry Spencer-ism.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by gaius on Monday April 11, 2011 @08:33AM (#2432315)
Indeed, but the comment I replied to said "spec" so I adapted it.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by 1337p337 on Monday April 11, 2011 @01:13PM (#2433310)
Right:

1) Create unfortunate speed hack so browser written by you is faster with servers written by you.

2) Declare it a spec without other existing implementations.

3) ????

4) PROFIT

Re:Google Modifies HTTP, Makes Chrome 50% Faster by thegeekness on Monday April 11, 2011 @02:50AM (#2431698)
And what about the Bugs that Chrome encounters every now and then? Like not displaying images sometime, problems with facebook chat? Please fix that.
Re:Google Modifies HTTP, Makes Chrome 50% Faster by ch0wn on Monday April 11, 2011 @04:20AM (#2431884)
Re:Google Modifies HTTP, Makes Chrome 50% Faster by 5l on Monday April 11, 2011 @11:47AM (#2432924)
The image loading issue the OP was referring to was already reported in September 2009 [0] and is still to be resolved for everyone. Along with this [1] infamous issue reported in October 2008. The Chromium team absolutely seem to prioritise adding new features before dealing with serious long standing issues in the browser. Not that they're entirely different from the competition in this regard.

[0] https://code.google.com/p/chromium/issues/detail?id=20960

[1] https://code.google.com/p/chromium/issues/detail?id=3543

Re:Google Modifies HTTP, Makes Chrome 50% Faster by jonursenbach on Monday April 11, 2011 @05:07AM (#2431965)
Re:Google Modifies HTTP, Makes Chrome 50% Faster by mtogo on Monday April 11, 2011 @10:56AM (#2432750)
You're honestly expecting him/her to contribute code to a project just to have a resonable browsing experience?

Really?

Re:Google Modifies HTTP, Makes Chrome 50% Faster by jonursenbach on Monday April 11, 2011 @12:08PM (#2433037)
No but instead of complaining about bugs he can either submit a bug report and let someone get around to fixing it, or dig into the source and fix it himself.