Are Ad Servers Bogging Down the Web?
blackbearnh writes "The work of making high-volume web sites perform well is an ongoing challenge, and one that continues to evolve as the nature of web content changes. According to Google Performance Guru Steve Souders, fat JavaScript libraries and rich content are creating new problems for web site tuning, but one of the biggest problems lies outside the control of web site administrators — ad servers. In an interview previewing the upcoming Velocity Online conference run by O'Reilly, Souders talks at length about the real causes of poor web performance today, and in particular, the effect that poorly performing ad servers are creating. 'We adopted a framework of inserting ads, of creating ads, that's pretty simple. And because it's pretty simple, it's not highly tuned. That's one reason why we shouldn't be too surprised that we see performance issues in third party ads. The other reason is that ad services are not focused on technology. Certainly companies like Yahoo and Google and Microsoft, we're technology companies. We focus on technology. So it's not surprising that our web developers are on the leading edge of adopting these performance best practices. And it's also not surprising that ad services might lag two, three or four years behind where these web technology companies are.'"
That I should read about this story with an AT&T advertisement next to it done up in Adobe Flash 10 when the exact same thing can be achieved in a few lines of HTML. Seriously, it's an all black background with four lines of white text at h2 and h3 ... then an AT&T logo in the bottom and maybe an icon for the button to "learn more." And the article is wondering if advertisers are slowing down the web?
Give the UI back to the user and leave the flashing marquee tags in Las Vegas. The only reason you would use a swf is to achieve some display interaction/functionality not suitable for HTML+CSS+Javascript. This is common sense yet you willing host ads that urinate on common sense. If you want me to read an article on your site, you don't want moving flashing things annoying my eyes while I try to read text so why serve up only a technology (as all ads on Slashdot seem to be) that is designed just for that? Ah, of course, it's your biggest revenue stream. Well then, I guess I'll just dig in and prepare for the cycle to perpetuate ad infinitum. And these two guys can chat all they want about it but there's no solution; it's never going to end because it's Just the Way Things Are.
My work here is dung.
Having worked for an ad-serving company, I'm pretty confident that the reason they don't care is that they're not measured on the speed at which they serve up ads.
If high-value websites started rejecting ad networks that served ads in less then x milliseconds after the rest of the page was downloaded, you'd see ad servers speed up, quick.
Quite often you will be loading a website, and be staring at a blank screen with "making connection to ads.blablabla" at the bottom.... The page itself has loaded, but won't display until the browser has managed to retrieve the ads.
Also you will see ad servers in completely different locations to the site you're viewing, and therefore much slower.
Also, some ads are especially large, especially animated flash ones, and can add a noticeable delay to a page load even if the ad server isn't slow or lagged.
My pet hate btw, are ads which have sound... I find that EXTREMELY annoying and quickly block access to any ad provider which serves such things.
http://spamdecoy.net - free throwaway anonymous email - avoid spam!
This is the main reason I use Adblock Plus. If the advertisements weren't so annoying then I wouldn't mind them, there are a few text ads I don't block because they aren't intrusive at all. But when I see flash based ads that yes could have been done with HTML or JavaScript then I block those immediately.
Technology: Are Ad Servers Bogging Down the Web?
Yes. Period.
So, who's choosing to put these slow third-party ads on their websites again?
no-script for the win, yet again.
Don't kid yourself. It's the size of the regexp AND how you use it that counts.
Surely the ads are in iframes, and so load entirely asynchronously. If they're not, then you're giving third-party content access to your site's security zone, which is a terrible idea.
I am TheRaven on Soylent News
Nothing bogs down a site like Flash.
Case in point: Boing Boing.
Several months ago, Boing Boing got a new layout. The old layout worked fine, was easy to read, easy to scroll. The new Boing Boing stutters when scrolled ... it's annoyingly easy to lose your place and scroll way down or way up by mistake. Grrr ....
-kgj
...let God sort 'em out. At least that's my policy.
Every single time I end up thinking "Geez, this website is taking forever to load", I glance down at the status bar and see "Waiting for adserver3.adcompany.com". Then, I hit refresh and get another ad from another round robin'ed server, and the page loads sucessfully. It's very frustrating to know that the only reason the page is still blank or half-rendered is because of a third party ad.
In this regard, AdBlock makes a significant difference if you tell it to not download ads at all, but I am not comfortable with denying revenue streams to the websites I visit, after all, they are providing me with a service I enjoy, for free.
I just wish that all ads could be loaded last in a manner that doesn't affect the rendering of the website you're trying to view...
On a related note, the same applies to external javascript. Two transactional websites I maintain are sometimes slowed down to a crawl because of the crappy external Javascript marketing made us insert in the page header to track stuff. It's always very frustrating when things end up being slow because of third parties. I wish there was a simple way to cache these things.
I realize that most websites run some version or another of "adverts", but generally speaking, most of those sites are marginal value to start. The sites I frequent usually use text ads, and not the flash (pun intended) graphical ads on some of the more questionable sites.
That actually reminded me of a short study I did in my English class a number of years ago. I wanted to know if you could get a quick feeling for the quality of a magazine based only on the number of advertisements/glossiness of the publication. Given the limited time and amount of money I was willing to spend I chose "Popular Science" and "Scientific American." PopSci had many more adverts than SciAm and, IMO, this means that SciAm is the better magazine. Yeah, it was a little subjective, but it was only a 5 page paper for an English class.
It's nice to see that the same thinking still applies to websites.
I've mentioned the ad bottleneck before. Slashdot is an especially bad offender. Pages use several ad servers, and they use "document.write" to stall the page load until the ad comes up. Even if you have the ad images blocked, some of the junk JavaScript still needs to run.
Some sites are just slow at serving pages. Behind my SiteTruth system there is a specialized web crawler which looks for a business name and address on each web site. It never looks at more than 20 pages, and it's looking for pages like "About", "Contact", and about 40 other words which might plausibly lead to contact info. This process runs about 5-15 seconds for a well-implemented site. I log sites where it takes more than 45 seconds. About 5-10% of sites run overtime. In the last hour, the slowest site is "www.airsmaxkey.com", at 159 seconds to read 10 pages. (Yes, they're a bottom-feeder. Not only is there no business address on the site (a criminal offense in the European Union), they have logos from Verisign, PayPay, Verified by Visa, and MasterCard SecureCode, none of which are actually clickable to do the claimed verification. Nor does their shopping cart checkout use SSL. The whole site may be a scam. SiteTruth gives them a "Do Not Enter" rating.)
Some of the social networking sites have so much Javascript that Firefox will time out. (Facebook had that problem for a while. They fixed it.)
I propose a change of term for this sort of stuff. Instead of "rich" content call it "obese" content or "overloaded" content or "bloated" content. That "rich" term sounds desirable while often the opposite is true. Call the real useful stuff "enhanced" content or something similar...
--frank[at]unternet.org
The last time I profiled some topsites in Firefox, well north of 50% of the CPU time was spent dealing with the Flash ads (as in, 50% of the time the CPU was busy during the pageload the program counter was inside the Flash plugin). Given the typical latency of the ad networks, I'd estimate over 40% of total load time on those sites was taken up by the ads.
Nonsense! I for one have chosen to keep my websites ad-free, hence no ad servers and no slowdown. The same goes for untold thousands of other webmasters.
If you've chosen differently then ... well, I suppose it's your website and your decision — but please don't come whining to us about the consequences.
There are quite a few webmasters who run their ads inside of iframes, as that usually avoids a slow ad holding up the rest of the page loading. The bad thing about that is that expandable ads (even polite, user-initiated) do not work. There are also some other tricks webmasters use, such as creating division tags and then using a bit of javascript trickery to move the ad loading to a point after the content loads.
Webmasters do hate slow ads (not to mention bad ads). I love direct sale campaigns on my site, because they almost always are run from my ad server. If that is slow, my whole site is slow anyway - and that happens very, very rarely (it has been months).
Andrew Borntreger
Champion of cinematic disasters
I realize that most websites run some version or another of "adverts", but generally speaking, most of those sites are marginal value to start. The sites I frequent usually use text ads, and not the flash (pun intended) graphical ads on some of the more questionable sites.
Do you even realize that the hosting/bandwidth for your marginal and questionable comment was paid for by adverts?
Business. Numbers. Money. People. Computer World.
i believe the market needs to be highly regulated to prevent bubbles and pops and to prevent manipulation of smaller players by entrenched powers
having said that, i also understand that the market is the engine that drives innovation. the market needs to be controlled... but there needs to be a market
so when i see
"Yes. Another example of the free market working its wonders."
i see only an idiot who bites the hand that feeds it
dear genius: what is your alternative to making your favorite website run?
all of the slashdot smug in this thread proudly trumpeting their ad blocking methods need to shut up, frankly, because with more widespread use of ad blocking, more websites go under. and yes, dear elitist snob, this includes some sites you like, not just myspace
so what's the solution? more seamless ad delivery, less intrusive ads, faster ads. yes, yes, and yes. but never, ever is a valid answer no ads or less ads
oh, you don't like ads? wow, you're a unique snowflake aren't you? who the fuck does?
the ads are too intrusive to your poor delicate sensibilities about proper screen real estate usage?
ok, that's fine
then pay for your content, moron. because that's the alternative. or is it that you don't understand the fucking obvious?
please, dear slashdot effete: you go ahead and continue block ads, be my guest
just show a little fucking DISCRETION and shut up about it, if you know what is fucking good for you
sheesh
intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
When you hit a web site that loads slow because an ad-server or its DNS is slow to respond, report it to the content-owner web site.
They will be annoyed on multiple counts:
*Their advertisers aren't getting eyeballs they want
*Their own content is being devalued due to their site appearing "sluggish"
*They are getting complaints
By the way, a well-run ad network can give better performance than a poorly-run in-house network.
Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
In 1995, columnist and Ethernet-inventor Bob Metcalfe was again going on about a topic that eventually had him literally eating his words (he had to chop up a column in a blender with water and chug it) - that the Internet was going to collapse from all the heavy bandwidth demands of its exponentially-expanding clientele.
So I did a "View Source" on the Infoworld page with his column on it. I've lost the E-mail now, but the stats were something like his column being 2000 bytes and the sum of all the advertising around it, mostly GIF images at the time, was over 20,000 bytes. The Ad/Content ratio even then was over 10:1.
Metcalfe, who'd been railing against irresponsible bandwidth consumption in the column, could only plead that he had no control over the magazine's decisions on what went around it.
The web has always been the reverse of TV, where the ad/content bandwidth is about 1:4 or even 1:5. It's not far different from some magazines, though, where I swear there are 3 pages of ads for every page of content. And if you digitized the magazine, the ads would mostly be images, the content mostly text, and the ratio would be at least 10:1.
This is all prologue to new web content where you are slowed down not so much by download times as the start-up times for various Flash and JavaScript programs that make the ads so much more intrusive, zipping back and forth over the text you're trying to read, or just dancing in the corner of the page.
This is all necessary: they do what they MUST to get response from the ads. If the stats don't show a response, they stop buying them and the business model fails.
Everybody says "Nobody will pay for content on the Internet". Yes, they will. The put up with all that crap rather than pull out a credit card. They just pay with their time and attention instead of actual cash.
Rod Serling, one of the great TV writers of all time, once commented that it is hard to tell a story when you must work it around being interrupted every ten minutes by dancing rolls of toilet paper. I wonder what he'd think of writing for a medium where the toilet paper literally dances all over your words until you click on it to make it go back to the lower right frame.
Comment removed based on user account deletion
Dude - you just gave me eye cancer.
A good education is a bit like a STD - it makes you unsuitable for a lot of jobs and gives you a desire to spread it.
Why not just go to Adobe's site and block them at the source?
That link doesn't personally appeal to me because it (and Flash cookies in general) is a default-allow policy. I greatly perfer a default-deny policy. I also dislike the idea that I would need Adobe's blessing in order to fully control the behavior of my own computer and the applications on it. That BetterPrivacy addon for Firefox is a better way to deal with this. So is making ~/.adobe/ a symlink to /dev/null, or deleting everything in it and then making it read-only (and root-owned if the plugin tries to modify the permissions). None of those depend on the goodwill of Adobe or its decision to have a default-allow policy for a proprietary and manifestly insecure plugin.
It is a miracle that curiosity survives formal education. - Einstein
"Top 3 addins for privacy: Better Privacy, AdBlock Plus, and NoScript, hands down imo." - by MollyB (162595) on Monday November 30, @01:37PM (#30272526)
Per my subject line above? How about a GLOBAL solution, instead, & one that extends to ALL of your "webbound apps", instead, AND acts as "layered security" in combination with the FF/Mozilla only methods you use (which slow your browser down, use CPU cycles & more... where this solution does not & covers ALL webbound apps, globally)??
Ok, well then - Here we go, & on that note, specifically:
Here is a GOOD SOLID & GLOBAL WORK-AROUND, CALLED A HOSTS FILE!
(It works for more speed online, AND SECURITY ESPECIALLY... Also, it works for your money, because you pay for your linetime out of pocket most likely as I do, you can get back your speed, AND, gain security easily, & from a single easily edited file & a file eats no CPU cycles like a local DNS server can (& are not as security vulnerable either if you protect write access to a HOSTS file also)... Anyhow/anyways - Here goes:
SO - "that all said & aside"? Well, per your reply??
Hey - NO PROBLEM, 110% agreement here on that account... & more (like more speed online AND more security, via a SINGLE EASILY EDITED + POPULATED FILE, called a HOSTS file that extends to EVERY WEBBOUND APP YOU HAVE):
I use a custom HOSTS file, in addition to the tools others here in this thread have noted (which MANY like FF addons only really function for FireFox/Mozilla products, but don't extend globally to all other webbound applications, & that is part of what HOSTS files give you above the methods you extoll + utilize: "GLOBAL COVERAGE", & of ALL webbound apps, not just FireFox/Mozilla ones via the addons you noted + use yourself...).
HOSTS files can be used to blockout KNOWN "bad" adserves, maliciously coded sites or adbanners, and "botnet C&C servers" too!
You can obtain reliable HOSTS files from reputable lists for more security online, but also for speed!
(More on that later & WHY/HOW (I use reliable lists for that, such as these HOSTS @ Wikipedia.com -> http://en.wikipedia.org/wiki/Hosts_file or those from mvps.org (a good one this one))
I also further populate & keep current my custom HOSTS file with up to date information in regards to all of those threats, via:
----
A.) Spybot "Search & Destroy" updates (populates HOSTS and browser block lists)
B.) Sites like ZDNet's Mr. Dancho Danchev's blog -> http://ddanchev.blogspot.com/
C.) Sites like FireEye -> http://blog.fireeye.com/
D.) SRI -> http://mtc.sri.com/
----
My HOSTS file incorporates ALL of the entries from the HOSTS files shown @ wikipedia as well... gaining me speed online (by blocking adbanners, which have been compromised many times the past few years now by malscripted exploits (examples below)).
(I combined ALL reputable HOSTS files with one of my own (30,000 entries), & I removed duplicates removed via a Borland Delphi app I wrote to do so called "APK HOSTS File Grinder 4.0++". That program also functions to change the default larger & SLOWER 127.0.0.1 blocking 'loopback adapter' IP address to either 0.0.0.0 (for VISTA/Windows Server 2008/Windows 7, smaller & thus faster than 127.0.0.1 default) or the smallest & fastest 0 "blocking 'IP ADDRESS'" (for Windows 2000/XP/Server 2003 which can STILL use it (& it was added in a service pack on Windows 2000, only on 12/09/2008 MS patch tuesday was it removed for VISTA onwards (& now all these "phunny little bugs" are showing up as FLAWS in this new NDIS6 approach via WFP as well in the firewall, which ROOTKIT.COM has stated (with code too no less on how it is done) ->
Why can't the serving of ads be done from the primary website's server?
Control.
The ad server outfit wants to control the ad content and the ad count from their end to avoid fraud by the content site owner.
If you're a zombie and you know it, bite your friend!
I'm quite willing to custom-hosts blacklist CSS-servers, too.
FWIW.
"My opinions are my own, and I've got *lots* of them!"