Would you survive a Digg?

Written by Nico on December 16, 2008 – 2:18 am -

It’s probably every webmasters dream to have his or her site featured on the front page of Digg. A lot of website owners, however, still have nightmares about the day they got Dugg. The avalanche of visitors hitting your site can cause a number of bad things to happen.

Getting shut down by your hosting provider
The sudden increase of traffic can cause some alarm bells to go of at your hosting provider. Some server administrators will mistake the ridiculously high hits on your site for a DDoS attack and take your site offline.

You can prevent this from happening by letting your hosting provider know that a page from your site made the front page of Digg. This is, of course, providing you know you have been Dugg.

Another reason, your web hosting provider might have, to take your site offline, is that your account has used up it’s available traffic resources. A page with only a few images and scripts can easily add up to a few hundred kb of data being transferred on a single page load.

Looking at my website statistics, it seems that my average page size is about 35 KB. If I would be running on a hosting account with a 10 GB a month data limit, I would be able to serve about 285.000 pages a month. That is plenty for most sites, but being on the front page of Digg can drive crazy amounts of visitors to your site, which can chew up your 10 GB plan in no time.

But there is something that can be far worse than having your site taken offline for reaching the bandwidth limit: it’s having your site stay online after using up your monthly bandwidth and

being presented with a bandwidth over usage bill.
Most hosting providers have ridiculous fees for any bandwidth you use on top of what’s included in your hosting plan. This happened to me last year. One of my dedicated servers used more than the plans bandwidth. The bill I was presented was quite high, but I managed to get the hosting provider to cancel the bill.

Having your site shut down or being billed extra can be easily avoided. In case the billing or shutdown would be caused by exceeding your hosting plans allowed amount of traffic, you can simply make your pages smaller. Avoid over usage of images, as they are the biggest items on any page, byte size wise. The images used on your page could be saved with a little higher compression ratio or you could offload the images to a different hosting account to share the bandwidth load. If you don’t have a second hosting account, you could host the images on a free image hosting site, there are plenty of free ones available to you.

It is also very common to have your hosting account disabled for using to much of the servers resources. This won’t happen on a dedicated server, but if you are on a shared hosting account, they can shut your site down for putting too much stress on the servers processor, which will affect other clients websites hosted on the same server. This too is easy to avoid. Have a look at your WordPress blog. Everything is stored in a database. The blog title, the tagline, the post title, the post text, the categories, the tags and much more.


When a page is requested for viewing, the software will read all the necessary information from the database. Compiling a single page involves running a lot of queries. Your web server is good at running queries and retrieving the needed information from the database at lightning speeds, but there are limits. With a few dozen page requests every second, the server will soon have trouble keeping up. Remember that there can easily be over a hundred other websites running on the same server.

Running all these queries to build a single page is not really necessary though, once the page has been created by the php code, it can be stored as a static html file. The next visitor can be presented with the html output directly, which probably uses at least 90% less processing power. Don’t worry if this sounds a bit too technical to you, there is an easy way to implement this method in your WordPress blog, its called caching and there is a nice plugin available: WP Super Cache by Donncha O Caoimh

Don’t wait implementing these until you hit the front page of Digg. Once you are on the page, there will not be much you can do. These measures should be in place before the traffic avalanche hits you. Even if it never happens, it’s better to be save than sorry. So, be prepared!


Other Posts you might like:


Tags: , , , , , ,
Posted in WordPress settings, plugins, traffic | 13 Comments »

13 Comments to “Would you survive a Digg?”

  1. Geoserv Says:

    STUMBLED!

    I’m hosted on a private server that my friend owns so I don’t think I have to worry about any bills or being shut down.

    I highly doubt I will need to worry about this though, as I will probably never see the front page of digg.

  2. John Says:

    Is it possible to have any problems with blogger for receiving too much traffic?

  3. Nico Says:

    I don’t think so. Blogger has so many blogs hosted on their servers, I don’t think any one blog receiving a sudden traffic spike would be noticed much. They might have something in their use policy though, might be worth checking out.

  4. Rowell Dionicio Says:

    I think I would be able to survive a small amount of Digg traffic because of the bandwidth my hosting company provides me but based on previous sites Digg’d I’d have to say that most dont survive :[

  5. newbiesblogger Says:

    get front page at Digg, that is really good, but right now for me that is really hard to archive, maybe i need to learn more about this social bookmark.

  6. kaysheehan Says:

    Its good content and i think we can learn from your articles…may I link Exchange with you???if you like you just visit my blog and then drop your comment its automatic back link for you because I’m Do Follow….Thanks for your attention…

  7. newbiesblogger Says:

    LMAO at the noob above looking for link exchanges!

  8. Mara Says:

    I’ve had and artcile on the frontpage and they shut me doen after 20 minutes.
    http://www.mywindpowersystem.com

  9. Online seo Company Says:

    I have survived a digg…luckily I have my own servers and high speed connection coming in. It is a great source of traffic!

  10. Jimmy Bryant Says:

    Love to be on the front page of DIGG, that would be great… But you better be ready to handle the traffic, or you’ll sink under the flow….

  11. nike dunk Says:

    Well I think it ia the dream of every blogger to be in the front page of Digg

  12. Ronald Redito Says:

    I have never been in the front page of Digg but my blog entry was ranked 3rd in the main page of Google for a certain keyword.

    Now I am a believer of the Power of Digg as discussed in the membership site that I have joined.

  13. Digitalzips Says:

    I have to say I haven’t been lucky (?) enough to have been Digged but I have had a major stumble or two.

Leave a Comment

RSS

  • Subscription

    Fill out the form below to signup to our blog newsletter and we'll drop you a line when new articles come up.

    email address:

  • Categories

  • Tags

  • Archives

  • Top Commenters

  • Sponsored Links

    Adgitize your web site.
  • Recent Posts

  • blogarama - the blog directory