ie8 fix
madison

Networking

Steven J. Vaughan-Nichols

Google speeds up the Web with SPDY

By | April 11, 2011, 2:58pm PDT

Summary: Google’s replacement for HTTP, SPDY, is meant to speed up Web access. Guess what? It really does.

Network engineers and hard-core Web architects know that HTTP (Hyper Text Transfer Protocol), the data transfer method used by the Web, isn’t the most efficient data transfer protocol around. So, back in November 2009, Google started working on a faster replacement: SPDY, pronounced “speedy.” And, now, if you’re using the Chrome Web browser, and visiting Google Web sites, you can see SPDY in action according to Conceivably Tech.

I’m inclined to believe these claims because when I opened some moderately complex spreadsheets in Google Docs using both Chrome 10 and Firefox 4, and taking into account their differences in JavaScript rendering speed, Chrome 10 was still rendering pages about 20% faster than Firefox from what I would have expected.

I saw similar results on Gmail, iGoogle, and Google Advanced Scholar Search. I don’t know about you, but a 20% boost in Web site performance is impressive to me.

When I used Google’s own SPDY benchmarking tool, I saw similar results. This, which only compares Chrome with and without SPDY activated, showed that SPDY gave me a 15% improvement in Web site performance.

I’ve seen claims that SPDY can cut Web page load speeds by 50%, but I didn’t see that kind of boost. Try it yourselves and let me know what you find.

Keep in mind, as you play with SPDY, that there are almost endless variables that can effect how fast a Web page will load for you. These include your ISP backbone speed, your broadband rate, the quality of your connection, how busy the Web site is when you reach it, and on and on and on.

You should also recall that SPDY only works if it’s working in both the browser and the Web site server, so if you use Chrome 10 on Facebook or Yahoo you won’t see any speed increase. For now, it only works with Chrome 10 and, so far, all the Google Web sites I’ve tried it on. It wouldn’t surprise me though if SPDY hasn’t been activated on all of Google’s services and sites yet.

SPDY also won’t work equally well on all kinds of data. According to a note in the SPDY developers’ mailing list, “SPDY requires that the client support gzip compression [a data compression program] of payloads. The hope is that gzip quickly, simply and automatically gets pretty good compression of the payload.”

This use of data compression means that data’s that already compressed, such as a video MP4 streams or a JPEG image, will not get as much performance benefit from SPDY as straight text or JavaScript. Still, no matter what content you’re trying to view you should see some speed improvements.

That’s because SPDY also compresses the HTTP header information. What’s far more significant though is how a SPDY handles Web requests. According to the second draft of the SPDY specification, SPDY “adds a framing layer for multiplexing multiple, concurrent streams across a single TCP connection (or any reliable transport stream). The framing layer is optimized for HTTP-like request-response streams.”

Besides header compression, SPDY improves on HTTP by multiplexing data requests. Under SPDY, there is no limit to the number of requests that can be issued concurrently over a single SPDY connection. Because requests are interleaved on a single channel, the protocol is more efficient over TCP. HTTP, on the other hand can only fetch one resource at a time and support, at most six connections at a time with most Web browsers. The net effect is to cut down on latency as the Web browser and server don’t have to waste time ping-ponging data requests and responses back and forth.

With SPDY, a Web browser can also prioritize requests. This way you can get the most critical data first, say a video stream, rather than wasting waiting around for an ad to appear before starting the video.

The bottom line is that while SPDY may not cut Web page load times in half, it can significantly improve your Web browsing performance.

Google plans on open-sourcing SPDY and the C++ code is available today. There’s also an experimental SPDY Apache Web server module and Ruby code if you want to tinker with it yourself on the server side.

Hopefully, Google will soon officially open the source and submit SPDY to the World Wide Web Consortium (W3C) to make it an official standard. After all, we could all use faster and more efficient Web servers and browsers.

Related Stories:

Openflow: Internet 3.0?

Chrome 10: Close to a perfect Web Browser 10

Juniper Networks Introduces new Internet Service and Content Provider Architecture

Cisco’s network gets a tune up

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Steven J. Vaughan-Nichols, aka sjvn, has been writing about technology and the business of technology since CP/M-80 was the cutting edge, PC operating system

Disclosure

Steven J. Vaughan-Nichols

Steven J. Vaughan-Nichols is a freelance writer. He does not own stocks or other investments in any technology company.

Biography

Steven J. Vaughan-Nichols

