<?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>&#60;Code Zen /&#62; &#187; apache</title>
	<atom:link href="http://www.code-zen.net/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.code-zen.net</link>
	<description>Peter Anselmo&#039;s Home on the Web</description>
	<lastBuildDate>Wed, 12 Oct 2011 01:11:59 +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>Concrete5 vs WordPress: Benchmarking Load Time</title>
		<link>http://www.code-zen.net/2010/benchmarking-concrete5-vs-wordpress/</link>
		<comments>http://www.code-zen.net/2010/benchmarking-concrete5-vs-wordpress/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 05:17:44 +0000</pubDate>
		<dc:creator>Peter Anselmo</dc:creator>
				<category><![CDATA[Everything Else]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[benchmarking]]></category>
		<category><![CDATA[concrete5]]></category>
		<category><![CDATA[load]]></category>
		<category><![CDATA[siege]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.code-zen.net/?p=495</guid>
		<description><![CDATA[I just discovered Concrete5 CMS recently when another developer in my area launched a site with it.  Always up for learning something new, I went to the website, read the sales pitch, and decided to give it a whirl.  Before I spend time learning yet another CMS, for kicks I thought I would benchmark it [...]]]></description>
			<content:encoded><![CDATA[<p>I just discovered Concrete5 CMS recently when another developer in my area launched a site with it.  Always up for learning something new, I went to the website, read the sales pitch, and decided to give it a whirl.  Before I spend time learning yet another CMS, for kicks I thought I would benchmark it for speed against WordPress, my current go-to solution.  Here we go.</p>
<p><strong>Preliminaries</strong><br />
Hardware: All tests will be conducted on my Desktop Computer; a custom built PC with a 3.5Ghz Core2 Duo, 4GB of Ram, and a 10,000 RPM hard drive.  Not identical, but similar to many server setups on the market.</p>
<p>Software: I&#8217;m running Ubuntu 10.04 with Apache 2.2, PHP 5.3, and MySQL 5.1.  Once again, apart from using a Desktop OS, this is almost identical to your usual LAMP server software. For benchmarking, I will be using Siege 2.68.</p>
<p><strong>Step 1: Fresh Installs</strong><br />
I downloaded and installed the latest version of Concrete5 (5.4.1.1) and WordPress (3.03)  Here are the screenshots of the home pages out of the box:</p>
<div id="attachment_524" class="wp-caption alignleft" style="width: 160px"><a href="http://www.code-zen.net/wp-content/uploads/2010/12/wordpress-fresh-1.png" rel="lightbox[495]"><img class="size-thumbnail wp-image-524" title="wordpress-fresh-1" src="http://www.code-zen.net/wp-content/uploads/2010/12/wordpress-fresh-1-150x150.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">WordPress Fresh Install</p></div>
<div id="attachment_501" class="wp-caption alignleft" style="width: 160px"><a href="http://www.code-zen.net/wp-content/uploads/2010/12/conrete-fresh.png" rel="lightbox[495]"><img class="size-thumbnail wp-image-501 " title="conrete-fresh" src="http://www.code-zen.net/wp-content/uploads/2010/12/conrete-fresh-150x150.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Concrete5 Fresh Install</p></div>
<div style="clear: both; visibility: hidden;">a</div>
<p><strong>Step 2: Balancing</strong><br />
Okay, First thing, to be fair we need to balance the page weights.  Siege will not load all the linked resources (like CSS and Javscript), I actually only care about the html page weights.  Out of the box Concrete is 1771 bytes and WordPress is 2015 bytes.  Pretty close.  After removing several widgets from the WordPress sidebar (Those extra queries weren&#8217;t fair anyway) and adding the right amount of Lorem Ipsum, the WordPress page is now exactly 1771 bytes as well.  Perfect.</p>
<p><strong>Step 3: Attack!</strong><br />
To stress test my desktop server I am using the following siege command:</p>
<pre> siege -c 50 -r 40 http://localhost/[siteurl]</pre>
<p>This will attempt to make 50 concurrent requests to the website, and will repeat each request 40 times.  This is a total of 2000 requests to each site.</p>
<p><strong>Step 4: Results</strong><br />
Here is the raw data from the tests:</p>
<table cellspacing="5" cellpadding="5">
<tbody>
<tr>
<th></th>
<th>WordPress</th>
<th>Concrete5</th>
</tr>
<tr>
<td>Total Requests:</td>
<td>2000</td>
<td>2000</td>
</tr>
<tr>
<td>Average Response Time (seconds):</td>
<td>2.52</td>
<td>1.62</td>
</tr>
<tr>
<td>Transactions per second:</td>
<td>16.23</td>
<td>22.46</td>
</tr>
<tr>
<td>Longest Transaction (seconds):</td>
<td>4.8</td>
<td>3.13</td>
</tr>
<tr>
<td>Shortest Transaction (seconds):</td>
<td>.10</td>
<td>.07</td>
</tr>
<tr>
<td>Elapsed Time</td>
<td>123.21</td>
<td>89.04</td>
</tr>
</tbody>
</table>
<p>And the corresponding screenshots:</p>
<div id="attachment_508" class="wp-caption alignleft" style="width: 160px"><a href="http://www.code-zen.net/wp-content/uploads/2010/12/siege-results-wp.png" rel="lightbox[495]"><img class="size-thumbnail wp-image-508" title="siege results wp" src="http://www.code-zen.net/wp-content/uploads/2010/12/siege-results-wp-150x150.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Results for WordPress</p></div>
<div id="attachment_507" class="wp-caption alignleft" style="width: 160px"><a href="http://www.code-zen.net/wp-content/uploads/2010/12/siege-results-concrete.png" rel="lightbox[495]"><img class="size-thumbnail wp-image-507" title="siege results concrete" src="http://www.code-zen.net/wp-content/uploads/2010/12/siege-results-concrete-150x150.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Results for Concrete5</p></div>
<div style="clear: both; visibility: hidden;">a</div>
<p><strong>Step 5: Conclusions</strong><br />
As we can see from the data <strong>Concrete5 outperformed WordPress by 20-30% in every measure.</strong> This is a significant amount.  What does this tell us?  For small sites with little content, Concrete5 will scale to additional concurrent users better than WordPress. What does this not tell us?  For one thing, the sites may not scale to additional content equally well.  This test also ignored all the static content which will download from either CMS with equal speed.  Finally, WordPress also has some excellent caching plugins that may have closed the gap.</p>
<p><strong>Other Considerations</strong><br />
Am I suggesting you ditch WordPress and port your sites to Concrete?  Not at all. WordPress has many good things going for it; it is the #1 blogging tool and is a finely tuned engine that powers millions of websites.  What I CAN say for sure, is that if you can outperform that, then you&#8217;re doing something right.  Hats off to the team at Concrete.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p><strong>Update (1 Day Later)</strong><br />
Okay, After posting this, I had a lot of people point out to me that this is not a fair fight.  Concrete has caching enabled by default, and WordPress does not.   After installing wp-super-cache, the elapsed time for 2000 requests from WordPress fell from 123 seconds to 27 seconds.  Wow, crazy plugin.  Either way, my original results stand when you consider out of the box performance.  Wp-super-cache is neither bundled with WordPress nor do it&#8217;s version numbers suggest it is stable.  It&#8217;s technical options are overwhelming to all but advanced users.  Kudos still go to Concrete5 for integrating a simple, stable caching system into the framework.</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.code-zen.net%2F2010%2Fbenchmarking-concrete5-vs-wordpress%2F&amp;title=Concrete5+vs+WordPress%3A+Benchmarking+Load+Time" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.code-zen.net%2F2010%2Fbenchmarking-concrete5-vs-wordpress%2F&amp;title=Concrete5+vs+WordPress%3A+Benchmarking+Load+Time" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.code-zen.net%2F2010%2Fbenchmarking-concrete5-vs-wordpress%2F&amp;title=Concrete5+vs+WordPress%3A+Benchmarking+Load+Time" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.code-zen.net%2F2010%2Fbenchmarking-concrete5-vs-wordpress%2F&amp;headline=Concrete5+vs+WordPress%3A+Benchmarking+Load+Time" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Concrete5+vs+WordPress%3A+Benchmarking+Load+Time&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2010%2Fbenchmarking-concrete5-vs-wordpress%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Concrete5+vs+WordPress%3A+Benchmarking+Load+Time&amp;u=http%3A%2F%2Fwww.code-zen.net%2F2010%2Fbenchmarking-concrete5-vs-wordpress%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Concrete5+vs+WordPress%3A+Benchmarking+Load+Time&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2010%2Fbenchmarking-concrete5-vs-wordpress%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Concrete5+vs+WordPress%3A+Benchmarking+Load+Time&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2010%2Fbenchmarking-concrete5-vs-wordpress%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Concrete5+vs+WordPress%3A+Benchmarking+Load+Time&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2010%2Fbenchmarking-concrete5-vs-wordpress%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2010%2Fbenchmarking-concrete5-vs-wordpress%2F&amp;title=Concrete5+vs+WordPress%3A+Benchmarking+Load+Time&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.code-zen.net%2F2010%2Fbenchmarking-concrete5-vs-wordpress%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.code-zen.net%2F2010%2Fbenchmarking-concrete5-vs-wordpress%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.code-zen.net%2F2010%2Fbenchmarking-concrete5-vs-wordpress%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.code-zen.net/2010/benchmarking-concrete5-vs-wordpress/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server Setup Checklist</title>
		<link>http://www.code-zen.net/2009/ubuntu-server-setup-checklist/</link>
		<comments>http://www.code-zen.net/2009/ubuntu-server-setup-checklist/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 01:51:50 +0000</pubDate>
		<dc:creator>Peter Anselmo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ufw]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://www.code-zen.net/?p=281</guid>
		<description><![CDATA[I&#8217;ve now set up half a dozen or so Ubuntu Server installations over the past year or two.  For the last few, I created a checklist to make sure I don&#8217;t leave any of the smaller, less obvious things out.  I present it here, completely unmodified.  Note, this is more of a preliminary checklist, as [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-290" title="Ubuntu Logo" src="http://www.code-zen.net/wp-content/uploads/2009/06/ubu.gif" alt="" width="70" height="68" />I&#8217;ve now set up half a dozen or so Ubuntu Server installations over the past year or two.  For the last few, I created a checklist to make sure I don&#8217;t leave any of the smaller, less obvious things out.  I present it here, completely unmodified.  Note, this is more of a preliminary checklist, as it doesn&#8217;t include installation of Apache, MySql, PHP or any other programs such as Postfix.  Basically, I&#8217;ll perform these steps regardless of whether It&#8217;ll be a web or mail server.  These also assume you like the vi text editor, if not, you can substitute emacs, nano, or whatever your preference when neccesary.  Also, some of these are already done depending on your server host.</p>
<p><span style="text-decoration: underline;">Time/Date/Language</span><br />
Fix Locale Warnings:<br />
# apt-get install language-pack-en</p>
<p>Set Timezone:<br />
# dpkg-reconfigure tzdata</p>
<p>Install Time Daemon:<br />
# apt-get install ntp</p>
<p><span style="text-decoration: underline;">General</span><br />
Install Manual Pages:<br />
# apt-get install man</p>
<p>Add Domain name<br />
# vi /etc/hosts<br />
127.0.0.1	localhost<br />
123.456.789.012	computername.domain.com	computername (replace external ip)</p>
<p><span style="text-decoration: underline;">Security</span><br />
Add Administrative User (with home directory):<br />
# useradd myusername -m</p>
<p>Give Admin user Sudo Powers<br />
# visudo<br />
myusername ALL=(ALL) ALL</p>
<p>Set Admin Password<br />
# passwd myusername</p>
<p>Set Admin Shell Preference (optional)<br />
# vi /etc/passwd<br />
myusername: [...] :bash</p>
<p>Disable Root SSH Login:<br />
# vi /etc/ssh/sshd_config<br />
PermitRootLogin	no &lt;&#8211;MAKE SURE YOU CREATED ADMIN &amp; PASSWORD</p>
<p>Tighten default permissions for file &amp; directory creation:<br />
# vi /etc/profile<br />
umask	027 (no default access for others)</p>
<p>Install and Set Up Firewall<br />
# apt-get install ufw<br />
# ufw allow ssh &lt;&#8211;DO NOT FORGET THIS<br />
# ufw enable</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.code-zen.net%2F2009%2Fubuntu-server-setup-checklist%2F&amp;title=Ubuntu+Server+Setup+Checklist" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.code-zen.net%2F2009%2Fubuntu-server-setup-checklist%2F&amp;title=Ubuntu+Server+Setup+Checklist" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.code-zen.net%2F2009%2Fubuntu-server-setup-checklist%2F&amp;title=Ubuntu+Server+Setup+Checklist" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.code-zen.net%2F2009%2Fubuntu-server-setup-checklist%2F&amp;headline=Ubuntu+Server+Setup+Checklist" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Ubuntu+Server+Setup+Checklist&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2009%2Fubuntu-server-setup-checklist%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Ubuntu+Server+Setup+Checklist&amp;u=http%3A%2F%2Fwww.code-zen.net%2F2009%2Fubuntu-server-setup-checklist%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Ubuntu+Server+Setup+Checklist&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2009%2Fubuntu-server-setup-checklist%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Ubuntu+Server+Setup+Checklist&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2009%2Fubuntu-server-setup-checklist%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Ubuntu+Server+Setup+Checklist&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2009%2Fubuntu-server-setup-checklist%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2009%2Fubuntu-server-setup-checklist%2F&amp;title=Ubuntu+Server+Setup+Checklist&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.code-zen.net%2F2009%2Fubuntu-server-setup-checklist%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.code-zen.net%2F2009%2Fubuntu-server-setup-checklist%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.code-zen.net%2F2009%2Fubuntu-server-setup-checklist%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.code-zen.net/2009/ubuntu-server-setup-checklist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Book Review: Apache Cookbook</title>
		<link>http://www.code-zen.net/2008/book-review-apache-cookbook/</link>
		<comments>http://www.code-zen.net/2008/book-review-apache-cookbook/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 22:23:51 +0000</pubDate>
		<dc:creator>Peter Anselmo</dc:creator>
				<category><![CDATA[Book Reviews]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://code-zen.net/?p=26</guid>
		<description><![CDATA[I just finished reading Apache Cookbook, Ken Coar and Rich Bowen. I&#8217;d give it a solid five stars. I found it to be very readable, and not overly verbose or cryptic, a problem that can plague computer books. The book is quite the opposite, if I had one criticism, it would be that it could [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_27" class="wp-caption alignleft" style="width: 160px"><a href="http://www.amazon.com/Apache-Cookbook-Solutions-Examples-Administrators/dp/0596529945/ref=bxgy_cc_b_img_b"><img class="size-thumbnail wp-image-27" title="apache" src="http://code-zen.net/wp-content/uploads/2008/11/apache-150x150.jpg" alt="Apache Cookbook" width="150" height="150" /></a><p class="wp-caption-text">Apache Cookbook</p></div>
<p>I just finished reading Apache Cookbook, Ken Coar and Rich Bowen. I&#8217;d give it a solid five stars. I found it to be very readable, and not overly verbose or cryptic, a problem that can plague computer books. The book is quite the opposite, if I had one criticism, it would be that it could be a little thicker. It&#8217;s only 264 pages, and the font is plenty big, which makes for a fast read.</p>
<p>Having set up and run an apache server for a few months, I skipped over many of the early parts of the book. However, I did find lots of useful tips, tricks and tidbits, that I know will come in handy later. For example, I didn&#8217;t know you could make a custom log for any site, with any file, that contains almost any information. You simply specify a <span class="code">CustomLog</span> directive for whatever host you want to monitor. I now set up several specific logs show me only the information I find useful.</p>
<p>Other useful directives are <span class="code">RewriteEngine</span> and <span class="code">RewriteRule</span>. You can do almost anything you want with the URLs from your site, including redirection, query string modification, folder modification, clean URLS and more. This all comes from the module <span>mod_rewrite</span>. There&#8217;s useful info on authentication and authorization, dynamic content, custom error pages, email notification, and much more.</p>
<p>Here&#8217;s a doozy: you can now use apache&#8217;s <span class="code">mod_proxy_balancer</span> to balance a load between a cluster of computers!  Who knew it was so easy!  You can even specify with the <span class="code">ProxyPass</span> directive whether to distribute by bandwith, or by requests!</p>
<p>A few other tidbits that I&#8217;m sure will be useful are the Apache bench utility for benchmarking site performance, and server-status which can monitor your server health and display it somewhere in your website.</p>
<p>All in all, I&#8217;d recommend the book, and I see it being a useful reference in the future</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.code-zen.net%2F2008%2Fbook-review-apache-cookbook%2F&amp;title=Book+Review%3A+Apache+Cookbook" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.code-zen.net%2F2008%2Fbook-review-apache-cookbook%2F&amp;title=Book+Review%3A+Apache+Cookbook" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.code-zen.net%2F2008%2Fbook-review-apache-cookbook%2F&amp;title=Book+Review%3A+Apache+Cookbook" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.code-zen.net%2F2008%2Fbook-review-apache-cookbook%2F&amp;headline=Book+Review%3A+Apache+Cookbook" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Book+Review%3A+Apache+Cookbook&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2008%2Fbook-review-apache-cookbook%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Book+Review%3A+Apache+Cookbook&amp;u=http%3A%2F%2Fwww.code-zen.net%2F2008%2Fbook-review-apache-cookbook%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Book+Review%3A+Apache+Cookbook&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2008%2Fbook-review-apache-cookbook%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Book+Review%3A+Apache+Cookbook&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2008%2Fbook-review-apache-cookbook%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Book+Review%3A+Apache+Cookbook&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2008%2Fbook-review-apache-cookbook%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.code-zen.net%2F2008%2Fbook-review-apache-cookbook%2F&amp;title=Book+Review%3A+Apache+Cookbook&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.code-zen.net%2F2008%2Fbook-review-apache-cookbook%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.code-zen.net%2F2008%2Fbook-review-apache-cookbook%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.code-zen.net%2F2008%2Fbook-review-apache-cookbook%2F" ><img class="lightsocial_img" src="http://www.code-zen.net/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.code-zen.net/2008/book-review-apache-cookbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

