[Rails] Performance issues
Pedro Mariano Belo
pedrobelo at gmail.com
Wed Mar 2 18:03:22 GMT 2005
Just for the record... The problem is solved. It was a problem in fast
cgi configs as you all guessed.
Thanks
On Mon, 28 Feb 2005 14:56:22 -0300, Pedro Mariano Belo
<pedrobelo at gmail.com> wrote:
> Using webrick to publish the same app I´ve got something around 25
> reqs/sec! I´ll try to install fastcgi in my machine and see how it
> goes...
>
> thanks,
> Pedro
>
> On Mon, 28 Feb 2005 11:58:02 -0500, Tobias Luetke
> <tobias.luetke at gmail.com> wrote:
> > I suggest to develop your application on localhost using webrick or
> > fastcgi and figure out all the performance things there.
> >
> > On Mon, 28 Feb 2005 12:10:00 -0300, Pedro Mariano Belo
> > <pedrobelo at gmail.com> wrote:
> > > I've got this from production.log, hope it helps:
> > >
> > > ---
> > > Processing BlogController#index
> > > . . .
> > > Rendering layouts/blog (200 OK)
> > > Completed in 1.606807 (0 reqs/sec) | Rendering: 0.253268 (15%) | DB:
> > > 0.145779 (9%)
> > > ---
> > >
> > > Thanks,
> > > Pedro
> > >
> > > On Mon, 28 Feb 2005 15:47:53 +0100, David Heinemeier Hansson
> > > <david at loudthinking.com> wrote:
> > > > >> The server is apache, running rails with fastcgi.
> > > > >
> > > > > Are you quite sure that's with FastCGI? Sounds like typical load times
> > > > > for regular CGI.
> > > >
> > > > You need to make it use dispatch.fcgi in the .htaccess file -- not
> > > > dispatch.cgi (or .rb). Unless you're doing something crazy expensive
> > > > (like triggering nasty SQL statements on huge databases with no
> > > > indexes), a 2-4 sec render time says something was badly configured.
> > > > --
> > > > David Heinemeier Hansson,
> > > > http://www.basecamphq.com/ -- Web-based Project Management
> > > > http://www.rubyonrails.org/ -- Web-application framework for Ruby
> > > > http://www.loudthinking.com/ -- Broadcasting Brain
> > > >
> > > >
> > > _______________________________________________
> > > Rails mailing list
> > > Rails at lists.rubyonrails.org
> > > http://lists.rubyonrails.org/mailman/listinfo/rails
> > >
> >
> >
> > --
> > Tobi
> > http://www.snowdevil.ca - Snowboards that don't suck
> > http://www.hieraki.org - Open source book authoring
> > http://blog.leetsoft.com - Technical weblog
> >
>
More information about the Rails
mailing list