Slashdot Mirror


Google Cuts Chrome Page Load Times In Half w/ SPDY

An anonymous reader writes "It appears as if Google has quietly implemented the SPDY HTTP replacements in Chrome (well, we knew that), and its websites. All its websites were recently updated with SPDY features that address some of the HTTP latency issues. The result? Google says the pageload times were cut about in half. SPDY will be open source, so there is some hope that other browser manufacturers will add SPDY as well."

18 of 310 comments (clear)

  1. My SPDY sense is tingling by DarkOx · · Score: 3, Funny

    :-)

    --
    Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
  2. Have no page load problems by fermion · · Score: 4, Interesting

    My pages load plenty fast. What I notice is that when the page goes to google analytics that load process stops while waiting for the server. There was a time when pages would load partial content, and then go for the ads. Now, many pull the ads and analytics first. This would be good if the ad servers were fast, but the seem to be getting slower. Since google serves so many ads, it seems within it's power to make the web faster by making the ads faster. Perhaps, like MS, they want the web slow for all other browser, so Chrome seems so much faster.

    --
    "She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
    1. Re:Have no page load problems by Dhalka226 · · Score: 3, Insightful

      Some people choose not to block ads.

    2. Re:Have no page load problems by gpuk · · Score: 3, Informative

      Normally, DNS lookups *are* locally cached by default....... if you're on Windows, try running ipconfig /displaydns

      The problem might be with your upstream resolver(s). If you use your ISPs resolvers, maybe they are are overloaded? Or if you are using a non-ISP upstream cache, maybe it's sparsely populated? Either of these would make initial lookups slow.

      You could give Google's public resolvers a try and see if they improve your lookup times: 8.8.8.8 and 8.8.4.4

  3. Detailed info on SPDY by NevarMore · · Score: 5, Informative
  4. Re:Embrace, Extend, ? by bmo · · Score: 4, Insightful

    No, because the Microsoft way to embrace, extend, extinguish was to keep the "how to extend" part to itself and secret, like what they did with Kerberos.

    This is open sauced. You are free to implement it in your own stuff.

    You would have known that if you read the article.

    --
    BMO

  5. Comment removed by account_deleted · · Score: 3, Informative

    Comment removed based on user account deletion

  6. Re:Use in HTTP Servers by S77IM · · Score: 4, Informative
    --
    Student: Is it true that the foundation of the universe is paradox?
    Master: Well, yes and no.
  7. thank you, finally by hesaigo999ca · · Score: 3, Informative

    Finally a story for us geeks that want geek stories....I guess cmdtaco is slowly waking up....

  8. Re:And this... by Zocalo · · Score: 3, Interesting

    SPDY is (according to Google) going to be released as open source, so I'm hopeful that it's development will be more akin to Mozilla's tack with its "Do Not Track" header - add support to your own browser, then throw it out there and see if the market is interested. IE9 already supports the "Do Not Track" header and there is also signs of some interest from websites too, so that's looking good.

    What would be even better though, especially given that SPDY is really an extension to HTTP akin to using GZ compressed data, is if Google were also to write up and submit an RFC or whatever mechanism it is that W3 uses to get HTTP extensions added to the standard, such as it is. SPDY seems very much like a win for both content providers and content consumers to me, so once the details are out there I'd like to think that we'd see fairly rapid adoption by the browsers over the next several months, followed by backend support from Apache, IIS et al with their next major releases.

    --
    UNIX? They're not even circumcised! Savages!
  9. Re:Let's get this out of the way by CharlyFoxtrot · · Score: 3, Insightful

    I'll take a stab at it :

    Everything is sent through an encrypted channel making it difficult to filter out ads before they hit the client (like with privoxy for example.)
    No cashing ("Since we're proposing to do almost everything over an encrypted channel, we're making caching either difficult or impossible." -Protocol Draft) means you'll be served "fresh" ads every time.

    So it looks like this would be good news for Google's core business.

    --
    If all else fails, immortality can always be assured by spectacular error.
  10. SPDY - server push by ThePhilips · · Score: 4, Insightful

    My favorite part of the SPDY is server push: now advertisers can clog my internet channel and hog the browser with ads long before the AdBlock kicks in. Or a hacked site would host malware and load it onto potential victims harddrives in parallel to normal surfing. Imagination is the only limit - of how it can go wrong.

    For the security reasons, I think SPDY is a bad thing.

    And I'm personally not bothered with 1-2s loading times.

    P.S. The Chrome guys instead would have invested more times in the bookmarks, to make them useful. They could start by integrating Chrome with the Google Bookmarks.

    --
    All hope abandon ye who enter here.
    1. Re:SPDY - server push by pavon · · Score: 3, Interesting

      Yeah, and by their own testing, the push features only resulted in an additional -1% to +3% improvement (yes it made things slightly slower in one case). The additional complexity added by those features is not justified by their benefits. They should just drop them.

    2. Re:SPDY - server push by ThePhilips · · Score: 4, Informative

      I'm not sure there's really a security issue here. From the spec, all its doing is letting the server send back multiple items in response to a request for one item. So if you request X, and the server knows you're going to need Y too, it can send both at once.

      If server "knows" that I "need" 2MB of flash ads to see the 40K html page, it would send them to me. IOW browser is out of control what server sends, browser can only discard the content which has wasted my bandwidth and isn't going to be displayed.

      It's not like the server can connect to you out of nowhere and start firing stuff at you. And since a server can already send malicious content back in response to a request, the security aspect isn't really worse then it already is.

      With HTTP, there is no way server can send me something my browser didn't asked for. It can send something bad *instead* of what my browser asked - but only once and with user visible effect. With SPDY, server can send me loads of junk *silently*, still appearing to be serving legit content.

      For static content, it is even worse: first time I visit the page it is cached and then a cached copy used. With SPDY, bandwidth is going to be always wasted for transferring the static content. Yes, I need it to display the page - but no, I have already local cached copy.

      --
      All hope abandon ye who enter here.
  11. SPDY clarifications by mbelshe · · Score: 5, Informative

    Thanks for all the kind words on SPDY; I wish the magazine authors would ask before putting their own results in the titles!

    Regarding standards, we're still experimenting (sorry that protocol changes take so long!). You can't build a new protocol without measuring, and we're doing just that - measuring very carefully.

    Note that we aren't ignoring the standards bodies. We have presented this information to the IETF, and we got a lot of great feedback during the process. When the protocol is ready for a RFC, we'll submit one - but it's not ready yet.

    Here are the IETF presentations on SPDY:
          http://www.ietf.org/proceedings/80/slides/tsvarea-0.pdf
    and
          https://www.tools.ietf.org/agenda/80/slides/httpbis-7.pdf

    I've also answered a few similar questions to this here: http://hackerne.ws/item?id=2420201

    We love help- if you're passionate about protocols and want to lend implementation help, please hop onto spdy-dev@google.com Several independent implementations have already cropped up and the feedback continues to be really great.

    1. Re:SPDY clarifications by 0xABADC0DA · · Score: 3, Interesting

      Since we've got it direct from the horse's mouth -

      - Why server push? Nobody seems to think it's a good idea and it makes things more complicated for everybody involved, including proxies. What is the rationale for this feature.

      - Why did you name it "SPDY" to show "how compression can help improve speed" when SSL already supports compression?

      - In the performance measurements in the whitepaper, what HTTP client did you use and what multiple connection multiplexing method was used if any? How were the results for HTTP obtained? For instance the whitepaper says an HTTP client using 4 connections per domain "would take roughly 5 RTs" to fetch 20 resources, implying theory math. Were situations like 10 small requests finishing in the time it takes to transfer 1 large request taken into account? (ie in practice multiple requests can be made without increasing total page load time)

      - The main supposed benefit seems to be requesting more than one resource at once. Then a request could stall the connection while being processed (ie doubleclick ad) and hold up everything after it, so then you add multiplexing, priorities, canceling requests, and all that complication. Why not just send a list of resources and have the server respond back in whatever order they are available? This provides the same bandwidth and latency with superior fault handling (if the connection closes the browser has only one resource partially transferred instead of several).

      - The FAQ kind of reluctantly admits that HTTP pipelining basically has the same benefits in theory as SPDY except if a resource takes a while and holds up the remaining ones. So what benefit would SPDY have over just fixing pipelining so that the server can respond in whatever order it chooses? The only real problem with HTTP tunneling is fixed-order and bad implementations (ie IIS), correct?

      Barring really good explanations it looks to me like SPDY is just very complicated and increases speed basically as a side-effect of solving other imaginary problems.

  12. Re:And this... by AmberBlackCat · · Score: 3, Insightful

    With Honeycomb, doesn't Google have a history of saying things will be released as open source, and then not releasing the source?

  13. Re:BAD by mbelshe · · Score: 5, Informative

    Actually, you should read the spec as to how it is implemented. The TLS/NPN mechanism for switching to SPDY has no "fallback".

    And there is no intent to rush - heck - we've been working on it for over a year. You think that's rushed? If you're an engineer, I hope you'll appreciate that protocol changes are hard. You can't use pure lab data (although we started out with lab data, of course). Now we need real world data to really figure it out. We changed it in a way which *nobody noticed* for about 4 months. So, I don't think we hurt the web at all, but we are accomplishing the goals of learning how to build a better protocol.

    Seriously, if you have a better way to figure out new protocols, we'd love to hear them at spdy-dev@google.com, and if you want to lend a hand implementing, that is even better!