On Fri, Mar 31, 2006 at 10:20:15AM -0800, news.gmane,org wrote:
} Why isnt the RoR community focusing on robust and scalable mod_perl
} Apache environment, rather then splintering all over the place with
} lighthttp, mongrel, WEBrick, SCGI, fcgi, etc???
Scgi, fcgi, fcgid, and mod_ruby are not Rails-specific. Work has been
to allow Rails to work with any of them (except mod_ruby) because their
suitability depends on a variety of things, including the platform.
also predates RoR, I believe, and it is only intended for development
which it is well-suited). Lighttpd exists to provide good performance
being more loosely integrated with (or not requiring at all) Apache than
the various CGI methods. Mongrel is the new kid on the block, and may
up replacing WEBrick and/or lighthttpd.
} Its frustrating as someone who is trying to migrate to RoR.
Do your development under WEBrick. The appropriate deployment option
be obvious based on your particular system’s constraints.
} Its very unlikely I would ever get a contract to work on any webserver
} except Apache, so it would seem logicaly to focus all our efforts to
} Apache the ‘production environment of record’ for RoR.
You should certainly become knowledgeable about Apache integration,
Personally, I have been happy with mod_fcgid under Apache2. Then again,
don’t do real deployment.
} Just my $.02…
I was pretty frustrated when I was trying to figure out deployument for
first app. I couldn’t figure out what I should use, nor could I
how to do what I wanted to do. Eventually I did find the docs I needed,
all is well. Once you figure it out, you can do it again. The problem is
that there are so many choices, but those choices exist because someone
there needed each one of them.
It would be nice to find a single document that covered all possible
deployment options and how to go about them. AFAIK, though, it doesn’t
exist. Feel free to write one. You probably won’t have enough knowledge
fill in all the options, but you can fill in what you know and leave the
skeleton open for submissions. Here’s an outline you could start from:
II) Choices you must make
- What platform (Windows, *nix)?
- Virtual host or path?
- Integrate with Apache?
- Apache1 or Apache2?
? integrate with IIS?
III) Apache integration options
- rewrite rules
B) mod_scgi (I think)
IV) Standalone options
???) IIS integration options???