<?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"
	>
<channel>
	<title>Comments for 玉面飞龙的BLOG</title>
	<atom:link href="http://www.yumianfeilong.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://yumianfeilong.com</link>
	<description>Oracle,Finance,Communication,Family,Hobby</description>
	<pubDate>Tue, 07 Feb 2012 09:28:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>Comment on MongoDB.in.Action notes by yumianfeilong</title>
		<link>http://yumianfeilong.com/html/2011/12/27/538.html#comment-5783</link>
		<dc:creator>yumianfeilong</dc:creator>
		<pubDate>Tue, 17 Jan 2012 12:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://yumianfeilong.com/?p=538#comment-5783</guid>
		<description>http://www.mongodb.org/display/DOCS/How+does+concurrency+work

mongod

The mongod process uses a modified reader/writer lock with dynamic yielding on page faults and long operations. Any number of concurrent read operations are allowed, but a write operation can block all other operations.

mongod threads yield their lock (read or write) in two classes of situations:

    yield-on-page-fault – v2.0 implements a yield-on-page-fault feature which results in much more concurrency than one would achieve with a pure reader/writer lock. For common operational cases, file system page faults are detected in advanced and handled outside of any lock, then the lock is resumed. Not all fault situations yield, but many do. This results in v2.0 having much better concurrency in practice than v1.8.
    yield-on-long-operation – mongod also yields periodically on common operations that are extremely long running. The goal here is to allow interleaving so that other operations which are quick-running can execute soon. Operations which yield include the following:
        queries
        multi document updates
        multi document removes/deletes
        bulk inserts

Write lock acquisition is greedy: a pending write lock acquisition will prevent further read lock acquisitions until fulfilled. Thus yielding by reads can be important.

