<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="/xslt/rss2.xsl" media="screen"?>
<rss version="2.0"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Latest from ChinaonRails's Architecture</title>
		<link>http://chinaonrails.com/go/architecture</link>
		<description>ChinaonRails | ChinaonRails are one of the very few China based web consultancies, who specialize in application development using RubyOnRails/Agile/Ajax.</description>
		<category>Technology</category>
		<language>zh_cn</language>
		<item>
			<title>甲骨文通用内容管理，ruby上来凑凑热闹 ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/2436.html</link>
			<comments>http://chinaonrails.com/topic/view/2436.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Deployment</category>
			<description>
			登录，捞个文件&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.oracle.com/lang/cn/products/middleware/content-management/universal-content-management.html" rel="nofollow external" class="tpc"&gt;http://www.oracle.com/lang/cn/products/middleware/content-management/universal-content-management.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Oracle 通用内容管理（UCM）软件是业界最统一的企业内容管理平台，使企业能够利用市场领先的文档管理、Web内容管理、数字资产管理和记录保留功能来构建和完善其业务管理软件。&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://crunchytop.com/?p=3" rel="nofollow external" class="tpc"&gt;http://crunchytop.com/?p=3&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
构建一个针对内容和管理软件的战略性企业内容管理基础架构可帮助企业降低成本，在企业内轻松共享内容，最大限度地降低风险，自动化高昂耗时的手工流程以及将多个Web站点整合到单一平台来集中管理。&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://www.infoworld.com/richmedia/upload/UI/image/2008/1/DATA1_entcontmgmt.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
通过用户友好的界面、基于角色的认证和安全模型，Oracle通用内容管理软件使整个企业的用户能够查看或撤销内容，基于内容进行协作，并确保所有可访问的分发或发布的信息是安全、准确和最新的。
			</description>
			<pubDate>Mon, 24 Nov 2008 13:47:01 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2436.html</guid>
		</item>
		<item>
			<title>RubyForge 提高发布gem的速度，从1个小时减少到5分钟 ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/2434.html</link>
			<comments>http://chinaonrails.com/topic/view/2434.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Performance</category>
			<description>
			&lt;a href="http://tomcopeland.blogs.com/juniordeveloper/2008/11/rubyforge-gem-publishing-time-reduced-from-1-hour-to-5-minutes.html" rel="nofollow external" class="tpc"&gt;http://tomcopeland.blogs.com/juniordeveloper/2008/11/rubyforge-gem-publishing-time-reduced-from-1-hour-to-5-minutes.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
rubyforge优化了索引生成，增量方式indexer构建新的indexs,每天重建yaml格式的file ，e.g., the uncompressed 27 MB YAML file - is now only rebuilt once a day. &lt;br /&gt;
&lt;br /&gt;
Adding a new gem to the index and making it available to download (thanks to those rewrite rules that Jeremy Kemper wrote) can now be done in around 10 seconds!
			</description>
			<pubDate>Mon, 24 Nov 2008 10:54:11 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2434.html</guid>
		</item>
		<item>
			<title>Rails2点2小心AssetTag闯祸 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/2415.html</link>
			<comments>http://chinaonrails.com/topic/view/2415.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Performance</category>
			<description>
			&lt;a href="http://blog.hungrymachine.com/2008/11/19/are-your-mongrels-growing-to-600mb-blame-assettag" rel="nofollow external" class="tpc"&gt;http://blog.hungrymachine.com/2008/11/19/are-your-mongrels-growing-to-600mb-blame-assettag&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
该案例2.2后内存漏了&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://blog.hungrymachine.com/assets/2008/11/19/Picture_79.png" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
补丁&lt;br /&gt;
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1419-massive-memory-leak-in-assettag
			</description>
			<pubDate>Thu, 20 Nov 2008 08:42:46 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2415.html</guid>
		</item>
		<item>
			<title>图解Things Caches Do ... no reply</title>
			<link>http://chinaonrails.com/topic/view/2408.html</link>
			<comments>http://chinaonrails.com/topic/view/2408.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Performance</category>
			<description>
			&lt;a href="http://tomayko.com/writings/things-caches-do" rel="nofollow external" class="tpc"&gt;http://tomayko.com/writings/things-caches-do&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://farm4.static.flickr.com/3284/3035462771_052296ac86_o.png" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