Steven J. Vaughan-Nichols, aka sjvn, has been writing about technology and the business of technology since CP/M-80 was the cutting edge, PC operating system; 300bps was a fast Internet connection; WordStar was the state of the art word processor; and we liked it.

His work has been published in everything from highly technical publications (IEEE Computer, ACM NetWorker, Byte) to business publications (eWEEK, InformationWeek, ZDNet) to popular technology (Computer Shopper, PC Magazine, PC World) to the mainstream press (Washington Post, San Francisco Chronicle, BusinessWeek).

68
Comments

Join the conversation!

Just In

RE: Google speeds up the Web with SPDY
FAULKNE 13th Oct
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.
0 Votes
+ -
Things like this make me really like Google. Yes, they're bound to benefit from this in some way, but they're also making life better at no cost to everyone else. That's fine by me!
0 Votes
+ -
@Imrhien
I am not strictly against what Google is doing, but it does bother me, somewhat. It is akin to developing a new "standard", as MS has done in the past with its browsers and associated languages. Problems come to light down the track that are not always easily rectified . . .
0 Votes
+ -
@ptorning
I totally agree.
0 Votes
+ -
Message has been deleted.
jackbond Updated - 12th Apr 2011
  • Flagged
0 Votes
+ -
RE: Google speeds up the Web with SPDY
p.vinnie@... 12th Apr 2011
@ptorning
Key difference is that Google makes it open standard and expects it to be approved by W3C before being rolled out to world. MS on other hand creates standard such that it can sell its products utilising their product.
Google encourages others to use the standard and provide it free. Microsoft creates standard which only its own products can use and encourages everyone else to buy their product instead.
0 Votes
+ -
RE: Google speeds up the Web with SPDY
snoop0x7b 12th Apr 2011
@ptorning Except it's free to implement. Microsoft would go to a standards meeting, like Kerberos, then come up with a new implementation and patent it in order to stop others from using it. In this case google is making it open and placing the patents in the public domain.
0 Votes
+ -
@ptorning Only if it is not a true standard. Most standards start at a large company. PCI, PCI-X & PCIe for example was started at Intel and now everyone uses them. For a while every PC vendor had a different bus. USB was started at Intel.
0 Votes
+ -
Message has been deleted.
frvr@... Updated - 13th Apr 2011
0 Votes
+ -
RE: Google speeds up the Web with SPDY
OffsideInVancouver 12th Apr 2011
@frvr@...

What on Earth are you blathering on about, comrade?
0 Votes
+ -
You can carry a grudge, eh?
rarsa 12th Apr 2011
@frvr@..

Today's banner celebrates a human milestone, whether it was the USSR sending the first man into orbit or the US landing on the moon.

Do you think that it was the communist USSR devalues the accomplishment?

Do you even know what communism mean?
Do you know the difference between that and Totalitarian regime?
@Imrhien - let's call it a day.
0 Votes
+ -
@Imrhien Just for clarification since you do not keep up with history. Being a citizen of this great nation, when someone mentions April 12th, only 2 things come to mind. 1945 - FDR dies and 1981 the first launch of the Space Shuttle Columbia. I really do not care about the communists or Yuri Gagarin. Maybe this is what is wrong with this nation as everybody rushes out to WalMart to buy communist Chinese made products. Or don't you believe that your nation should be first?
0 Votes
+ -
@Imrhien

If they open source it, why not? For the moment, it is just a further enticement into the Google spyware network. For the few seconds it might save me, I will pass and recommend others do the same.
0 Votes
+ -
Message has been deleted.
LiquidLearner Updated - 12th Apr 2011
0 Votes
+ -
Interesting thought.
Bruizer 12th Apr 2011
@LiquidLearner

There were some plugins years ago that did a similar thing. Compressing the stream on the server end and web client end. This was in the days of dial up. In the end, you needed way too much buy in from web sites and the modems learned the trick of compression.

On the surface, however, it was a great idea.

It would be interesting to see the trade offs on mobile devies.

1) On one side you have increased client side processing burning a critical resource like battery.

2) You keep your radio channel activated for slightly less time conserving battery.

3) With tiered pricing coming rapidly our way, you use less data on the network potentially saving you on your bill.

Will the client side processing be worse than the other two? Interesting.
0 Votes
+ -
@Bruizer Some things that make life better
1) More cores and threads
2) Processors from x86 to ARM with built in hardware that makes compression and decompression faster.
0 Votes
+ -
Contributr
@LiquidLearner Actually, my results that were far slower than the numbers everyone else has been reporting.