Collection level locking is under development. SERVER-1240.</description>
		<content:encoded><![CDATA[<p><a href="http://www.mongodb.org/display/DOCS/How+does+concurrency+work" rel="nofollow">http://www.mongodb.org/display/DOCS/How+does+concurrency+work</a></p>
<p>mongod</p>
<p>The mongod process uses a modified reader/writer lock with dynamic yielding on page faults and long operations. Any number of concurrent read operations are allowed, but a write operation can block all other operations.</p>
<p>mongod threads yield their lock (read or write) in two classes of situations:</p>
<p>    yield-on-page-fault – v2.0 implements a yield-on-page-fault feature which results in much more concurrency than one would achieve with a pure reader/writer lock. For common operational cases, file system page faults are detected in advanced and handled outside of any lock, then the lock is resumed. Not all fault situations yield, but many do. This results in v2.0 having much better concurrency in practice than v1.8.<br />
    yield-on-long-operation – mongod also yields periodically on common operations that are extremely long running. The goal here is to allow interleaving so that other operations which are quick-running can execute soon. Operations which yield include the following:<br />
        queries<br />
        multi document updates<br />
        multi document removes/deletes<br />
        bulk inserts</p>
<p>Write lock acquisition is greedy: a pending write lock acquisition will prevent further read lock acquisitions until fulfilled. Thus yielding by reads can be important.</p>
<p>Collection level locking is under development. SERVER-1240.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 联想弘毅接手石家庄制药集团 by yumianfeilong</title>
		<link>http://yumianfeilong.com/html/2007/03/14/41.html#comment-5774</link>
		<dc:creator>yumianfeilong</dc:creator>
		<pubDate>Tue, 17 Jan 2012 05:20:19 +0000</pubDate>
		<guid isPermaLink="false">http://yumianfeilong.com/2007/03/14/%e8%81%94%e6%83%b3%e5%bc%98%e6%af%85%e6%8e%a5%e6%89%8b%e7%9f%b3%e5%ae%b6%e5%ba%84%e5%88%b6%e8%8d%af%e9%9b%86%e5%9b%a2/#comment-5774</guid>
		<description>联想否认旗下药企污染 称将尽快公布调查结果

近日多家媒体爆出，联想旗下药企石药集团在呼和浩特市托克托县的制药基地污染。

1月16日，《证券日报》记者联系到联想相关负责人，他表示：“我们跟石药集团已经沟通过此事，石药集团给我们的反馈是各项指标都是达标的，但为什么还会有这样的言论，我们目前还在做进一步的调查，调查结果出来我们会尽快对外公布。


看来08年的时候没有卖出去，现在抖露出这么个大丑闻。早知道1年前不买联想的笔记本了。</description>
		<content:encoded><![CDATA[<p>联想否认旗下药企污染 称将尽快公布调查结果</p>
<p>近日多家媒体爆出，联想旗下药企石药集团在呼和浩特市托克托县的制药基地污染。</p>
<p>1月16日，《证券日报》记者联系到联想相关负责人，他表示：“我们跟石药集团已经沟通过此事，石药集团给我们的反馈是各项指标都是达标的，但为什么还会有这样的言论，我们目前还在做进一步的调查，调查结果出来我们会尽快对外公布。</p>
<p>看来08年的时候没有卖出去，现在抖露出这么个大丑闻。早知道1年前不买联想的笔记本了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 一起来每天学点经济学（1） by lemonhall</title>
		<link>http://yumianfeilong.com/html/2012/01/10/542.html#comment-5676</link>
		<dc:creator>lemonhall</dc:creator>
		<pubDate>Wed, 11 Jan 2012 09:27:35 +0000</pubDate>
		<guid isPermaLink="false">http://yumianfeilong.com/?p=542#comment-5676</guid>
		<description>经济学的水很深，凯恩斯学派，新凯恩斯、奥派，古典经济学学派，还有我们熟知的马克主义学派，马歇尔的学派、福利经济学学派、以及宪政经济学、森的发展经济学。

非常多的分支。你文章中的破窗效应属于管理学，与经济学无关。

巴斯夏对于普通人来说比较易于理解，他偏向于小政府主义，思想近古典经济学派。

读得时候得特别注意这些作者所从属的学派，而现代作者的书则得特别注意这个作者的观点是偏民主党还是共和党的。

否则很容易被带偏，自以为掌握了真理。

当下我比较推荐奥派的东西，在中国比较流行一些。

从真正的入门来说，佛利德曼的【自由选择】一书，比较好，当然，也有很多人可能会觉得政治性比较强，里面的很多观点，如取消FDA，可能会让人难以接受

我推荐的比较好的入门书是：http://book.douban.com/subject/4285631/

读完之后，可以轻松的明白整个政治经济学的脉络~</description>
		<content:encoded><![CDATA[<p>经济学的水很深，凯恩斯学派，新凯恩斯、奥派，古典经济学学派，还有我们熟知的马克主义学派，马歇尔的学派、福利经济学学派、以及宪政经济学、森的发展经济学。</p>
<p>非常多的分支。你文章中的破窗效应属于管理学，与经济学无关。</p>
<p>巴斯夏对于普通人来说比较易于理解，他偏向于小政府主义，思想近古典经济学派。</p>
<p>读得时候得特别注意这些作者所从属的学派，而现代作者的书则得特别注意这个作者的观点是偏民主党还是共和党的。</p>
<p>否则很容易被带偏，自以为掌握了真理。</p>
<p>当下我比较推荐奥派的东西，在中国比较流行一些。</p>
<p>从真正的入门来说，佛利德曼的【自由选择】一书，比较好，当然，也有很多人可能会觉得政治性比较强，里面的很多观点，如取消FDA，可能会让人难以接受</p>
<p>我推荐的比较好的入门书是：http://book.douban.com/subject/4285631/</p>
<p>读完之后，可以轻松的明白整个政治经济学的脉络~</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 一起来每天学点经济学（1） by jametong</title>
		<link>http://yumianfeilong.com/html/2012/01/10/542.html#comment-5669</link>
		<dc:creator>jametong</dc:creator>
		<pubDate>Wed, 11 Jan 2012 03:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://yumianfeilong.com/?p=542#comment-5669</guid>
		<description>补充点东西：
1. 经济学的假设， 资源稀缺这个假设是没有问题的，理性经济人与完全信息在最近20年的经济学理论、实践中已经做了很大的调整
2. 破窗理论，可以看看巴斯夏的《看得见的与看不见的》这篇文章，这个理论纯属扯淡性质，因为它只是实现了资源的转移，并没有创造新的价值</description>
		<content:encoded><![CDATA[<p>补充点东西：<br />
1. 经济学的假设， 资源稀缺这个假设是没有问题的，理性经济人与完全信息在最近20年的经济学理论、实践中已经做了很大的调整<br />
2. 破窗理论，可以看看巴斯夏的《看得见的与看不见的》这篇文章，这个理论纯属扯淡性质，因为它只是实现了资源的转移，并没有创造新的价值</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scalability.Rules.notes by jametong</title>
		<link>http://yumianfeilong.com/html/2012/01/05/541.html#comment-5616</link>
		<dc:creator>jametong</dc:creator>
		<pubDate>Sat, 07 Jan 2012 13:31:57 +0000</pubDate>
		<guid isPermaLink="false">http://yumianfeilong.com/?p=541#comment-5616</guid>
		<description>减少失败就是提高可用性

这条规则的含义，不是减少失败，关键点是应用要可以随意失败，也就是在整个架构层面做到比较好的Fault Tolerance，单个点的失败、故障，不会演变成整个系统的失败、故障。这样，单台服务器，单个机架，甚至单个数据中心的故障都不会显著影响使用服务的用户，用户的请求可以在LB层自动的切换到其他可以提供同样服务的主机上。

其中，隐含的假设是，状态（上一个回复中的关键词）可以做到类似的情况，实际上，但状态本身要求非常高的一致性的时候，这一点是无法满足的，或者说，我们必须回到CAP的原点来讨论，到底是牺牲A还是P来满足高C的需求。</description>
		<content:encoded><![CDATA[<p>减少失败就是提高可用性</p>
<p>这条规则的含义，不是减少失败，关键点是应用要可以随意失败，也就是在整个架构层面做到比较好的Fault Tolerance，单个点的失败、故障，不会演变成整个系统的失败、故障。这样，单台服务器，单个机架，甚至单个数据中心的故障都不会显著影响使用服务的用户，用户的请求可以在LB层自动的切换到其他可以提供同样服务的主机上。</p>
<p>其中，隐含的假设是，状态（上一个回复中的关键词）可以做到类似的情况，实际上，但状态本身要求非常高的一致性的时候，这一点是无法满足的，或者说，我们必须回到CAP的原点来讨论，到底是牺牲A还是P来满足高C的需求。</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scalability.Rules.notes by jametong</title>
		<link>http://yumianfeilong.com/html/2012/01/05/541.html#comment-5615</link>
		<dc:creator>jametong</dc:creator>
		<pubDate>Sat, 07 Jan 2012 13:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://yumianfeilong.com/?p=541#comment-5615</guid>
		<description>无状态web应用；不大懂web开发；可能是将session信息存储在应用服务器端的成本太高

有状态的东西不能随意的动态扩展，以及迁移，否则相应的状态信息会丢失，对于Web应用来讲，session信息是状态，数据库内存储的信息是状态，分布式缓存中存储的信息也是状态，应用处理逻辑与状态分离之后，应用就比较容易迁移、转移、扩容。 当然，前提是存储状态的地方可以有足够的容量与效率来进行支撑。</description>
		<content:encoded><![CDATA[<p>无状态web应用；不大懂web开发；可能是将session信息存储在应用服务器端的成本太高</p>
<p>有状态的东西不能随意的动态扩展，以及迁移，否则相应的状态信息会丢失，对于Web应用来讲，session信息是状态，数据库内存储的信息是状态，分布式缓存中存储的信息也是状态，应用处理逻辑与状态分离之后，应用就比较容易迁移、转移、扩容。 当然，前提是存储状态的地方可以有足够的容量与效率来进行支撑。</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Modify check constraint by leo</title>
		<link>http://yumianfeilong.com/html/2007/04/14/72.html#comment-5595</link>
		<dc:creator>leo</dc:creator>
		<pubDate>Fri, 06 Jan 2012 04:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://yumianfeilong.com/2007/04/14/modify-check-constraint/#comment-5595</guid>
		<description>你的文章对我有用，很感谢！我也学到东西了！</description>
		<content:encoded><![CDATA[<p>你的文章对我有用，很感谢！我也学到东西了！</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MongoDB.in.Action notes by Charlie 木匠 (@mujiang)</title>
		<link>http://yumianfeilong.com/html/2011/12/27/538.html#comment-5474</link>
		<dc:creator>Charlie 木匠 (@mujiang)</dc:creator>
		<pubDate>Wed, 28 Dec 2011 22:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://yumianfeilong.com/?p=538#comment-5474</guid>
		<description>加到书签, 这个一定要抽时间看.</description>
		<content:encoded><![CDATA[<p>加到书签, 这个一定要抽时间看.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on compatible也能降 by yumianfeilong</title>
		<link>http://yumianfeilong.com/html/2008/09/25/229.html#comment-4820</link>
		<dc:creator>yumianfeilong</dc:creator>
		<pubDate>Tue, 01 Nov 2011 13:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://yumianfeilong.com/?p=229#comment-4820</guid>
		<description>&lt;blockquote cite="#commentbody-4808"&gt;
&lt;strong&gt;maclean:&lt;/strong&gt;
说明 9.2.0.1 到 9.2.0.5 block structure 没有变化
&lt;/blockquote&gt;
你的域名挺时髦的啊，过个1、2年肯定爆火</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-4808"><p>
<strong>maclean:</strong><br />
说明 9.2.0.1 到 9.2.0.5 block structure 没有变化
</p></blockquote>
<p>你的域名挺时髦的啊，过个1、2年肯定爆火</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ErlangC计算公式的起源与分解【转】 by jametong</title>
		<link>http://yumianfeilong.com/html/2011/11/01/523.html#comment-4811</link>
		<dc:creator>jametong</dc:creator>
		<pubDate>Tue, 01 Nov 2011 06:36:04 +0000</pubDate>
		<guid isPermaLink="false">http://yumianfeilong.com/?p=523#comment-4811</guid>
		<description>泊松方程是基于泊松概率分布方程,,也即出现对应的到达率,对应的服务时间的概率分布..

我自己不完全理解这个..

书籍可以参考,,
Cary Millsap : optimizing oracle performance
Craig Shallahammer : Forcasting Oracle Performance
Neil Gunther : Gurrilla Capacity Planning
其它关于排队论的书就免了吧,,那个难度更大.</description>
		<content:encoded><![CDATA[<p>泊松方程是基于泊松概率分布方程,,也即出现对应的到达率,对应的服务时间的概率分布..</p>
<p>我自己不完全理解这个..</p>
<p>书籍可以参考,,<br />
Cary Millsap : optimizing oracle performance<br />
Craig Shallahammer : Forcasting Oracle Performance<br />
Neil Gunther : Gurrilla Capacity Planning<br />
其它关于排队论的书就免了吧,,那个难度更大.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

