<?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>Ben Tremblay &#187; hosting</title>
	<atom:link href="http://bentremblay.com/en/tag/hosting/feed" rel="self" type="application/rss+xml" />
	<link>http://bentremblay.com/en</link>
	<description>The web, what matters, common sense</description>
	<lastBuildDate>Thu, 17 May 2012 15:38:00 +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>HostGator hosting: MySQL Performance review</title>
		<link>http://bentremblay.com/en/hostgator-mysql-performance-review</link>
		<comments>http://bentremblay.com/en/hostgator-mysql-performance-review#comments</comments>
		<pubDate>Tue, 14 Oct 2008 02:21:33 +0000</pubDate>
		<dc:creator>Ben Tremblay</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[database performance]]></category>
		<category><![CDATA[HostGator]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[MySQL performance]]></category>
		<category><![CDATA[reseller account]]></category>

		<guid isPermaLink="false">http://www.frogstr.com/?p=223</guid>
		<description><![CDATA[I want to follow up on my last week (Maybe more) post &#8220;Google loves fast hosts&#8220;. In that post I talked about how switching to a HostGator reseller account helped me increase the number of pages crawled everyday by Google, but also cut by more than half the average load time of a page. Some [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I want to follow up on my last week (Maybe more) post &#8220;<a href="http://www.frogstr.com/google-loves-fast-hosts">Google loves fast hosts</a>&#8220;. In that post I talked about how switching to a <a href="http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=seohorror">HostGator</a> reseller account helped me increase the number of pages crawled everyday by Google, but also cut by more than half the average load time of a page. Some people asked for a follow up on that to make sure Google wasn&#8217;t just very nice with me. Even if Google is rarely nice just for the fun of being nice, I&#8217;ll provide a little more to you guys.</p>
<p style="text-align: justify;">I&#8217;m covering something I don&#8217;t think has been covered a lot before. Most people don&#8217;t care about database performance because most people don&#8217;t use 1% of their host capabilities. The website I&#8217;m talking about in this article was extremely resources hungry and was reaching the limits of the host. I think that&#8217;s why I didn&#8217;t find a single database performance review of <a href="http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=seohorror">HostGator</a> when I wanted to switch host, but here it is.<span id="more-223"></span></p>
<h2>Why MySQL Performance?</h2>
<p style="text-align: justify;">Before switching hosting company, I ran a lot of tests on the website and one of the most important test I did was to enable GZIP on the website. Enabling GZIP actually cut the size of files like .js and .css by about 85% because it compresses all of them before sending them to the client. What was the result of enabling GZIP on the website? No result. The site wasn&#8217;t any faster! The bottleneck really was the database because of the number of entries and that&#8217;s where the MySQL performance issue comes into play.</p>
<h2>What database are we looking at?</h2>
<p style="text-align: justify;">The database is a 150mb database with 975,000 records total and most of these records are stored in three out of the 19 tables. So you can imagine where the requests happen the most right? Most of them happen in these three tables.</p>
<h2>Test One</h2>
<p style="text-align: justify;">I simply ran two very simple tests. The first one was to run a page load (By making sure to delete the browser&#8217;s cache before) with Firebug. If you guys don&#8217;t know what Firebug is, it is a VERY useful Firefox plugin for web developers and you can get it <a href="http://getfirebug.com/">here</a>. I ran this test before and after switching hosting company and here are the results:</p>
<blockquote><p><strong>Before: </strong>48 requests, 275kb, <strong>11.57s</strong></p>
<p><strong>After, with HostGator:</strong> 48 requests, 275Kb, <strong>3.94s</strong></p></blockquote>
<p style="text-align: justify;">To understand these numbers, we have to understand how Firebug calculates the time to load a page. It&#8217;s not the actual time it took to display the page, but it&#8217;s the time it took to download every single file, added up. The time taken to download the page is actually more like half of that time because a lot of data get processed simultaneously.</p>
<h2>Test Two</h2>
<p style="text-align: justify;">For the second test, I simply trusted Google. Here are two screen shots from Webmaster tools that show the Google bot activity on the website:</p>
<p><a href="http://www.frogstr.com/wp-content/uploads/2008/10/numberpages.png"><img class="alignnone size-full wp-image-224" title="Number of Pages crawled per day" src="http://www.frogstr.com/wp-content/uploads/2008/10/numberpages.png" alt="" width="500" height="110" /></a></p>
<p><a href="http://www.frogstr.com/wp-content/uploads/2008/10/timespent.png"><img class="alignnone size-full wp-image-225" title="Time spent downloading a page" src="http://www.frogstr.com/wp-content/uploads/2008/10/timespent.png" alt="" width="500" height="127" /></a></p>
<p style="text-align: justify;">On these two charts, we first see the number of pages crawled per day and the time spent downloading a single page. The red box represent the new host and everything prior to that is the old host. We can clearly see that the time spent downloading a single page went from a top value of something like 3 seconds to an all time low value of about 0.4s! To me, this is what I call a great improvement.</p>
<p style="text-align: justify;">On the first chart we can easily see that because Google spends less time downloading a page, the bot crawls more page every day.</p>
<h2>Reseller Vs Shared</h2>
<p style="text-align: justify;">I know you guys are saying: &#8220;Yeah right, but I won&#8217;t pay 25$ a month for a reseller account, my website doesn&#8217;t even make 25$ a month! I know, but I tested the shared hosting as well! Ain&#8217;t it nice? I know. The results are slightly less impressive, but really good as well so you can go for it without any problems.</p>
<h2>Wrapping up</h2>
<p style="text-align: justify;">I did not do this to promote <a href="http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=seohorror">HostGator</a>. You know why? Because I think I provided probably the most complete review of HostGator out there by providing real numbers and real results. I didn&#8217;t just say: That host&#8217;s great man! Cut the crap, there are thousand of great hosts out there! I didn&#8217;t just say I like the host, I frickin&#8217; liked my old hosting company and I was really feeling bad to leave them. I did that review because HostGator really is a nice host, with great customer service and the performance is really good.</p>
<p style="text-align: justify;">You know what pissed me off when I tried HostGator? I couldn&#8217;t find a single database performance review! What? We&#8217;re building websites here, websites receiving thousand of visitors every day, can I care about the load time of my websites? So here it is, <a href="http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=seohorror">HostGator </a>performs really well on resources hungry websites.</p>
]]></content:encoded>
			<wfw:commentRss>http://bentremblay.com/en/hostgator-mysql-performance-review/feed</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Google loves fast hosts</title>
		<link>http://bentremblay.com/en/google-loves-fast-hosts</link>
		<comments>http://bentremblay.com/en/google-loves-fast-hosts#comments</comments>
		<pubDate>Tue, 30 Sep 2008 02:10:15 +0000</pubDate>
		<dc:creator>Ben Tremblay</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[traffic]]></category>

		<guid isPermaLink="false">http://www.frogstr.com/?p=151</guid>
		<description><![CDATA[I talked about the Google bot recently and how the bastard killed one of my website even on a decent reseller account. Seriously, I love the Google bot, it helps me get indexed What I want to talk about today is how a new host positively impacted my website and how it can positively impact [...]]]></description>
			<content:encoded><![CDATA[<p>I talked about the <a href="http://www.frogstr.com/google-killed-it">Google bot recently and how the bastard killed one of my website</a> even on a decent reseller account. Seriously, I love the Google bot, it helps me get indexed <img src='http://bentremblay.com/en/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  What I want to talk about today is how a new host positively impacted my website and how it can positively impact your website.</p>
<h2>Resources hungry</h2>
<p>I talked about it, the reason I bought a reseller account is because one of my website is terribly resources hungry. Before I got on the new host, a page could easily take 4-5 seconds to load and I thought this was a pain. In fact, I&#8217;m pretty sure I lost some traffic because of that: people would just go away! The main bottleneck was the mysql performance which is SO much faster on the new host: it now only takes 1-2 seconds to load a page. To my great surprised, not only my visitors are happier, but the Google bot seems to like me a little more!</p>
<h2>Google loves it</h2>
<p>Let&#8217;s have a look at these two charts from Google Webmaster tools:</p>
<ul>
<li><strong>Number of pages crawled per day</strong></li>
</ul>
<div id="attachment_152" class="wp-caption alignnone" style="width: 510px"><a href="http://www.frogstr.com/wp-content/uploads/2008/09/chartcrawled.png"><img class="size-full wp-image-152" title="Crawled per day" src="http://www.frogstr.com/wp-content/uploads/2008/09/chartcrawled.png" alt="Number of pages crawled per day" width="500" height="150" /></a><p class="wp-caption-text"> </p></div>
<ul>
<li> <strong>Average time to download a page</strong></li>
</ul>
<div id="attachment_153" class="wp-caption alignnone" style="width: 510px"><a href="http://www.frogstr.com/wp-content/uploads/2008/09/charttime.png"><img class="size-full wp-image-153" title="Chart time per page" src="http://www.frogstr.com/wp-content/uploads/2008/09/charttime.png" alt="Average time to download a page" width="500" height="150" /></a><p class="wp-caption-text"> </p></div>
<p>The red arrow marks the point where I switched host. See how the average time spent to download a page significantly dropped AND the number of pages crawled per day significantly increased! I mean, Google spend less time downloading a single page, so it uses the same total time available to download more pages! Isn&#8217;t it great?</p>
<h2>How does that helps your website?</h2>
<p>This will help your website because even if Google spends the same total time on your website, it actually does a lot more during that time. Not only your new pages will get indexed faster, but your other pages will get updated more often.</p>
<h2>Some stats?</h2>
<p>The site went from 500 uniques a day to 1000 uniques a day in a single week, and it&#8217;s increasing a little everyday since them. That&#8217;s what I call a good result.</p>
<h2>Do I have to go with a better host?</h2>
<p>It all depends the type of website you run. If you run a blog with not much traffic and you don&#8217;t update very often, that probably won&#8217;t make a difference. On the opposite, if you feel your website is really slow to load, you are getting some decent traffic and you update quite often then I&#8217;d say go for it!</p>
<p>Be aware that a reseller hosting is something around 25$ a month, so if you&#8217;re website doesn&#8217;t make 25$ a month, don&#8217;t do the upgrade! <img src='http://bentremblay.com/en/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://bentremblay.com/en/google-loves-fast-hosts/feed</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
	</channel>
</rss>

