<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Unmaintainable &#187; misc</title>
	<atom:link href="http://unmaintainable.wordpress.com/category/misc/feed/" rel="self" type="application/rss+xml" />
	<link>http://unmaintainable.wordpress.com</link>
	<description>Scripting, Software Engineering and Stuff in Between</description>
	<lastBuildDate>Sun, 22 Nov 2009 09:05:47 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='unmaintainable.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/6f90ae5619dfc90140df401ac60575d2?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Unmaintainable &#187; misc</title>
		<link>http://unmaintainable.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://unmaintainable.wordpress.com/osd.xml" title="Unmaintainable" />
		<item>
		<title>CAP, Consistent Hashing, etc.</title>
		<link>http://unmaintainable.wordpress.com/2009/03/22/cap-consistent-hashing/</link>
		<comments>http://unmaintainable.wordpress.com/2009/03/22/cap-consistent-hashing/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 09:18:15 +0000</pubDate>
		<dc:creator>mafr</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[distributed systems]]></category>

		<guid isPermaLink="false">http://unmaintainable.wordpress.com/?p=182</guid>
		<description><![CDATA[I&#8217;ve been reading up on distributed systems again. For quite a while, my monthly copy of CACM has been my only connection to computer science topics. This time, I followed a few references and came across interesting concepts (most of them familiar from back in university).

Amazon doesn&#8217;t just sell books over the internet, they&#8217;re building [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unmaintainable.wordpress.com&blog=586265&post=182&subd=unmaintainable&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve been reading up on distributed systems again. For quite a while, my monthly copy of <a href="http://cacm.acm.org/">CACM</a> has been my only connection to computer science topics. This time, I followed a few references and came across interesting concepts (most of them familiar from back in university).</p>
<p><span id="more-182"></span></p>
<p>Amazon doesn&#8217;t just sell books over the internet, they&#8217;re building fascinating systems, too. And sometimes they write articles and papers about it, like in January&#8217;s edition of CACM (see <a href="http://portal.acm.org/citation.cfm?id=1435417.1435432&amp;coll=portal&amp;dl=ACM&amp;idx=J79&amp;part=magazine&amp;WantType=Magazines&amp;title=Communications%20of%20the%20ACM&amp;CFID=://cacm.acm.org/&amp;CFTOKEN=cacm.acm.org/">Eventually consistent</a>). If you&#8217;re familiar with Eric Brewer&#8217;s CAP theorem, you know that in a distributed system, you can decide for only two design goals out of consistency, availability and partition resilience. In traditional systems, consistency is highly valued, but if you&#8217;re willing to trade in consistency for availability, you can build high-performance systems.</p>
<p>One of these systems is <a href="http://portal.acm.org/citation.cfm?id=1294261.1294281&amp;coll=portal&amp;dl=ACM&amp;CFID=27053033&amp;CFTOKEN=80198954">Dynamo</a>, a highly available, distributed key-value store that is part of Amazon&#8217;s internal infrastructure. Dynamo is write-optimized, writes are almost always possible, even if some replicas aren&#8217;t updated. Inconsistencies are resolved during read, typically by business logic inside the application itself.</p>
<p>Dynamo uses <a href="http://portal.acm.org/citation.cfm?id=258533.258660&amp;coll=portal&amp;dl=ACM&amp;CFID=27053033&amp;CFTOKEN=80198954">Consistent Hashing</a>, which is used in distributed hash tables (DHTs) like <a href="http://en.wikipedia.org/wiki/Chord_(DHT)">Chord</a>. This way, nodes can join and leave the network without having to remap the whole key space. As a friend succinctly put it &#8220;Yes, in a non-hostile environment, DHTs really work. They&#8217;re not only useful for distributing cam-rips on the Internet&#8221;. If you&#8217;re ever going to build a cache consisting of more than one caching server, Consistent Hashing is definitely something to check out.</p>
<p>Damn, I miss building stuff like this! It&#8217;s a shame that only large operations really need this kind of infrastructure.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unmaintainable.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unmaintainable.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unmaintainable.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unmaintainable.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unmaintainable.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unmaintainable.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unmaintainable.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unmaintainable.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unmaintainable.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unmaintainable.wordpress.com/182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unmaintainable.wordpress.com&blog=586265&post=182&subd=unmaintainable&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://unmaintainable.wordpress.com/2009/03/22/cap-consistent-hashing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59c9677a3b9569af44561adab6c2a980?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mafr</media:title>
		</media:content>
	</item>
	</channel>
</rss>