Re: Re: How Far Can An Rails App Scale on Textdrive

Nicholas Van Weerdenburg
Mon, 03 Oct 2005 01:48:43 -0000

On 10/2/05, Ben Bleything <ben-TGHtUsa5cOzMFIMGWPqnnw@public.gmane.org>
wrote:
> On Sun, Oct 02, 2005, Jorge Sousa wrote:
> > Speaking for myself i own a VCII account. Only went there because of
> > Rails. But most of the time everything is too slow. Apache proxying to
> > lighttpd crawls even for a simple plain login page (and have been
> > following forun post on how to squeeze some more perfo. from
> > configuration) . The best solution is to use the assigned port number
> > in the url which is an ugly solution. The same pages on the same
> > server but done in php are much faster and easy to setup.
>
> The slow login problems is a problem between the way Apache proxies
> keep-alive requests and lighttpd handles said requests.  I''ll
betcha if
> you set the following line in your lighttpd config, you''ll see
better
> performance.  It fixed every slowness issue I was having:
>
> server.max-keep-alive-requests = 0
>
> ....
>
> Ben
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>

Wow. This made a huge difference. Some pages were taking almost a
minute, now load in seconds.

Thanks!
Nick
--
Nicholas Van Weerdenburg