<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>blogio blogging blog &#187; Digg</title>
	<atom:link href="http://blogio.net/blog/tag/digg/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogio.net/blog</link>
	<description>blogging about blogging...</description>
	<lastBuildDate>Mon, 09 Nov 2009 11:18:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Would you survive a Digg?</title>
		<link>http://blogio.net/blog/2008/12/16/would-you-survive-a-digg/</link>
		<comments>http://blogio.net/blog/2008/12/16/would-you-survive-a-digg/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 08:18:38 +0000</pubDate>
		<dc:creator>Nico</dc:creator>
				<category><![CDATA[plugins]]></category>
		<category><![CDATA[traffic]]></category>
		<category><![CDATA[WordPress settings]]></category>
		<category><![CDATA[Digg]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Start Blogging]]></category>
		<category><![CDATA[traffic generation]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blogio.net/blog/?p=98</guid>
		<description><![CDATA[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 &#8230; <a href="http://blogio.net/blog/2008/12/16/would-you-survive-a-digg/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<p><strong>Getting shut down by your hosting provider</strong><br />
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.</p>
<p>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.</p>
<p>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. </p>
<p>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.</p>
<p>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<br />
<span id="more-98"></span><br />
<strong>being presented with a bandwidth over usage bill.</strong><br />
Most hosting providers have ridiculous fees for any bandwidth you use on top of what’s included in your hosting plan. <strong><a href="http://blogio.net/blog/2008/12/11/pay-attention-to-the-small-print/">This happened to me last year</a></strong>. 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.</p>
<p>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.</p>
<p>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. </p>
<div style="float: right; padding-left: 10px;"><script type="text/javascript"><!--
google_ad_client = "pub-8733861721324501";
/* inpost */
google_ad_slot = "3331804443";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p>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. </p>
<p>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: <strong><a href="http://ocaoimh.ie/wp-super-cache/">WP Super Cache by Donncha O Caoimh</a></strong></p>
<p>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! </p>
]]></content:encoded>
			<wfw:commentRss>http://blogio.net/blog/2008/12/16/would-you-survive-a-digg/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

