Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
fastcgi or mod_ruby?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="rcoder, post: 4507862"] The two are fairly different: mod_ruby gives you access to the full Apache API including access control and output filtering, while FastCGI (at least in the least-common-denominator form that Apache supports) is basically just a means of avoiding the process forking and initialization overhead of traditional CGI. There are pros and cons to either solution. Because it gives you so much power over the entire HTTP request handling process, mod_ruby can let you do things that are more difficult with CGI, like request URL rewriting. However, it ties you to Apache exclusively, while FastCGI handlers can be run behind any number of HTTP servers, including the increasingly-popular Lighttpd. Personally, I'm moving towards using FastCGI behing Lighttpd for a number of applications, primarily due to its built-in load balancing. If you don't need the kind of low-level power that mod_ruby offers, I'd recommend staying with FastCGI for its simplicity and portability. -rcoder [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
fastcgi or mod_ruby?
Top