<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Berkeley DB：网站数据缓存方案测试</title>
	<atom:link href="http://www.fuchaoqun.com/2009/01/bdb-cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fuchaoqun.com/2009/01/bdb-cache/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bdb-cache</link>
	<description></description>
	<lastBuildDate>Sun, 29 Jan 2012 08:51:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: 超群.com</title>
		<link>http://www.fuchaoqun.com/2009/01/bdb-cache/comment-page-1/#comment-64</link>
		<dc:creator>超群.com</dc:creator>
		<pubDate>Sun, 01 Mar 2009 15:20:50 +0000</pubDate>
		<guid isPermaLink="false">http://chaoqun.17348.com/?p=136#comment-64</guid>
		<description>@david
当目录下文件数过多时，文件的定位会是个大问题，尤其都是小文件，我猜测可能是这一个原因。
php内的循环测试没有多大的意义，ab可以模拟并发访问的情况，更有实际意义。
使用文件cache还有一个更大的问题是文件的可靠性和一致性没法保证。我们就发现会出现cache写错误的情况，尤其当你的磁盘是通过nfs mount过来的。</description>
		<content:encoded><![CDATA[<p>@david</p>
<p>当目录下文件数过多时，文件的定位会是个大问题，尤其都是小文件，我猜测可能是这一个原因。</p>
<p>php内的循环测试没有多大的意义，ab可以模拟并发访问的情况，更有实际意义。</p>
<p>使用文件cache还有一个更大的问题是文件的可靠性和一致性没法保证。我们就发现会出现cache写错误的情况，尤其当你的磁盘是通过nfs mount过来的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://www.fuchaoqun.com/2009/01/bdb-cache/comment-page-1/#comment-63</link>
		<dc:creator>david</dc:creator>
		<pubDate>Sat, 28 Feb 2009 15:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://chaoqun.17348.com/?p=136#comment-63</guid>
		<description>小文件cache居然比db慢，有点不解。
在我理解中，db打开和cache打开应该是一样的io操作，db还要进行索引，而cache不用。不知理解的对不对？
把ab测试换成在php脚本内的循环测试是否更可靠？</description>
		<content:encoded><![CDATA[<p>小文件cache居然比db慢，有点不解。</p>
<p>在我理解中，db打开和cache打开应该是一样的io操作，db还要进行索引，而cache不用。不知理解的对不对？</p>
<p>把ab测试换成在php脚本内的循环测试是否更可靠？</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
