<?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: 动态触发的缓存更新机制异步化的可能性</title>
	<atom:link href="http://www.robinlu.com/blog/archives/78/feed" rel="self" type="application/rss+xml" />
	<link>http://www.robinlu.com/blog/archives/78</link>
	<description>Robin Lu&#039;s weblog</description>
	<lastBuildDate>Thu, 02 Jun 2011 06:41:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Simonsen</title>
		<link>http://www.robinlu.com/blog/archives/78/comment-page-1#comment-59702</link>
		<dc:creator>Simonsen</dc:creator>
		<pubDate>Sat, 10 Jan 2009 04:59:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/archives/78#comment-59702</guid>
		<description>原来2006年就已经有恩相处这么好的办法来了，呵呵。

这个在理论上来说是没有问题的，只是有一点比较麻烦，就是在大并发的情况下，怎么办？两个用户几乎同时请求update-cache，几乎同时触发这一事件，会造成短时间内系统资源耗尽，导致一段时间的系统死锁。
如果考虑引入lock机制的话，又会遇到在文件lock还是数据库lock之间选择的问题。再说不管怎样lock，也会有lock被撞开的情况（访问量足够大的时候），这是缓存更新中比较头痛的问题了</description>
		<content:encoded><![CDATA[<p>原来2006年就已经有恩相处这么好的办法来了，呵呵。</p>
<p>这个在理论上来说是没有问题的，只是有一点比较麻烦，就是在大并发的情况下，怎么办？两个用户几乎同时请求update-cache，几乎同时触发这一事件，会造成短时间内系统资源耗尽，导致一段时间的系统死锁。<br />
如果考虑引入lock机制的话，又会遇到在文件lock还是数据库lock之间选择的问题。再说不管怎样lock，也会有lock被撞开的情况（访问量足够大的时候），这是缓存更新中比较头痛的问题了</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FBO wordpress plugin 0.3 &#187; 石锅拌饭 &#124; 互联网 Mac &#38; 软件开发</title>
		<link>http://www.robinlu.com/blog/archives/78/comment-page-1#comment-13460</link>
		<dc:creator>FBO wordpress plugin 0.3 &#187; 石锅拌饭 &#124; 互联网 Mac &#38; 软件开发</dc:creator>
		<pubDate>Mon, 26 Mar 2007 12:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/archives/78#comment-13460</guid>
		<description>[...] 相关主题 Friends By Outline - 一个开放式社会化网络的尝试How to make ecto work with Ultimate Tag WarriorHow to make ecto work with Jerome&#039;s Keywords解决wordpress插件stattraq的乱码问题五分钟为FBO wordpress插件制作一个365key的provider动态触发的缓存更新机制异步化的可能性 [...]</description>
		<content:encoded><![CDATA[<p>[...] 相关主题 Friends By Outline &#8211; 一个开放式社会化网络的尝试How to make ecto work with Ultimate Tag WarriorHow to make ecto work with Jerome&#8217;s Keywords解决wordpress插件stattraq的乱码问题五分钟为FBO wordpress插件制作一个365key的provider动态触发的缓存更新机制异步化的可能性 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tangos</title>
		<link>http://www.robinlu.com/blog/archives/78/comment-page-1#comment-261</link>
		<dc:creator>Tangos</dc:creator>
		<pubDate>Thu, 16 Mar 2006 04:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/archives/78#comment-261</guid>
		<description>新版本什么时候出呢，等着用，呵呵</description>
		<content:encoded><![CDATA[<p>新版本什么时候出呢，等着用，呵呵</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#187; 2006 &#187; February &#187; 10 &#124; 94smart&#8217;s Blog</title>
		<link>http://www.robinlu.com/blog/archives/78/comment-page-1#comment-188</link>
		<dc:creator>&#187; 2006 &#187; February &#187; 10 &#124; 94smart&#8217;s Blog</dc:creator>
		<pubDate>Thu, 09 Feb 2006 15:12:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/archives/78#comment-188</guid>
		<description>[...] 动态触发的缓存更新机制异步化的可能性五分钟为FBO wordpress插件制作一个365key的providerFriends by Outline wordpress插件 v0.2书桌热闹未必是好事 [...]</description>
		<content:encoded><![CDATA[<p>[...] 动态触发的缓存更新机制异步化的可能性五分钟为FBO wordpress插件制作一个365key的providerFriends by Outline wordpress插件 v0.2书桌热闹未必是好事 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 94smart</title>
		<link>http://www.robinlu.com/blog/archives/78/comment-page-1#comment-182</link>
		<dc:creator>94smart</dc:creator>
		<pubDate>Wed, 08 Feb 2006 16:04:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/archives/78#comment-182</guid>
		<description>直接改成AJAX的得了，有人点的时候还更新。</description>
		<content:encoded><![CDATA[<p>直接改成AJAX的得了，有人点的时候还更新。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felix Wong</title>
		<link>http://www.robinlu.com/blog/archives/78/comment-page-1#comment-181</link>
		<dc:creator>Felix Wong</dc:creator>
		<pubDate>Wed, 08 Feb 2006 13:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/archives/78#comment-181</guid>
		<description>有一个wp的plugin叫做wp-cron的，可能可以解决用户不能在服务器端设置cron job的问题。</description>
		<content:encoded><![CDATA[<p>有一个wp的plugin叫做wp-cron的，可能可以解决用户不能在服务器端设置cron job的问题。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 石锅拌饭 &#187; Friends by Outline wordpress插件 v0.2</title>
		<link>http://www.robinlu.com/blog/archives/78/comment-page-1#comment-180</link>
		<dc:creator>石锅拌饭 &#187; Friends by Outline wordpress插件 v0.2</dc:creator>
		<pubDate>Tue, 07 Feb 2006 13:54:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/archives/78#comment-180</guid>
		<description>[...] Update:由于缓存机制存在问题，暂停下载，详细说明和解决方案在此。  Tags:fbo, plugin, socialnetwork, wordpress [...]</description>
		<content:encoded><![CDATA[<p>[...] Update:由于缓存机制存在问题，暂停下载，详细说明和解决方案在此。  Tags:fbo, plugin, socialnetwork, wordpress [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

