Slashdot Mirror


How Much Are Ad Servers Slowing the Web?

vipermac writes "Most of the times I have a problem with a Web page loading slow or freezing temporarily, I look down at the status bar and see that it's waiting on an ad server, Google Analytics, or the like. It seems to me that on popular Web sites the bottleneck is overwhelmingly on the ad servers now and not on the servers of the site itself. In my opinion we need a better model for serving ads — or else these services need to add more servers/bandwidth. Are there any studies on the delay that 3rd-party ad servers are introducing, or any new models that are being introduced to serve ads?"

7 of 363 comments (clear)

  1. Browser's fault? by DoofusOfDeath · · Score: 4, Interesting

    Is it possible for browsers to render everything *else* on a page while awaiting the ads to be served?

    I realize this means performing some speculative page layout that may need to be re-done when the dimensions of the ads are served. But it sure would beat waiting tens of seconds to see the page's real content.

    1. Re:Browser's fault? by dpu · · Score: 5, Interesting

      Another option is to use the "DEFER" option in the script tag. Any script within the tags will wait until the page loads before executing. I wish ad companies would start using that *sigh*

      --
      Dammit, I meant to post that anonymously!
    2. Re:Browser's fault? by FireFury03 · · Score: 5, Interesting

      Is it possible for browsers to render everything *else* on a page while awaiting the ads to be served?

      Most ad systems seem to work by placing a <script> tag where you want the ad to appear which loads a script from the ad server that does a document.write() to insert the actual code. This is very bad practice (and explicitly disallowed for XHTML) but even Google do it (which sucks since I have to jump through all sorts of hoops to get AdSense to work on my XHTML site).

      document.write() works by actually writing out HTML and feeding it into the parser and thus parsing the page must be suspended at that point until it's finished executing, so you can't render the page until the advert has loaded.

      The _correct_ way to do this is for the ad-serving Javascript to actually modify the DOM tree. But that requires the ad server developers to not be lazy and have clue, which seems to be asking too much. (or alternatively, don't use Javascript at all).

    3. Re:Browser's fault? by Shados · · Score: 3, Interesting

      Good point. When I posted that, I had in mind the typical mainstream sites, like news web sites, this very one, etc. Web sites made by professionals. Even blog web sites tend to have a few software engineers behind em, the bloggers don't make the engine.

      Don't see THAT many ad driven web site made in MS Word these days...

  2. Agreed by garett_spencley · · Score: 3, Interesting

    I run a few web sites and on some I have a geo-IP targeted ad that loads in an iframe. This particular ad is often a bottleneck so I wanted to solve it. My first idea was to run a wget on the server and cache the output to the hard disk so I can load the ad from the server instead of a 3rd party. This would also require one less DNS look-up.

    Then I realized that it would completely fail because the ad is geo-IP. So the cache will always display the location of my server, and not the user.

    The obvious solution is for ad companies to offer scripts to their affiliates that could be run on the servers hosting the sites. Of course that opens up new problems, like security issues. But if the code were open we could spot such issues.

    In fact, that seems to me like such a simple and obvious solution. The only reason that ad companies don't do that (that I can think of) is that they want to appeal to people running on free hosts where they can't run server-side scripts. But there's no reason not to offer both IMO. I also thought that they wanted to keep things as absolutely simple as possible, and there's nothing simpler than saying "just copy/paste this into your html document". But any web master who rents hosting (shared or dedicated) knows how to upload a php script.

  3. Abusers aren't satisfied with one kind of abuse. by Futurepower(R) · · Score: 4, Interesting

    The people who make ads are a self-destructive bunch. Numerous times I've waited for a Slashdot page to load while some ad server took its time. Abusing me with abusive, dishonest ads wasn't enough, they wanted to abuse me by wasting my time, too. Mentioning the problem to Slashdot editors brought only temporary fixes, or no change.

    So now I don't see the ads at all, thanks to Firefox's AdBlock Plus and NoScript add-ons. (I recommend NoScript only for people who don't mind fiddling with permissions for each new web site.)

    I guess abusers aren't satisfied with only one kind of abuse. I can dimly remember some of the Slashdot ads. When they weren't misleading, they were generally stupidly written. People with no technical knowledge shouldn't work for technical companies.

  4. Re:use firefox and adblocker! by v1 · · Score: 3, Interesting

    But isn't that like saying if you don't look at the bilboard as you drive down the highway, or at the ad poster on the subway, or walk into the kitchen for a snack during the commercial break, that you're a theif? The television example is probably the best and easiest to associate with.

    Advertisements are an opportunity to make an impression on a customer. While there will always be technologies that make it difficult to ignore the ad, in most cases you are not obligated to be impressioned. Just because the advertisers get upset that you are stealing the cheese from their trap, it's your prerogative.

    I'm a little surprised that we don't see more "banner" ads on TV. Imagine all these people with the widescreen sets that are viewing content with black sides because it's 4x3 formatted instead of widescreen. Imagine banners on both of those dead zones on the sides, that change every 20-30 seconds and adjust their product to something related to the main feature. Y know I think I would prefer that to the "four miniutes of commercials every 10 minutes" we get now. Also, even though a lot of shows are timed for like 49 minutes for the hour to accomodate commercials, a lot of stations trim out scenes or cut them short to insert more ads, so we would be getting more content. I wouldn't mind them doing this so long as they were not animated. Sort of like how I can't stand the animated shockwave banners here and at other sites. I don't understand why no one is doing this already. Though I have seen a few isolated examples of banner ads being shot across the bottom of the screen briefly during some shows - those are overlays though and degrade the content so maybe that's why those have been unsuccessful.

    --
    I work for the Department of Redundancy Department.