<?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>d o l l m o n t . n e t &#187; apache</title>
	<atom:link href="http://dollmont.net/tag/apache/feed" rel="self" type="application/rss+xml" />
	<link>http://dollmont.net</link>
	<description>Open Source Excellence</description>
	<lastBuildDate>Sun, 03 Jul 2011 07:36:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Website optimization&#8230;</title>
		<link>http://dollmont.net/website-optimization</link>
		<comments>http://dollmont.net/website-optimization#comments</comments>
		<pubDate>Sun, 15 Mar 2009 20:57:22 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[General SysAdmin]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://dollmont.net/?p=26</guid>
		<description><![CDATA[I’ve picked up 3 short contracts in the last week to optimize websites. The real goal here is not so much optimizing the website as it is optimizing the web server. In every case, the web server was Apache, the most popular and widely used web server on the Internet. Invariably, the client has set [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve picked up 3 short contracts in the last week to optimize websites. The real goal here is not so much optimizing the <strong>website</strong> as it is optimizing the <strong>web server</strong>. In every case, the web server was <a href="http://httpd.apache.org/">Apache</a>, the most popular and widely used web server on the Internet.</p>

<p>Invariably, the client has set up a server using <a href="http://www.ubuntu.com/products/whatisubuntu/serveredition">Ubuntu server edition</a> or <a href="http://centos.org/">CenOS</a> or some <a href="http://distrowatch.com/">other Linux distribution</a>. The base server choice is invariably a good one, but problems start to appear after going live and coming under load. These problems occur because the sysadmin who set up the server ignored a few simple rules:</p>

<ol>   <li>Package managers are good for setting up generic systems. For small loads, packaged Apache is fine. But once you start to play with the big boys, you <strong>must</strong> be prepared to build Apache from scratch. Apache needs to optimized to your hardware and needs to be stripped of cruft that you don’t need. </li>    <li>Apache is a powerful server and is great for serving dynamic content. But if you have a lot of traffic, it can be overwhelmed trying to do too many things at once. Split the tasks and have a specialized, light-weight server like <a href="http://www.lighttpd.net/">lighttpd</a> server up your static content and leave just the heavy lifting for Apache. </li>    <li>Optimize your database, too. Don’t focus on just the webserving. If you’re getting data from MySQL, look carefully at how it’s set up. I’ll be covering this as a separate note soon. </li> </ol>

<p>In short, you need to look at all of the processes and individual components. Often, when I’m called in, decisions such as hardware and server software have already been made and I’m required to work within those constraints. But even with hands tied, there’s a lot of things that can be done to improve website performance.</p>
]]></content:encoded>
			<wfw:commentRss>http://dollmont.net/website-optimization/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

