<?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>PHP User-Group Philippines &#187; jrosslee</title>
	<atom:link href="http://www.phpugph.com/blog/author/jrosslee/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpugph.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 23 Dec 2009 04:00:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Distributed Data Caching Using Memcached</title>
		<link>http://www.phpugph.com/blog/2007/05/01/distributed-data-caching-using-memcached/</link>
		<comments>http://www.phpugph.com/blog/2007/05/01/distributed-data-caching-using-memcached/#comments</comments>
		<pubDate>Tue, 01 May 2007 03:58:13 +0000</pubDate>
		<dc:creator>jrosslee</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Beginner]]></category>

		<guid isPermaLink="false">http://www.phpugph.com/blog/2007/05/01/distributed-data-caching-using-memcached/</guid>
		<description><![CDATA[Building a high demand site that serves billions of hits a month like livejournal or friendster is not as easy as writing a php code, grab data from the db and then spit out a page. DB access always have a huge performance penalty for a given site. Some site approach this problem by building [...]]]></description>
			<content:encoded><![CDATA[<p>Building a high demand site that serves billions of hits a month like livejournal or friendster is not as easy as writing a php code, grab data from the db and then spit out a page. DB access always have a huge performance penalty for a given site. Some site approach this problem by building more slave db&#8217;s to distribute reads. This is very costly and sometimes you&#8217;re still restricted to how fast your db can retrieve data. Another approach which we will discuss today is caching in RAM using memcached.</p>
<p>Memcached (with the &#8220;d&#8221;) is a distributed in-memory caching developed by Danga Interactive and some volunteers. A php client library is available and Â can be downloaded via pecl. To know more about memcached you can visit their site at <a href="http://danga.com/memcached/">http://danga.com/memcached/</a>. In my next article, I&#8217;ll give you an overview on how to implement caching on your code. But for now, just read through <a href="http://www.php.net/memcache">http://www.php.net/memcache</a>.</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.phpugph.com%2Fblog%2F2007%2F05%2F01%2Fdistributed-data-caching-using-memcached%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:auto;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.phpugph.com/blog/2007/05/01/distributed-data-caching-using-memcached/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