Steven
0 Votes
+ -
I think it's misspelled.
John Zern 11th Apr 2011
There is no "D" in it, since it is Google we're talking about here.
0 Votes
+ -
@John Zern
LOL. grin
0 Votes
+ -
@John Zern
Ca-ching! grin
0 Votes
+ -
LOL!!!
Will Farrell 12th Apr 2011
@John Zern
Your right!
0 Votes
+ -
RE: Google speeds up the Web with SPDY
MrElectrifyer 14th Apr 2011
@John Zern LMAO grin
0 Votes
+ -
RE: Google speeds up the Web with SPDY
Alan Smithie 12th Apr 2011
As long as it's open source, patent free and at no cost then it's a good idea.
0 Votes
+ -
@Alan Smithie It's a protocol not code. A patent would kill the use of it.
0 Votes
+ -
RE: Google speeds up the Web with SPDY
Big_Belly_Bob 12th Apr 2011
Like the sound of this, especially the bit about open sourcing it and submitting to the W3, not much use if it's only Chrome on google websites, one it's used on any major site and on all major browsers that's when it'll really make a difference
0 Votes
+ -
@Big_Belly_Bob

I agree, but even if this is only used on youtube, you will see a difference. I believe Youtube is owned by Google, I don't really go there much so I'm not really sure. But If I had to take a guess as to the top 3 websites visited across the US at least, I would say Google, Facebook and Youtube, making SPDY a good idea to be picked up by Facebook as well. It will really add up when you look at the number of pings to a popular website and the subsequent data transfer to and from the website to all it's clients. But I do hope that, if this works well, is used everywhere, as I believe one will see a significant reduction in overall time per website query in the grand scheme of things.
0 Votes
+ -
With the ability to send requests to the server while data is being sent back, and with the added overhead of server-side compression, I'm curious to see how a DDOS attack would pan out for SPDY servers. On the surface it sounds like the new protocol could open the door to a much more serious attack than HTTP.
0 Votes
+ -
RE: Google speeds up the Web with SPDY
ephillips@... 12th Apr 2011
@daftkey
A DDOS is a DDOS. I don't think it matters.
0 Votes
+ -
Time to throw out your proxy server
arowe@... 12th Apr 2011
@daftkey My thoughts exactly. Also, time to throw out your corporate proxy server for something that supports SPDY? OK, maybe not yet. I'll be eagerly awaiting some security researchers' followups on this news.
0 Votes
+ -
RE: Google speeds up the Web with SPDY
snoop0x7b 12th Apr 2011
@arowe@... I'd imagine most people will provide web servers which support both SPDY and HTTP, the way google has. That way you can just fail over... I don't think anyone will fully switch to SPDY in the next 10 years, but I'd imagine that it will be offered in more and more places and become dominant.

Plus shouldn't your corporate proxy and routers be configurable? You should be able to pass along whatever you choose to pass along.
0 Votes
+ -
What the Fork?
happyharry_z 12th Apr 2011
Great, we just got through all the pain of incompatible browsers now we're going to start that all over again! Be honest, how many of you that are applauding this move were the same people that lambasted MS for building vendor specific features into the browser?
0 Votes
+ -
Wrong approach
John L. Ries 12th Apr 2011
@happyharry_z
You should be accusing Google of cheating its stockholders by failing to patent this new protocol so it can be licensed for profit to legitimate commercial software developers like MS. Developers of open source browsers (illegitimate by definition) would naturally be excluded, but the only thing corporations are allowed to care about is money.
0 Votes
+ -
Really?!?!? Really?!?!?! If Microsoft published something like this and only used its web sites and IE9 to document the approvement, all you would hear from the blogosphere would be, "They are cheating somehow, show us the independent testing."

But, since it is Google, it's, "Wow, this is wonderful when can we all get it!"
0 Votes
+ -
@hornerea

That's because Google is trying to make it easy for others to do the same thing. Microsoft doesn't try to make it hard, but they certainly don't try to make it easy.
0 Votes
+ -
RE: Google speeds up the Web with SPDY
Cylon Centurion 12th Apr 2011
Really? No, I am NOT using Chrome, and I don't want to use Chrome.

