<?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>Cruncht &#187; hosting</title>
	<atom:link href="http://cruncht.com/tag/hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://cruncht.com</link>
	<description>Semantic web development and publishing</description>
	<lastBuildDate>Sun, 21 Mar 2010 23:54:04 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Drupal Hosting Environment (part 4)</title>
		<link>http://cruncht.com/85/drupal-hosting-environment</link>
		<comments>http://cruncht.com/85/drupal-hosting-environment#comments</comments>
		<pubDate>Sat, 30 Jan 2010 09:56:18 +0000</pubDate>
		<dc:creator>Murray Woodman</dc:creator>
				<category><![CDATA[Drupal Planet]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://cruncht.com/?p=85</guid>
		<description><![CDATA[Sometimes the server environment must be taken as a given and we must work within the bounds of what has been provided. Moving servers can be a time consuming process and not something you wish to do if it can be avoided. It&#8217;s best to make the right decisions up front ensuring you have room [...]]]></description>
			<content:encoded><![CDATA[<a href="http://cruncht.com/85/drupal-hosting-environment" title="Drupal Hosting Environment (part 4)"><img src="http://cruncht.com/wp-content/uploads/2010/02/greener_grass_hosting-150x150.jpg" alt="Greener Grass" class="feed-image" title="Grass is greener with dedicated and shared hosting" /></a><p>Sometimes the server environment must be taken as a given and we must work within the bounds of what has been provided. Moving servers can be a time consuming process and not something you wish to do if it can be avoided. It&#8217;s best to make the right decisions up front ensuring you have room to grow if needed. Opting for a shared hosting plan can limit the resources available, the control you have as well as ability to grow.</p>
<p><span id="more-85"></span></p>
<h2><a id='shared-hosting'>Shared Hosting</a></h2>
<p>Shared hosting plans are cheap ($5 per month and up) and it is possible to run small to moderate Drupal sites on them successfully if you take a few precautions. However, they do come with limitations which can make performance optimization difficult.</p>
<h3><a id='ram-cpu-throttle'>RAM and CPU throttled</a></h3>
<p>Drupal is a system which can be heavy on system resources, especially RAM, and so running it on shared hosting can be a challenge in some situations. In many cases a relatively minimal Drupal install will exceed maximum limits enforced by your hosting company. In these cases you will receive a polite letter telling you to fix your site or else you can upgrade to a dedicated server. Don&#8217;t worry. See <a href='#out-of-the-box'>Out of the box</a> for some quick and easy wins on shared hosting plans.</p>
<p>Servers set up like this often have oversold the box you are hosted on and you will be at the mercy of other users who might be exceeding their allotment. Your performance will be adversely affected in these cases. YMMV.</p>
<h3><a id='limited-control'>Limited control</a></h3>
<p>The major downside of shared servers is the limited control you have over the hosting environment, leaving you with relatively few options to improve performance. Luckily Drupal has some handy features built in which make it possible to improve speed, memory and CPU. These are dealt with in more detail below.</p>
<p>It is possible to find good virtual hosting plans for around $20 to $30 a month and it is recommended to give these a try if you desire more control over your installation. You must be comfortable with server admin to do this though so it isn&#8217;t everyone&#8217;s cup of tea: partitioning, installation, configuration, security, certificates, SVN, backup, mail, monitoring, etc. <a href='http://www.linode.com/?r=ebdc977aea6d3ec02c7c6a176073580bf836875b'>Linode</a> (contains affiliate id) is well respected in the Drupal community and is often recommended for virtualized servers.</p>
<h2><a id='dedicated'>Dedicated and Virtual Hosting</a></h2>
<p>Obviously a lot of options are opened up when you move across from shared hosting to a dedicated or virtual setup. Full access to the server means that you are able to implement all of the options discussed in this guide. You all so have the freedom to implement systems which scale out allowing a number of different configurations, including load balancers, multiple web servers, master-slave databases, memory sharing for caches, etc..</p>
<dl class='more'>
<dt><a href='http://www.johnandcailin.com/blog/john/scaling-drupal-open-source-infrastructure-high-traffic-drupal-sites'>scaling drupal &#8211; an open-source infrastructure for high-traffic drupal sites</a></dt>
<dd>Incremental recipes for scaling a Drupal server out by adding more hardware: basic install on a single box, splitting off the DB, load balanced multi web servers, redundant load balancers with multi web servers, database clustering.</dd>
</dl>
<p>This guide doesn&#8217;t examine these techniques in any detail as it is mostly focused on getting the most performance possible out of a single box. Many Virtual hosts allow your to scale up to a new plan, unlocking more memory, disk and processor without any other system changes.</p>
<dl class='more'>
<dt><a href='http://www.xenscale.com/docs/vps-comparison-matrix'><br />
Comparison of Major VPS Providers</a></dt>
<dd>Linode comes out on top again. RAM looks to be the limiting factor here though.</dd>
<dt><a href='http://journal.dedasys.com/2008/11/24/slicehost-vs-linode'>Slicehost vs Linode</a></dt>
<dd>Linode comes out ahead in memory/bandwidth/cpu/storage per $.</dd>
</dl>
<p>Another option for those looking to scale their hardware with virtual servers is to go with a service such as <a href="http://aws.amazon.com/ec2/">Amazon Elastic Compute Cloud</a> (Amazon EC2).</p>
<blockquote><p>Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.</p></blockquote>
<p>The main difference between EC2 and other virtual solutions such as SliceHost and Linode, is that EC2 is able to scale out to new servers when demand requires it. This could be an attractive option for admins who expect large and fluctuating flows of traffic. Project Mercury is a Pressflow image for deployments to EC2 and is <a href="/97/custom-drupal-distributions#project-mercury">discussed later</a>.</p>
<h2 id='hosted'>Hosted Drupal</h2>
<p>Hosted Drupal is a final option for those who want a great setup with quality management without the maintenance hassles for a monthly fee. As the Drupal community matures hosting solutions are beginning to appear. Hosted plans should offer you a range of scaling options without any further setup required.(If your company isn&#8217;t listed here please let me know.)</p>
<dl class='more'>
<dt><a href='http://acquia.com/products-services/acquia-hosting'>Acquia Hosting</a></dt>
<dd>Acquia offer a highly tuned environment for your apps: cloud based hosting (EC2) with load balancing, redundancy, opcode cache, LAMP tuning and Varnish for high performance and scalability. Starts at $500 per month.</dd>
</dl>
<hr />
<p>This article forms part of a series on Drupal performance and scalability. The first article in the series is <a href="http://cruncht.com/75/drupal-performance-scalability">Squeezing the last drop from Drupal: Performance and Scalability</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cruncht.com/85/drupal-hosting-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
