Da Pondelok 13 Februr 2006 03:31 Michael Schoen napsal:
> Zed Shaw wrote:
> > Yes, it handles concurrent requests *except* for right when it runs the
> > actual Rails dispatcher.  Rails isn't thread safe and so there needs to
> > be a big sync lock around the whole thing to keep Rails from peeing in
> > it's pants like a schoolgirl.
>
> Ah, that incontinence problem again.
>
> So does that imply that one might actually want to run several instances
> of Mongrel behind a load-balancing lighttpd proxy? Since most of the
> time (for my app at least) is going to be spent within Rails,
> effectively Mongrel's single-threaded.

You could possibly directly wire lighttpd to Rails then, what with the New! 
Shiny! SCGI runner around IIRC.

David Vallner