I found that getting FastCGI up and running is actually fairly quick.
First time through it might take about an hour or so and some poking
and prodding. After that though it shouldn''t take any longer then
10-15 minutes (IIS is a whole nother story)
>From my experinces FastCGI is plenty fast enough for me, but then
again our site is a heavy traffic site. Most folks seem to use the
Apache front end, with Lighttpd as the actual ''app'' server
setup and
are very happy with it. I run on windows, so this isn''t an option.
Also, I suppose if you have a really small site you could simply run
the given server from your rails app (lighty on *nix, webrick on
windows) but you obivously loose some flexibility with this.
Dont know if this helps at all, but oh well. If you happen to be
running on windows let me know if you need some help setting up apache
(sounds like you''ll be able to handle it lright though). Also, dont
know if you saw this but the wiki entry is pretty good:
http://wiki.rubyonrails.com/rails/pages/HowToInstall+Fast+CGI+and+Apache2+for+Windows+XP
(it says XP, but basic steps work for XP and newer)
-Nick
On 2/22/06, John N. Alegre <lists@johnalegre.net>
wrote:> Hello,
>
> I am new to Rails, like totally new. I am not new to application
development
> having near 10 years experience with data mining and store front
development
> with various Java web severs.
>
> I see a ton of power in Rails but I am slightly put off by what looks like
a
> difficulty when running Rails apps under Apache. So I am posting a few
> prelimenary questions of getting Rails apps going under Apache.
>
> If there is a site with info on getting Rails apps going under Apache,
please
> give me a pointer.
>
> I understand the basic bottleneck of Ruby being an interpreted language and
> Rails being basically a set of CGI scripts with the resulting need to
launch
> a Ruby interpreter for each CGI call. Certainly this is one of the
> advantages to using Java there is only one launch of the JVM which proccess
> all CGI calls. But this is not enough to deter me away from using the
power
> of rails.
>
> If a given site is not going to get a large number of hits is the use of
> FastCGI a must under Apache or can I just use Rails as is? I know getting
> FastCGI going in Apache is not quick. What are the guidelines here as to
> site load vs need?
>
> Is there a basic pointer as to how to port a working web app that runs
under
> WEBrick to Apache?
>
> Thanks for all the help
> john
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>