<?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 for 赖洪礼的 blog</title>
	<atom:link href="http://izumi.plan99.net/blog/index.php/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://izumi.plan99.net/blog</link>
	<description>Ecchi nanowa ikenai to omoimasu</description>
	<lastBuildDate>Tue, 03 Jan 2012 16:14:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Rails 2.0, cookie session store and security by 基于CookieStore的session存储机制的安全话题 - IceskYsl@1sters!</title>
		<link>http://izumi.plan99.net/blog/index.php/2007/11/25/rails-20-cookie-session-store-and-security/comment-page-1/#comment-10147</link>
		<dc:creator>基于CookieStore的session存储机制的安全话题 - IceskYsl@1sters!</dc:creator>
		<pubDate>Tue, 03 Jan 2012 16:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://izumi.plan99.net/blog/index.php/2007/11/25/rails-20-cookie-session-store-and-security/#comment-10147</guid>
		<description>[...] 最近在看一本《The Rails way》的书，其中关于session存贮机制一章中，对基于CookieStore的session存储机制持否定态度，认为其存在被破解和Replay attack的可能。就我了解的信息来看，这个观点是不妥的。 最详细的一篇文章是写的laigongli写的这篇“Rails 2.0, cookie session store and security”，文章比较长，说的很详细，感兴趣的可以过去看看。其中主要观点为： [...]</description>
		<content:encoded><![CDATA[<p>[...] 最近在看一本《The Rails way》的书，其中关于session存贮机制一章中，对基于CookieStore的session存储机制持否定态度，认为其存在被破解和Replay attack的可能。就我了解的信息来看，这个观点是不妥的。 最详细的一篇文章是写的laigongli写的这篇“Rails 2.0, cookie session store and security”，文章比较长，说的很详细，感兴趣的可以过去看看。其中主要观点为： [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby vs PHP performance by watch nfl games live</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/01/17/ruby-vs-php-performance/comment-page-2/#comment-10123</link>
		<dc:creator>watch nfl games live</dc:creator>
		<pubDate>Sat, 01 Oct 2011 21:47:03 +0000</pubDate>
		<guid isPermaLink="false">http://izumi.plan99.net/blog/index.php/2008/01/17/ruby-vs-php-performance/#comment-10123</guid>
		<description>Thanks a lot for providing individuals with an exceptionally breathtaking chance to read from this blog. It is always very amazing plus full of a great time for me and my office acquaintances to search your site more than thrice per week to learn the newest items you have. And lastly, we&#039;re actually impressed considering the breathtaking tips and hints you give. Selected 3 ideas in this post are rather the most suitable we have had.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for providing individuals with an exceptionally breathtaking chance to read from this blog. It is always very amazing plus full of a great time for me and my office acquaintances to search your site more than thrice per week to learn the newest items you have. And lastly, we&#8217;re actually impressed considering the breathtaking tips and hints you give. Selected 3 ideas in this post are rather the most suitable we have had.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving memory in Ruby on Rails with fork() and copy-on-write by Why Ruby 1.8.7 isn&#8217;t memory efficient? &#171; Computellect</title>
		<link>http://izumi.plan99.net/blog/index.php/2007/04/05/saving-memory-in-ruby-on-rails/comment-page-1/#comment-10119</link>
		<dc:creator>Why Ruby 1.8.7 isn&#8217;t memory efficient? &#171; Computellect</dc:creator>
		<pubDate>Sun, 11 Sep 2011 16:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://izumi.plan99.net/blog/?p=19#comment-10119</guid>
		<description>[...] outside the object. For more information checkout this. For a longer and better explanation, go here.  Share this:TwitterFacebookLike this:LikeBe the first to like this post.   Tags copy-on-write, [...]</description>
		<content:encoded><![CDATA[<p>[...] outside the object. For more information checkout this. For a longer and better explanation, go here.  Share this:TwitterFacebookLike this:LikeBe the first to like this post.   Tags copy-on-write, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby vs PHP performance by PHP开发工具大全（经典呀！不看后悔呀！） - WEB开发笔记</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/01/17/ruby-vs-php-performance/comment-page-2/#comment-10118</link>
		<dc:creator>PHP开发工具大全（经典呀！不看后悔呀！） - WEB开发笔记</dc:creator>
		<pubDate>Tue, 30 Aug 2011 14:30:21 +0000</pubDate>
		<guid isPermaLink="false">http://izumi.plan99.net/blog/index.php/2008/01/17/ruby-vs-php-performance/#comment-10118</guid>
		<description>[...] PHP是使用最为广泛的开源服务器端脚本语言之一，当然PHP并不是速度最快的，但它却是最常用的脚本语言。这里有50个有益的PHP工具，可以大大提高你的编程工作： [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP是使用最为广泛的开源服务器端脚本语言之一，当然PHP并不是速度最快的，但它却是最常用的脚本语言。这里有50个有益的PHP工具，可以大大提高你的编程工作： [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Benchmark: Passenger (mod_rails) vs Mongrel vs Thin by Tyler</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/03/31/benchmark-passenger-mod_rails-vs-mongrel-vs-thin/comment-page-1/#comment-10117</link>
		<dc:creator>Tyler</dc:creator>
		<pubDate>Sat, 27 Aug 2011 05:25:45 +0000</pubDate>
		<guid isPermaLink="false">http://izumi.plan99.net/blog/index.php/2008/03/31/benchmark-passenger-mod_rails-vs-mongrel-vs-thin/#comment-10117</guid>
		<description>This isn&#039;t an apples-to-apples comparison.

These results reflect, to a large degree, the level of concurrency employed. With only 10 pools in the mongrel cluster, you can serve at most 10 concurrent requests. But you&#039;re sending 100 concurrent requests! Apache, on the other hand, is by default configured to handle 150 concurrent requests. So it&#039;s no surprise that the mechanism that uses Apache&#039;s process space is faster.

If, on the other hand, you either increased the mongrel pool size to 100 or tested with only 10 concurrent requests, you would see just how well it ACTUALLY compares to passenger/mod_ruby.</description>
		<content:encoded><![CDATA[<p>This isn&#8217;t an apples-to-apples comparison.</p>
<p>These results reflect, to a large degree, the level of concurrency employed. With only 10 pools in the mongrel cluster, you can serve at most 10 concurrent requests. But you&#8217;re sending 100 concurrent requests! Apache, on the other hand, is by default configured to handle 150 concurrent requests. So it&#8217;s no surprise that the mechanism that uses Apache&#8217;s process space is faster.</p>
<p>If, on the other hand, you either increased the mongrel pool size to 100 or tested with only 10 concurrent requests, you would see just how well it ACTUALLY compares to passenger/mod_ruby.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby vs PHP performance by PHP开发工具。 &#124; suliuer</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/01/17/ruby-vs-php-performance/comment-page-2/#comment-10115</link>
		<dc:creator>PHP开发工具。 &#124; suliuer</dc:creator>
		<pubDate>Mon, 08 Aug 2011 18:28:20 +0000</pubDate>
		<guid isPermaLink="false">http://izumi.plan99.net/blog/index.php/2008/01/17/ruby-vs-php-performance/#comment-10115</guid>
		<description>[...] PHP是使用最为广泛的开源服务器端脚本语言之一，当然PHP并 不是速度最快 的，但它却是 最常用的脚本语言 。这里有50个有益的PHP工具，可以大大提高你的编程工作： [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP是使用最为广泛的开源服务器端脚本语言之一，当然PHP并 不是速度最快 的，但它却是 最常用的脚本语言 。这里有50个有益的PHP工具，可以大大提高你的编程工作： [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby vs PHP performance by dean</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/01/17/ruby-vs-php-performance/comment-page-2/#comment-10114</link>
		<dc:creator>dean</dc:creator>
		<pubDate>Thu, 14 Jul 2011 16:20:07 +0000</pubDate>
		<guid isPermaLink="false">http://izumi.plan99.net/blog/index.php/2008/01/17/ruby-vs-php-performance/#comment-10114</guid>
		<description>Ruby is marginally faster than PHP until you do anything with the database.  If you&#039;re using Rails forget about performance.

Of course I&#039;ve seen many, many other benchmarks of Ruby 1.9 and 1.91 that show it as significantly slower than 1.8.6 too, so I&#039;m not sure if this is even legit or not.</description>
		<content:encoded><![CDATA[<p>Ruby is marginally faster than PHP until you do anything with the database.  If you&#8217;re using Rails forget about performance.</p>
<p>Of course I&#8217;ve seen many, many other benchmarks of Ruby 1.9 and 1.91 that show it as significantly slower than 1.8.6 too, so I&#8217;m not sure if this is even legit or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Potential problems with preforking Ruby on Rails by James Pharaoh</title>
		<link>http://izumi.plan99.net/blog/index.php/2007/04/05/problems-with-preforking-ruby-on-rails/comment-page-1/#comment-10113</link>
		<dc:creator>James Pharaoh</dc:creator>
		<pubDate>Tue, 12 Jul 2011 07:16:57 +0000</pubDate>
		<guid isPermaLink="false">http://izumi.plan99.net/blog/?p=25#comment-10113</guid>
		<description>Leaking IO handles is a problem I&#039;ve had, and generally it&#039;s only a problem when the child process is a daemon. For example, I start a background process from a web server, then the web server ends. The child process inherited the open server socket from the web server and still has it open. The web server can now not start again because the socket can&#039;t be reopened on the same port. There are many simiilar situation which can arise from the same.

This isn&#039;t really a ruby thing but a general unix processes thing. Basically you need to close any open IO handles after forking before executing a new process.</description>
		<content:encoded><![CDATA[<p>Leaking IO handles is a problem I&#8217;ve had, and generally it&#8217;s only a problem when the child process is a daemon. For example, I start a background process from a web server, then the web server ends. The child process inherited the open server socket from the web server and still has it open. The web server can now not start again because the socket can&#8217;t be reopened on the same port. There are many simiilar situation which can arise from the same.</p>
<p>This isn&#8217;t really a ruby thing but a general unix processes thing. Basically you need to close any open IO handles after forking before executing a new process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 3 Node.js gotchas that I&#8217;ve found in the past 3 days by 3D Drawing Pad</title>
		<link>http://izumi.plan99.net/blog/index.php/2011/04/05/3-node-js-gotchas-that-ive-found-in-the-past-3-days/comment-page-1/#comment-10109</link>
		<dc:creator>3D Drawing Pad</dc:creator>
		<pubDate>Wed, 18 May 2011 01:16:53 +0000</pubDate>
		<guid isPermaLink="false">http://izumi.plan99.net/blog/?p=365#comment-10109</guid>
		<description>Hello Hongli Lai, i was wondering if you knew how to program web apps? Please contact me so we can talk 
thanks</description>
		<content:encoded><![CDATA[<p>Hello Hongli Lai, i was wondering if you knew how to program web apps? Please contact me so we can talk<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on validates_uniqueness_of does not guarantee uniqueness by Hongli</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/09/20/validates_uniqueness_of-does-not-guarantee-uniqueness/comment-page-1/#comment-10101</link>
		<dc:creator>Hongli</dc:creator>
		<pubDate>Fri, 08 Apr 2011 08:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://izumi.plan99.net/blog/index.php/2008/09/20/validates_uniqueness_of-does-not-guarantee-uniqueness/#comment-10101</guid>
		<description>I see it as a limitation in SQL. It has no explicit support for &quot;upsert&quot; commands (a name for the concept &quot;update or insert if not exist&quot;, which is what this use case is all about). When those two SELECTs in the above example are being executed, it is impossible to know beforehand whether they are regular SELECTs or whether they&#039;re part of an upsert command. Databases try to optimize for the highest concurrency, therefore they treat them like regular SELECTs and don&#039;t isolate.

Running SELECT ... FOR UPDATE on the other hand does work, and it signals the database that an upsert is imminent. However this is a non-standard MySQL extension.</description>
		<content:encoded><![CDATA[<p>I see it as a limitation in SQL. It has no explicit support for &#8220;upsert&#8221; commands (a name for the concept &#8220;update or insert if not exist&#8221;, which is what this use case is all about). When those two SELECTs in the above example are being executed, it is impossible to know beforehand whether they are regular SELECTs or whether they&#8217;re part of an upsert command. Databases try to optimize for the highest concurrency, therefore they treat them like regular SELECTs and don&#8217;t isolate.</p>
<p>Running SELECT &#8230; FOR UPDATE on the other hand does work, and it signals the database that an upsert is imminent. However this is a non-standard MySQL extension.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