作者写过Rack：：cache&lt;br /&gt;
http://chinaonrails.com/topic/view/2401.html&lt;br /&gt;
图解大观&lt;br /&gt;
&lt;a href="http://chinaonrails.com/topic/view/2032.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/2032.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://chinaonrails.com/topic/view/684.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/684.html&lt;/a&gt;
			</description>
			<pubDate>Wed, 19 Nov 2008 09:50:31 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2408.html</guid>
		</item>
		<item>
			<title>Pushr: 推手，也就是自己部署自己的程序 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/2402.html</link>
			<comments>http://chinaonrails.com/topic/view/2402.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Deployment</category>
			<description>
			Pushr, or the application will deploy itself &lt;br /&gt;
&lt;br /&gt;
Pushr 是个Sinatra做的应用&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.restafari.cz/pushr-or-the-application-will-deploy-itself.html" rel="nofollow external" class="tpc"&gt;http://www.restafari.cz/pushr-or-the-application-will-deploy-itself.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Pushr is an application running on the same machine as your Rails application, which deploys new version of the latter with Capistrano, whenever you push into a Github repository, automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://www.restafari.cz/data/003-pushr-or-the-application-will-deploy-itself/pushr-frontend-1.png" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
部署没有那么难，按下按钮即可&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://img.skitch.com/20080216-j3jkyuhaidw2wucsxbqd9angur.png" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
web hooks 如意钩
			</description>
			<pubDate>Mon, 17 Nov 2008 10:55:47 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2402.html</guid>
		</item>
		<item>
			<title>HTTP缓存--Rack::Cache ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/2401.html</link>
			<comments>http://chinaonrails.com/topic/view/2401.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Performance</category>
			<description>
			&lt;a href="http://www.infoq.com/news/2008/11/rack-cache" rel="nofollow external" class="tpc"&gt;http://www.infoq.com/news/2008/11/rack-cache&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
rails2.2 的特色之一就是conditional GET&lt;br /&gt;
判断的依据是http headers: last_modified and etag&lt;br /&gt;
&lt;br /&gt;
Rack::Cache 依据到期更新和验证两种手段来完成HTTP caching &lt;br /&gt;
&lt;br /&gt;
produce freshness (Expires, Cache-Control) and/or validation (Last-Modified, ETag) &lt;br /&gt;
&lt;a href="http://tomayko.com/src/rack-cache/" rel="nofollow external" class="tpc"&gt;http://tomayko.com/src/rack-cache/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://tomayko.com/writings/rack-cache-announce" rel="nofollow external" class="tpc"&gt;http://tomayko.com/writings/rack-cache-announce&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://tomayko.com/static/images/rack-cache.png" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://chinaonrails.com/topic/view/349.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/349.html&lt;/a&gt;
			</description>
			<pubDate>Mon, 17 Nov 2008 10:15:37 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2401.html</guid>
		</item>
		<item>
			<title>服务器也能做成模板 Generic Phusion Passenger Server ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/2397.html</link>
			<comments>http://chinaonrails.com/topic/view/2397.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Deployment</category>
			<description>
			&lt;a href="http://es.cohesiveft.com/server/details/4946-generic-phusion-passenger-server-100401-1226421799-VMware" rel="nofollow external" class="tpc"&gt;http://es.cohesiveft.com/server/details/4946-generic-phusion-passenger-server-100401-1226421799-VMware&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
