On Wed, May 23, 2012 at 4:36 AM, Brian Candler <lists / ruby-forum.com> wrote:

> Shaun Lloyd wrote in post #1061602:
> > On 22/05/12 03:37, Brian Candler wrote:
> >>> understand the security implications of having your own process!
> >> The cost of starting a Rails app is huge - several seconds of startup
> >> time. You really really don't want to do this from scratch on every
> >> request.
> >>
> > It's a real huge. I did tests locally, cross country and cross
> > continent.
> > I love ruby and rails but honest ruby on rails has very serious
> > performance issues.
>
> That just means you're using it wrong. Rails was *never* intended to be
> run as a CGI, it's just a ridiculuous thing to do. Run Rails as a
> persistent webserver and proxy to it; or run it under Apache using
> Phusion Passenger, which will also run any other Rack-based application.
>

At the end of the day, look at what rack is using. CGI. It is a realization
that really threw me for a loop for a while.

Andrew McElroy


> Regards,
>
> Brian.
>
> --
> Posted via http://www.ruby-forum.com/.
>
>