But hey since this is Google, it's OK. Had this been Microsoft or Apple, this blog would have been a shitfest of hate. Oh, with a complaint that XP is no longer supported thrown in.
0 Votes
+ -
RE: Google speeds up the Web with SPDY
Tigertank 12th Apr 2011
@Cylon Centurion 0005
Looks like the $hitfest is starting. and you're throwing the party.
0 Votes
+ -
Really sick of all these google bullsh*t, may be the engineers are trying to get a payrise with all these stunts, what are they trying to achieve creating another useles standard? They are only helping to create confusion. And all those bloggers crowing loading speed improvements ( which is less a millisecond or so) only matters to those idiot bloggers.
0 Votes
+ -
SPDY
marionspd 12th Apr 2011
When I am using Chrome and on a google web site what indicates in the browser that SPDY is being used and active?
0 Votes
+ -
If it indeed works it will take off.
George Mitchell 12th Apr 2011
Things that work and that are offered without strings eventually become the standard. That is how the Internet started and how it will continue to develop. I have found that I can greatly speed up web performance by running an onboard caching nameserver to eliminate remote DNS lookups with every request. And though I haven't abandoned Firefox just yet, I am noting impressive speed improvements with Chromium plus impressive new HTML5 functionality.
0 Votes
+ -
"If Microsoft did this ..."
daboochmeister 12th Apr 2011
Oh, please, gimme a break. You think MS doesn't do this already? They ALWAYS deliberately provide an optimized experience from IE when you access sites using MS software. Have you tried Outlook Web Access or Sharepoint access from a non-IE browser recently? They've evolved ethically past the "DOS ain't done till Lotus won't run" stage, but not much. And certainly not to the stage of open sourcing and coordinating with standards bodies on their good ideas (of which they have many, when you study the output from their research dept).
0 Votes
+ -
This has been done before at the ISP level many, many times. The idea is that decompression is far faster on modern equipment than the broadband rate. It's the same finding that drove the use of compressed textures for 3D rendering. The penalty for decompression was minor, especially with dedicated suport in the GPU, compare to the gains in utilizing RAM space and overcoming slow optical media.
0 Votes
+ -
It's the Ads Stupid!
jpr75_z 12th Apr 2011
I'm all for faster page loads, but if we all didn't have to wait, and yes you do wait, for all the stupid ads to load on web pages, maybe we wouldn't need "speedy". The Internet has become bogged down with endless advertising crap (including ZDNet). Try cleaning that up and see how much faster things are. And FYI - NO ONE reads the ads ! It is only when there are sooo many on a web page, and you accidently move your mouse over one - that you look at it.
0 Votes
+ -
RE: Google speeds up the Web with SPDY
OffsideInVancouver 12th Apr 2011
@jpr75_z

This is why I stick with Firefox, NoScript cuts out a lot of this crap.
0 Votes
+ -
But how does this make Google more "social?" They need to stop wasting their time on useful technological advances and move on to earning their bonuses chasing Facebook.
0 Votes
+ -
RE: Google speeds up the Web with SPDY
snoop0x7b 12th Apr 2011
What we need now is an apache MOD_SPDY to allow it to serve the same content (in the same way) over the two protocols.
0 Votes
+ -
Thank you for a technical article that does a decent job of conveying the information we need to know. Too often it is lacking in details (and far to often from some "jounalists" there is a bunch of bias attached).
0 Votes
+ -
It seems to me that the average network connection is the bottleneck. Until most people's Internet connection is at least as fast as their local Wi-Fi router, this is not going to increase the average person's web browsing speed all that much. Most of the bandwidth intensive data is already compressed, such as video, audio and pictures. It is the speed at which this data can be delivered, not the speed of the end-user processing system that determines how long it takes for a webpage to fully load onto a user's screen. Improving the average users speed of connection to the Internet will do far more than any newfangled protocol can accomplish.
0 Votes
+ -
connection and bandwidth
silentlennie 13th Apr 2011
@arminw did you know that most broadband connections don't even get fully utilized when visiting most websites ? Did you know this is because of limits in HTTP ? Did you know SPDY solves this ?
This way you can get the most critical data first, say a video stream, rather than wasting waiting around for an ad to appear before starting the video." -- More likely the opposite would happen, I think (ads prioritized highest, to all load BEFORE the content you actually want to see).
0 Votes
+ -
To bad all the equipment between you and the Googleplex runs http protocol. SPDY would require a lot of hardware changes for all the hops to Google to eliminate http.

SPDY is compression tech with tracking capability.

No thanks.
0 Votes
+ -
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix
Click Here
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix