Ruby企业版vs Ruby 1.9 [英] Ruby Enterprise Edition vs Ruby 1.9
问题描述
我打算建立一个网站,这将是一个简单的CMS,用户可以通过视频,照片和文字提交和查看帖子。
make是在Ruby企业版和Ruby 1.9之间选择。
我关心的事情是:
- 性能&可扩展性。
- 与现有的gem /插件/开源项目的兼容性。
- 开发和部署速度(我将部署在VPS上)。
您的建议是什么?
根据我的经验,REE倾向于将malloc放在奇怪的地方(2009年1月的选项卡在脚本/控制台中完成 - https://webrat.lighthouseapp.com/projects/10503/tickets/89-excessive-output-caused-by- and-only-by-running-webrat )。
Ruby 1.9.1在tempfile中有一个巨大的错误,导致Rack(2009年8月出现在patchlevel 243 - http://groups.google.com/group/rack-devel/browse_thread/thread/a2aab3a4720f34c4?pli=1 )。除此之外,我不相信Ruby 1.9.1已经正确测试与Rails 2.3.4(字符串专有或 - https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3144-undefined -method-for-string-ror-234 )。
说实话,这取决于你对惊喜的反应。我在运行2.3.3的服务器上使用1.9.1的旧补丁级别,而在Net :: HTTP中使用的补丁与ActiveResource一起使用,运行速度非常快。
更新10/10/2010 b
现在,我的问题的答案是无效的,Ruby EE和1.9.2都是非常好的Ruby实现。
相当肯定我会选择哪一个,大概是1.9.2 - 或者坚持说出什么是phusion们正在努力,因为他们正在研究一个1.9版本的REE - 但是,他们的1.8.7 REE是非常坚实。 p>
I'm planning to build a website that will be a simple CMS where users submit and view postings with videos, photos and text.
One decision I want to make is choosing between Ruby Enterprise Edition and Ruby 1.9.
Things I care about in order:
- Performance & Scalability.
- Compatibility with existing gems/plugins/open source projects.
- Speed of development and deployment (I will be deploying on a VPS).
What is your suggestion?
REE from my experience has a tendency to throw mallocs in odd places (Jan 2009 tab completion in script/console - https://webrat.lighthouseapp.com/projects/10503/tickets/89-excessive-output-caused-by-and-only-by-running-webrat).
Ruby 1.9.1 has a massive bug in tempfile which blows up Rack (August 2009 present in patchlevel 243 - http://groups.google.com/group/rack-devel/browse_thread/thread/a2aab3a4720f34c4?pli=1). As well as this I do not believe Ruby 1.9.1 to have been tested properly with Rails 2.3.4 (String exclusive or - https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3144-undefined-method-for-string-ror-234).
Quite honestly, it depends on how well you react to surprises. I use an old patchlevel of 1.9.1 on a server running 2.3.3 and other than a patch in Net::HTTP to work with ActiveResource, it runs blazingly fast.
If you don't like surprises, stick to 1.8.7.
Update 10/10/2010
The answer to my question is invalid nowadays, both Ruby EE and 1.9.2 are very good implementations of Ruby!
I'm not quite sure which one I would pick, probably 1.9.2 - or hold out to say what the phusion guys are working on, since they are working on a 1.9 version of REE - but, their 1.8.7 REE is pretty solid.
这篇关于Ruby企业版vs Ruby 1.9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!