<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
>

<channel>
	<title>Unquiet Desperation &#187; Best Practices</title>
	<atom:link href="http://www.unquietdesperation.com/category/tech/best-practices/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unquietdesperation.com</link>
	<description>The Mass of Men Lead Lives of Quiet Desperation. Where&#039;s the Fun in That?</description>
	<lastBuildDate>Mon, 08 Mar 2010 11:37:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<!-- podcast_generator="Blubrry PowerPress/1.0.4" mode="advanced" entry="normal" -->
	<itunes:summary>The Mass of Men Lead Lives of Quiet Desperation. Where&#039;s the Fun in That?</itunes:summary>
	<itunes:author>Christopher T. Miller</itunes:author>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://www.unquietdesperation.com/UDLogo300.png" />
	<itunes:owner>
		<itunes:name>Christopher T. Miller</itunes:name>
		<itunes:email>codeshaman@gmail.com</itunes:email>
	</itunes:owner>
	<managingEditor>codeshaman@gmail.com (Christopher T. Miller)</managingEditor>
	<copyright>2006-2009</copyright>
	<itunes:subtitle>The Mass of Men Lead Lives of Quiet Desperation. Where&#039;s the Fun in That?</itunes:subtitle>
	<image>
		<title>Unquiet Desperation</title>
		<url>http://www.unquietdesperation.com/UDLogo150.png</url>
		<link>http://www.unquietdesperation.com/category/tech/best-practices/</link>
	</image>
	<itunes:category text="Society &amp; Culture" />
	<itunes:category text="Arts" />
		<item>
		<title>The Conductor and the Code Freeze</title>
		<link>http://www.unquietdesperation.com/2009/08/21/the-conductor-and-the-code-freeze/</link>
		<comments>http://www.unquietdesperation.com/2009/08/21/the-conductor-and-the-code-freeze/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 13:03:37 +0000</pubDate>
		<dc:creator>Chris Miller</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Coding and Hacking]]></category>
		<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://www.unquietdesperation.com/2009/08/21/the-conductor-and-the-code-freeze/</guid>
		<description><![CDATA[Aaron, the codeninja who is handling our current code merges and deploys, sent this out today. He leaves little doubt on which side of the code-freeze deadline you want to be.
Hi Everyone,&#160;Please remember that the cutoff is NOON today, per the schedule.&#160;Now may be a good time to wrap up what you&#8217;re working on, and [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://codesoftly.com/">Aaron</a>, the codeninja who is handling our current code merges and deploys, sent this out today. He leaves little doubt on which side of the code-freeze deadline you want to be.<br />
<blockquote>Hi Everyone,<br />&nbsp;<br />Please remember that the cutoff is NOON today, per the schedule.<br />&nbsp;<br />Now may be a good time to wrap up what you&#8217;re working on, and probably not a good time to start anything new.<br />&nbsp;<br />I once saw a woman late to the subway platform try to stop the closing train doors by swinging her shopping bag of expensive clothes between them. The doors closed and trapped the bag. Then the conductor, who could see what had happened, just pulled the train away with her on the platform and the bag still wedged in the door.</p>
<p>I&#8217;ve always admired that conductor.<br />&nbsp;<br />-AO</p></blockquote>
<p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=d32f6d49-d2b6-87b4-9181-6dc02fbe8399" /></div>
<img src="http://www.unquietdesperation.com/site/?ak_action=api_record_view&id=943&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.unquietdesperation.com/2009/08/21/the-conductor-and-the-code-freeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HBase Backup/Export/Import Tool</title>
		<link>http://www.unquietdesperation.com/2008/09/22/hbase-backupexportimport-tool/</link>
		<comments>http://www.unquietdesperation.com/2008/09/22/hbase-backupexportimport-tool/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 00:41:56 +0000</pubDate>
		<dc:creator>Chris Miller</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Mahalo]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[hbase]]></category>
		<category><![CDATA[Tool  We]]></category>

		<guid isPermaLink="false">http://www.unquietdesperation.com/?p=340</guid>
		<description><![CDATA[We (Mahalo) have just released a backup and restore tool for HBase.
From the docs:
Attached is a simple import, export, and backup utility. Mahalo.com has been using this in production for several months to back up our HBase clusters as well as to migrate data from production to development clusters, etc. 
Simple MapReduce job for exporting [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://hadoop.apache.org/hbase/'><img src="http://www.unquietdesperation.com/site/wp-content/uploads/2008/09/hbase_small.gif" alt="" title="hbase_small" class="alignright size-full wp-image-341" /></a>We (<a href="http://www.mahalo.com">Mahalo</a>) have just released a backup and restore tool for <a href="http://hadoop.apache.org/hbase/">HBase</a>.</p>
<p>From the docs:</p>
<blockquote><p>Attached is a simple import, export, and backup utility. Mahalo.com has been using this in production for several months to back up our HBase clusters as well as to migrate data from production to development clusters, etc. </p>
<p>Simple MapReduce job for exporting data from an HBase table. The exported data is in a simple, flat format that can then be imported using another MapReduce job. This gives you both a backup capability, and a simple way to import and export data from tables.</p>
<p>The output of a backup job is a flat text file, or series of flat text files. Each row is represented by a single line, with each item tab delimited. Column names are plain text, while column values are base 64 encoded. This helps us deal with tabs and line breaks in the data. Generally you should not have to worry about this at all.
</p></blockquote>
<p><a href="http://issues.apache.org/jira/browse/HBASE-897">HBase Backup/Export/Import Tool</a></p>
<img src="http://www.unquietdesperation.com/site/?ak_action=api_record_view&id=340&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.unquietdesperation.com/2008/09/22/hbase-backupexportimport-tool/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Speaking of Hadoop</title>
		<link>http://www.unquietdesperation.com/2008/08/11/speaking-of-hadoop/</link>
		<comments>http://www.unquietdesperation.com/2008/08/11/speaking-of-hadoop/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 18:33:56 +0000</pubDate>
		<dc:creator>Chris Miller</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Coding and Hacking]]></category>
		<category><![CDATA[Mahalo]]></category>
		<category><![CDATA[cluster computing]]></category>
		<category><![CDATA[distributed data processing programs]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.unquietdesperation.com/2008/08/11/speaking-of-hadoop/</guid>
		<description><![CDATA[We&#8217;ve recently switched the backend of Mahalo to use Hadoop for all of our text archiving needs.  What&#8217;s Hadoop?  Glad you asked&#8230;
Hadoop: When grownups do open source &#124; The Register
Hadoop is a library for writing distributed data processing programs using the MapReduce framework. It&#8217;s got all the makings of a blogosphere hit: cluster [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve recently switched the backend of Mahalo to use Hadoop for all of our text archiving needs.  What&#8217;s Hadoop?  Glad you asked&#8230;</p>
<p><a href="http://www.theregister.co.uk/2008/08/11/hadoop_dziuba/">Hadoop: When grownups do open source | The Register</a></p>
<blockquote><p>Hadoop is a library for writing distributed data processing programs using the MapReduce framework. It&#8217;s got all the makings of a blogosphere hit: cluster computing, large datasets, parallelism, algorithms published by Google, and open source. Every four days or so, a nerd will discover Hadoop, write a “Basic MapReduce Tutorial with Hadoop” tutorial on his blog with some trivial examples, and feel satisfied with himself for educating the world about a yet-undiscovered gem. Comparatively, very few people actually use Hadoop in practice, and those who do don&#8217;t write about it. Why? Because they&#8217;re adults who don&#8217;t care about getting on the front page of Digg.</p></blockquote>
<p>Read on. It&#8217;s great stuff, and you&#8217;ll definitely learn something useful if your site needs to&#8230;well&#8230;scale.</p>
<img src="http://www.unquietdesperation.com/site/?ak_action=api_record_view&id=309&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.unquietdesperation.com/2008/08/11/speaking-of-hadoop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cache Your WordPress Blog</title>
		<link>http://www.unquietdesperation.com/2008/04/23/cache-your-wordpress-blog/</link>
		<comments>http://www.unquietdesperation.com/2008/04/23/cache-your-wordpress-blog/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 09:30:30 +0000</pubDate>
		<dc:creator>Chris Miller</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[caching solution]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Jeff Atwood]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.unquietdesperation.com/site/?p=250</guid>
		<description><![CDATA[(Originally published on RefreshCleveland)
 photo credit: doyoukekko
In the past few weeks, I&#8217;ve helped some of my friends move their WordPress blogs to new servers. One of them had a consistent problem with their host because WordPress was hogging cycles on the shared server.  We implemented the WP-Cache plugin, and things got better in minutes.

Jeff [...]]]></description>
			<content:encoded><![CDATA[<p><em>(Originally published on <a href="http://www.refreshcleveland.org">RefreshCleveland</a>)</em></p>
<div class="ccphoto"><a href="http://www.flickr.com/photos/8543109@N04/2109800709/" title="The power of microsoft" target="_blank"><img src="http://farm3.static.flickr.com/2171/2109800709_075d3962ee_m.jpg" alt="The power of microsoft" border="0" /></a><br /><small><a href="http://creativecommons.org/licenses/by-nc-nd/2.0/" title="Attribution-NonCommercial-NoDerivs License" target="_blank"><img src="http://www.unquietdesperation.com/site/wp-content/plugins/photo_dropper/images/cc.png" alt="Creative Commons License" border="0" width="16" height="16" align="absmiddle" /></a> <a href="http://www.photodropper.com/photos/" target="_blank">photo</a> credit: <a href="http://www.flickr.com/photos/8543109@N04/2109800709/" title="doyoukekko" target="_blank">doyoukekko</a></small></div>
<p>In the past few weeks, I&#8217;ve helped some of my friends move their WordPress blogs to new servers. One of them had a consistent problem with their host because WordPress was hogging cycles on the shared server.  We implemented the <a href="http://mnm.uib.es/gallir/wp-cache-2/">WP-Cache</a> plugin, and things got better in minutes.<br />
<br/><br/></p>
<p><a href="http://www.codinghorror.com/">Jeff Atwood</a> has written a terrific article about the perils of using WordPress without caching.</p>
<blockquote><p>I&#8217;ve been thoroughly impressed with the community around WordPress, and the software itself is remarkably polished. That&#8217;s not to say that I haven&#8217;t run into a few egregious bugs in the 2.5 release, but on the whole, the experience has been good bordering on pleasant.<br />
<br/><br/><br />
Or at least it was, until I noticed how much CPU time the PHP FastCGI process was using for modest little old blog.stackoverflow.com. </p></blockquote>
<p><span id="more-250"></span></p>
<p><a href="http://www.codinghorror.com/blog/archives/001105.html">Read the full article</a> if you have Wordpress blog &#8212; even if you&#8217;re not technically inclined.  You&#8217;ll thank yourself later.</p>
<p>Caching is the smart way to handle any generated content. When you cache your content, a plugin or service will take the HTML generated by your blog and save it to a flat file. It&#8217;s just like taking a snapshot. The cached file will expire after a time, so that your content will remain fresh. It takes many less CPU cycles to serve flat file than to generate them from the database every time. This has the added benefit of speeding up your blog&#8217;s display time as well.</p>
<p>Consider your RSS feeds. While RSS is a great thing, every time someone hits your feed you are generating content from the database and serving it out to the world. Poorly behaved RSS readers will this your feed as often as every five minutes. For a worst case scenario, take the file size of your feed when generated, multiply it by the number of subscribers you have, and multiply that by 12. That&#8217;s how much bandwidth you could be using per hour for the feed alone. If you have a great number of items in your feed or are very popular you&#8217;ll eventually get a shutdown notice from your host or the site will simply shut down on it&#8217;s own, displaying a lovely error message to your audience.</p>
<p>To avoid downtime, use  <a href="http://mnm.uib.es/gallir/wp-cache-2/">WP-Cache</a> or <a href="http://ocaoimh.ie/wp-super-cache/">WP-SuperCache</a> to implement a quick caching solution. For an additional layer of protection, try using Feedburner for your feeds. It caches your feed for 30 minutes on their server, so you reduce the load on your server considerably. You&#8217;ll see your blog begin to behave, and you&#8217;ll get those creepy hosting admins off your case.</p>
<p><strong>Advanced Users:</strong> For those of you who have full control of your servers, look at using <a href="http://danga.com/memcached/">memcached</a> to handle the caching for the server. Less wear and tear on the disk, performs better for larger-scale projects than simple file caching. <a href="http://ryan.wordpress.com/2005/12/23/memcached-backend/">Check out Ryan&#8217;s post</a> on how to implement WordPress with memcached.</p>
<img src="http://www.unquietdesperation.com/site/?ak_action=api_record_view&id=250&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.unquietdesperation.com/2008/04/23/cache-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
