Forum: Ruby on Rails Mongrel as FCGI replacement for rails?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sharon R. (Guest)
on 2006-03-07 01:04
(Received via mailing list)
Hi All,

This is sort of a theoretical question, as well as a practical one,
since I am now working on a rails app that will soon be deployed. I
understand that rails is essentially not thread-safe, and that
mongrel uses a pool of threads to handle incoming requests, and
automatically serializes concurrent rails requests. I am
investigating the possible use of Mongrel instead of FCGI for serving
dynamic content.

My circumstances are such that my app should be able to handle
anywhere from 10 to 100 or more concurrent long-running requests
(yes, HTTP streaming, no, it's not a chat app). My question to you
all, and of course first and foremost to Zed S., is would it be
practical to use Mongrel in such a scenario, and how would one go
about it? Is there actually any way to make rails thread-safe?

This topic is locked and can not be replied to.