TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Passenger (mod_rails) released

33 点作者 zapnap大约 17 年前

9 条评论

rantfoil大约 17 年前
Setting up apache proxy + mongrels, while not impossible, is also not brain-dead easy.<p>Also, in virtual private server scenarios RAM may be a hot commodity (slicehost, for instance) -- so in theory this should help you run more rails sites with less RAM, since you won't have to spin up individual mongrel clusters for each domain.
DocSavage大约 17 年前
Here's the root link to mod_rails website: <a href="http://www.modrails.com/" rel="nofollow">http://www.modrails.com/</a>
tlrobinson大约 17 年前
1. What's with the rails community's obsession with naming things names related to trains? What's wrong with "mod_rails"?<p>2. "touch tmp/restart.txt" seems like an odd way to signal a restart of your app... what's the reason behind this?
评论 #161558 未加载
hopeless大约 17 年前
Just noticed that the "Passenger blog":<a href="http://izumi.plan99.net/blog/index.php/2008/04/11/phusion-passenger-mod_rails-public-release-heck-it%e2%80%99s-about-time/" rel="nofollow">http://izumi.plan99.net/blog/index.php/2008/04/11/phusion-pa...</a> mentions that Dreamhost has been beta testing Passenger. If thats true, and Dreamhost rolls it out (soon!), then Rails is going to become as ubiquitous as PHP for hobby-coders that don't enjoy playing sysadmins. I'm probably one of them.
petercooper大约 17 年前
And if you want to do the same-ish thing with similarly little configuration (indeed, less) with any framework (not just Rails) or even with a non-Ruby language, check out SwitchPipe: <a href="http://switchpipe.org/" rel="nofollow">http://switchpipe.org/</a>
tptacek大约 17 年前
The answer to this is probably obvious, but, can someone sell my on <i>why</i> I want mod_rails? What's wrong with the tag-team app server / web server architecture?
评论 #161235 未加载
评论 #161375 未加载
fendale大约 17 年前
This is great news good to see it!<p>What I have been wondering is what happens to the memory footprint? It says somewhere on the site it is reduced by 33% - is that a typical reduction?<p>Also, if this is like mod_perl, deployment wasn't really as simple as it seemed. The general advice on mod_perl was to proxy requests from your front end 'static' webserver to the mod_perl one, because each apache process had to effectively run a Perl interpreter, giving them a big memory footprint. You don't want to use your expensive mod_perl/ruby processes to serve images etc.<p>I also think there are other advantages to running expensive processes behind a proxy (I may be wrong on this one), but I think that slow clients tend to tied up the front end process as it streams the data to them.<p>If you have appServer -&#62; proxy -&#62; slow client, the app server sends the data to the proxy at LAN speed, freeing it to serve another request, and the proxy ties up a process streaming the data to the client.<p>I am not trying to criticize, I am interested in whether they solved these problems (if they even are problems anymore) and how.
thomasswift大约 17 年前
this is huge, although i think this needed to come out earlier. rails deployment has already been generally pegged as 'hard' or a 'pain'. I have gotten use to getting a rails app coded fast then getting ready to spend some time deploying.
评论 #161430 未加载
zapnap大约 17 年前
Article links to screencast. gem install passenger should pull down passenger-1.0.1. taking a look...