下载虚机VMware绑乘客，实现弹性部署&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://millbanksystems.wordpress.com/2008/11/13/generic-phusion-passenger-server/" rel="nofollow external" class="tpc"&gt;http://millbanksystems.wordpress.com/2008/11/13/generic-phusion-passenger-server/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://www.flashydubai.com/images/Dubai_Metro_02.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
可谓配置简洁的一站式套件&lt;br /&gt;
&lt;a href="http://chinaonrails.com/topic/view/495.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/495.html&lt;/a&gt;
			</description>
			<pubDate>Fri, 14 Nov 2008 08:14:12 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2397.html</guid>
		</item>
		<item>
			<title>The first clustered RoR server is … JBoss! ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/2390.html</link>
			<comments>http://chinaonrails.com/topic/view/2390.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Deployment</category>
			<description>
			&lt;a href="http://sacha.labourey.com/2008/11/12/the-first-clustered-ror-server-is-jboss/" rel="nofollow external" class="tpc"&gt;http://sacha.labourey.com/2008/11/12/the-first-clustered-ror-server-is-jboss/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
http://oddthesis.org/theses/jboss-rails&lt;br /&gt;
&lt;br /&gt;
搞出独立的ROR on Jboss盒子，&lt;br /&gt;
http://oddthesis.org/posts/2008-11-mailing-lists-for-jboss-rails-and-jboss-cloud&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://img512.imageshack.us/img512/7453/jbossinclogokj6.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://chinaonrails.com/topic/view/2209.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/2209.html&lt;/a&gt;
			</description>
			<pubDate>Thu, 13 Nov 2008 09:23:51 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2390.html</guid>
		</item>
		<item>
			<title>CGIAlt CGI.rb替补 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/2379.html</link>
			<comments>http://chinaonrails.com/topic/view/2379.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Deployment</category>
			<description>
			&lt;a href="http://cgialt.rubyforge.org/" rel="nofollow external" class="tpc"&gt;http://cgialt.rubyforge.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
'CGIAlt' 替代标准库 'cgi.rb'. 用纯ruby写就但比cgi.rb 速度要快点&lt;br /&gt;
&lt;br /&gt;
特色&lt;br /&gt;
    * 兼容'cgi.rb'.&lt;br /&gt;
    * 更快，更轻巧，与'cgi.rb'相比.&lt;br /&gt;
    * 可以安装成为扩展的形式 CGIExt (由 C extension的'cgi.rb'扩展 ).&lt;br /&gt;
    * 支持FastCGI &lt;br /&gt;
&lt;br /&gt;
速度如何，看看内文中的性能benchmark&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://www.wired.com/images/slideshow/2008/11/gallery_loewy/t1_locomotive.jpg" border="0" /&gt;
			</description>
			<pubDate>Mon, 10 Nov 2008 11:56:24 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2379.html</guid>
		</item>
		<item>
			<title>nginx如何实现这样的rewrite? ... 2 replies</title>
			<link>http://chinaonrails.com/topic/view/2376.html</link>
			<comments>http://chinaonrails.com/topic/view/2376.html#reply</comments>
			<dc:creator>just4u</dc:creator>
			<author>just4u</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_1.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_n.gif" type="image/jpeg" />-->
			<category>Server</category>
			<description>
			我想在nginx实现这样的rewrite：&lt;br /&gt;
www.xyz.com/rails到rails.xyz.com&lt;br /&gt;
这样比如我访问www.xyz.com/rails/topic/123.html实际上访问的是rails.xyz.com/topic/123.html。&lt;br /&gt;
在nginx中如何实现www.xyz.com/rails到rails.xyz.com的rewrite呢？
			</description>
			<pubDate>Fri, 07 Nov 2008 10:01:52 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2376.html</guid>
		</item>
		<item>
			<title>Rubinius窜上JRuby ... no reply</title>
			<link>http://chinaonrails.com/topic/view/2353.html</link>
			<comments>http://chinaonrails.com/topic/view/2353.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Server</category>
			<description>
			&lt;a href="http://blog.headius.com/2008/10/using-rubiniuss-kernel-in-jruby.html" rel="nofollow external" class="tpc"&gt;http://blog.headius.com/2008/10/using-rubiniuss-kernel-in-jruby.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Using Rubinius's Kernel in JRuby &lt;br /&gt;
