[Mongrel] Threading Rails

Parker Thompson parkert at gmail.com
Wed Aug 27 22:00:34 EDT 2008


FYI, we are pretty much done with this:

  http://github.com/pivotal/mongrel/tree/master

We'll probably test it a bit more tomorrow and then release it into the wild.

Any feedback would be appreciated.

Thanks,

pt.


On Wed, Aug 27, 2008 at 1:29 PM, Jonathan Weiss <jw at innerewut.de> wrote:
> On Wed, Aug 27, 2008 at 9:38 PM, Piyush Ranjan <piyush.pr at gmail.com> wrote:
>> isn't rails 2.2 / edge supposed to have threading built in ? or am I missing
>> something here ?
>>
>
> Rails 2.2 is thread-safe. This doesn't mean that it is automatically
> used this way.
>
>> also mongrel can handle multiple threads well . In fact I have tried it in
>> mongrel handlers and it works very well (for 75 concurrent requests each
>> taking 5 minutes to complete).
>>
>
> Mongrel can handle multiple threads, but Rails runs inside a big
> lock/mutex (because until 2.2 it isn't thread-safe).
>
> This whole discussion is about changing/removing the lock.
>
> Jonathan
>
> --
> Jonathan Weiss
> http://blog.innerewut.de
> http://twitter.com/jweiss
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>


More information about the Mongrel-users mailing list