Forum: Ruby on Rails Comparisons between mod_ruby and FastCGI

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Matt (Guest)
on 2008-11-28 21:16
(Received via mailing list)
Hello all,

I'm a new Ruby on Rails developer who is working on applications for
several different clients using the Ruby on Rails framework. The
question that I've got to pose all of you concerns the differences
between mod_ruby and FastCGI. I'm thinking about trying to get my
webhost to install mod_ruby because it would run lightyears faster,
but there's something I found about mod_ruby that they would probably
take issue with.

On the Wikipedia article for mod_ruby, it reads: "Its drawback is that
the characteristic sharing of classes among Apache processes is not
safe for multiple applications." However, there is no citation.

So here's my question - is this a serious safety concern? If so, how
did the developers of mod_php get around this problem? Is there
another, more secure, solution to running ruby apps on a web server
that is faster than mod_ruby?

Thanks in advance,
Matt
Frederick C. (Guest)
on 2008-11-28 22:43
(Received via mailing list)
Don't think anyone uses either of those these days. It's either
mod_rails or mongrel

Sent from my iPhone
blasterpal (Guest)
on 2008-11-28 23:33
(Received via mailing list)
I will say stay away from FastCGI, that's all.


H

On Nov 28, 3:43 pm, Frederick C. <removed_email_address@domain.invalid>
Bobnation (Guest)
on 2008-11-29 00:38
(Received via mailing list)
You are really going to want to take a look at mongrel, thin, or ...
my perference ... Passenger/mod_rails. Just type http://modrails.com
into your browser window and be amazed. ;)
Freddy A. (Guest)
on 2008-11-29 06:20
(Received via mailing list)
Or my new favorite  JRuby with Glassfish...
Matt (Guest)
on 2008-11-29 09:56
(Received via mailing list)
False. My webhost currently has us using FastCGI to run our Rails
scripts. I may shoot them an email asking about mod_rails though.

On Nov 28, 3:43 pm, Frederick C. <removed_email_address@domain.invalid>
This topic is locked and can not be replied to.