&lt;br /&gt;
狼奔豕突&lt;br /&gt;
&lt;img class="code" src="http://s3.amazonaws.com/giles/remix_050908/jruby.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://chinaonrails.com/topic/view/1656.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/1656.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
下载分支&lt;br /&gt;
&lt;a href="http://svn.codehaus.org/jruby/branches/rbx/" rel="nofollow external" class="tpc"&gt;http://svn.codehaus.org/jruby/branches/rbx/&lt;/a&gt;
			</description>
			<pubDate>Thu, 30 Oct 2008 10:18:42 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2353.html</guid>
		</item>
		<item>
			<title>赖洪礼对rdoc优化 ... 4 replies</title>
			<link>http://chinaonrails.com/topic/view/2351.html</link>
			<comments>http://chinaonrails.com/topic/view/2351.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Performance</category>
			<description>
			&lt;a href="http://izumi.plan99.net/blog/index.php/2008/10/28/optimizing-rdoc/" rel="nofollow external" class="tpc"&gt;http://izumi.plan99.net/blog/index.php/2008/10/28/optimizing-rdoc/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
用Ruby 1.8 标准库， RDoc 跑在MRI 1.8上:&lt;br /&gt;
&lt;br /&gt;
优化之前，1624.8 seconds (27 minutes) 占用内存1.5 GB.&lt;br /&gt;
优化之后 531.2 seconds (8 minutes and 51 seconds). RDoc 使用了内存只有通常的一半&lt;br /&gt;
&lt;br /&gt;
性能改善: 206%!&lt;br /&gt;
&lt;br /&gt;
赖洪礼把补丁已经作了提交，他是如何做到的呢？&lt;br /&gt;
&lt;br /&gt;
性能是挤出来的。&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://izumi.plan99.net/blog/wp-content/uploads/2008/10/rdoc_generation_time_for_ruby_1_8_standard_library.png" border="0" /&gt;
			</description>
			<pubDate>Thu, 30 Oct 2008 08:28:42 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2351.html</guid>
		</item>
		<item>
			<title>遛几条mongrel ... no reply</title>
			<link>http://chinaonrails.com/topic/view/2346.html</link>
			<comments>http://chinaonrails.com/topic/view/2346.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Scaling</category>
			<description>
			&lt;a href="http://blog.fiveruns.com/2008/10/28/how-many-mongrels" rel="nofollow external" class="tpc"&gt;http://blog.fiveruns.com/2008/10/28/how-many-mongrels&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
1个肯定是玩玩而已，testing&lt;br /&gt;
&lt;br /&gt;
&amp;gt; 1 扩展专家&lt;br /&gt;
&lt;br /&gt;
FiveRuns 自身也用rails&lt;br /&gt;
&lt;br /&gt;
0 ？还有别的！ Passenger，Thin， Ebb&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://www.fiveruns.com/images/bottom_products.gif" border="0" /&gt;
			</description>
			<pubDate>Wed, 29 Oct 2008 10:00:12 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2346.html</guid>
		</item>
		<item>
			<title>性能PK实战类试验项目Wide Finder 2 benchmark ... no reply</title>
			<link>http://chinaonrails.com/topic/view/2340.html</link>
			<comments>http://chinaonrails.com/topic/view/2340.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Performance</category>
			<description>
			&lt;a href="http://eigenclass.org/hiki/widefinder2-conclusions" rel="nofollow external" class="tpc"&gt;http://eigenclass.org/hiki/widefinder2-conclusions&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
