[Mongrel] mongrel and long lived connections

David Vrensk david at vrensk.com
Tue Dec 5 15:54:11 EST 2006

On 12/5/06, Joseph McDonald <superjoe at gmail.com> wrote:
> I ran the code, and it worked just as Christopher explained.  The one
> thing I don't understand is why mongrel can only handle 1 connection
> at a time.  I thought that mongrel used a thread per connection.

The simple answer: Mongrel is multithreaded, but Rails is not thread-safe.
See question two in the FAQ: http://mongrel.rubyforge.org/faq.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20061205/7da2a2ed/attachment.html 

More information about the Mongrel-users mailing list