在SUN提供的平台上用各种语言，征集解决实际的应用，测试提高性能的渠道&lt;br /&gt;
&lt;br /&gt;
场景：&lt;br /&gt;
分析42GB  webserver logs 生成基本的统计数据(top URLs by hits, byte count and 404 errors, top clients and referrers)&lt;br /&gt;
&lt;br /&gt;
硬件: a 8-core Sun Fire T2000 with 32 hardware threads and 32GB of RAM.&lt;br /&gt;
&lt;br /&gt;
ruby花了25小时&lt;br /&gt;
&lt;br /&gt;
最快的只用5分钟，300倍的差距&lt;br /&gt;
&lt;br /&gt;
看提高速度的因素分析和拔高的比例，比如选择语言可以提几个数量级&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://static.guim.co.uk/sys-images/Travel/Pix/pictures/2006/11/27/TGV460x276.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
Order of Magnitude 的网络定义:&lt;br /&gt;
A factor of ten
			</description>
			<pubDate>Tue, 28 Oct 2008 09:24:04 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2340.html</guid>
		</item>
		<item>
			<title>Dorothy: 用c和ruby写Z-Machine Library及demo web app ... no reply</title>
			<link>http://chinaonrails.com/topic/view/2313.html</link>
			<comments>http://chinaonrails.com/topic/view/2313.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Server</category>
			<description>
			The Z-machine 是个虚拟机&lt;br /&gt;
&lt;br /&gt;
was developed by Joel Berez and Marc Blank in 1979 and used by Infocom for its text adventure games.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://en.wikipedia.org/wiki/Z-machine" rel="nofollow external" class="tpc"&gt;http://en.wikipedia.org/wiki/Z-machine&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
 Infocom compiled game code to files containing Z-machine instructions (called story files, or Z-code files), and could therefore port all its text adventures to a new platform simply by writing a Z-machine implementation for that platform. With the large number of incompatible home computer systems in use at the time, this was an important advantage over using native code (or developing some compiler for each system).&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://www.inform-fiction.org/zmachine/standards/z1point0/zlogo.gif" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.inform-fiction.org/zmachine/standards/z1point0/index.html" rel="nofollow external" class="tpc"&gt;http://www.inform-fiction.org/zmachine/standards/z1point0/index.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
下载&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://github.com/eki/dorothy/tree/master" rel="nofollow external" class="tpc"&gt;http://github.com/eki/dorothy/tree/master&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
用merb写的应用, 基于文本的text 游戏&lt;br /&gt;
http://ifrotz.org/
			</description>
			<pubDate>Tue, 21 Oct 2008 11:06:46 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2313.html</guid>
		</item>
		<item>
			<title>ActiveRecord加Slim Attributes苗条特性提速50% ... no reply</title>
			<link>http://chinaonrails.com/topic/view/2289.html</link>
			<comments>http://chinaonrails.com/topic/view/2289.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Performance</category>
			<description>
			&lt;a href="http://slim-attributes.rubyforge.org/" rel="nofollow external" class="tpc"&gt;http://slim-attributes.rubyforge.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://pennysmalls.com/slim_benchmark2.png" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
Slim Attributes 提速的原理在于Mysql/Rails ActiveRecord Models 避免了对每一行Hashes 实例还有延迟初始化该需要的实例。&lt;br /&gt;
&lt;br /&gt;
速度与访问模型属性attributes的数量相关，插件slim_attributes 懒洋洋地推迟了把属性初始化字符串的过程&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://pennysmalls.com/2008/10/14/slim-attributes-v050-released/" rel="nofollow external" class="tpc"&gt;http://pennysmalls.com/2008/10/14/slim-attributes-v050-released/&lt;/a&gt;
			</description>
			<pubDate>Thu, 16 Oct 2008 09:48:32 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2289.html</guid>
		</item>
		<item>
			<title>Ruby内存泄露-检查及对策 ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/2288.html</link>
			<comments>http://chinaonrails.com/topic/view/2288.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Performance</category>
			<description>
			&lt;a href="http://timetobleed.com/plugging-ruby-memory-leaks-heapstack-dump-patches-to-help-take-out-the-trash/" rel="nofollow external" class="tpc"&gt;http://timetobleed.com/plugging-ruby-memory-leaks-heapstack-dump-patches-to-help-take-out-the-trash/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
堵漏，把垃圾倾倒掉&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://timetobleed.com/images/gcollector.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
补丁尤为必要&lt;br /&gt;
&lt;br /&gt;
工具Ruby Memory Tracking API&lt;br /&gt;
&lt;a href="http://softwareverify.com/ruby/customBuild/memtrack/index.html" rel="nofollow external" class="tpc"&gt;http://softwareverify.com/ruby/customBuild/memtrack/index.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
来自&lt;img class="code" src="http://softwareverify.com/images/svlogo.gif" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://softwareverify.com/productsRuby.html" rel="nofollow external" class="tpc"&gt;http://softwareverify.com/productsRuby.html&lt;/a&gt;
			</description>
			<pubDate>Thu, 16 Oct 2008 08:34:25 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2288.html</guid>
		</item>
		<item>
			<title>用JXInsight 剖析性能从JRuby到Ruby ... no reply</title>
			<link>http://chinaonrails.com/topic/view/2275.html</link>
			<comments>http://chinaonrails.com/topic/view/2275.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Performance</category>
			<description>
			&lt;a href="http://williamlouth.wordpress.com/2008/10/14/cross-language-profiling-with-jxinsight-jruby-to-ruby/" rel="nofollow external" class="tpc"&gt;http://williamlouth.wordpress.com/2008/10/14/cross-language-profiling-with-jxinsight-jruby-to-ruby/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.infoq.com/cn/news/2008/07/jxinsight_" rel="nofollow external" class="tpc"&gt;http://www.infoq.com/cn/news/2008/07/jxinsight_&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://williamlouth.files.wordpress.com/2008/10/jxinsight57ea18p12.gif" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
JXInsight 企业级Java性能监测、问题诊断、事务分析和应用管理解决方案&lt;br /&gt;
&lt;br /&gt;
免费开发着版包含了服务器版的所有功能，但是控制台和终端连通性被限制在45分钟内。
			</description>
			<pubDate>Tue, 14 Oct 2008 17:13:13 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2275.html</guid>
		</item>
		<item>
			<title>能不能scale，简单回答的网站 ... 4 replies</title>
			<link>http://chinaonrails.com/topic/view/2269.html</link>
			<comments>http://chinaonrails.com/topic/view/2269.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Scaling</category>
			<description>
			rails？&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://canrailsscale.com/" rel="nofollow external" class="tpc"&gt;http://canrailsscale.com/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
merb？&lt;br /&gt;
&lt;a href="http://canmerbscale.com/" rel="nofollow external" class="tpc"&gt;http://canmerbscale.com/&lt;/a&gt;
			</description>
			<pubDate>Mon, 13 Oct 2008 17:25:23 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2269.html</guid>
		</item>
		<item>
			<title>关于rails render的优化…… ... 7 replies</title>
			<link>http://chinaonrails.com/topic/view/2265.html</link>
			<comments>http://chinaonrails.com/topic/view/2265.html#reply</comments>
			<dc:creator>刑天战士</dc:creator>
			<author>刑天战士</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_1.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_n.gif" type="image/jpeg" />-->
			<category>Performance</category>
			<description>
			这几天访问量激增，服务器CPU 100%，响应时间有时候能到半分钟才respond，查看日志发现rendering占了大部分时间,而mysql的机器自身的CPU使用量平均还不到 50%。进一步分析发现render慢分两种情况，一种是由于mysql返回了大量的结果，导致了对象装配很慢；另外一种是生成html很慢，把CPU全耗光了。第一种已经得到优化，初见成效。但是第二种怎么优化？
			</description>
			<pubDate>Mon, 13 Oct 2008 12:21:56 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2265.html</guid>
		</item>
	</channel>
</rss>