Why mongrel handles one request at a time.

Hi All,

I was finding issues with mongrel. As I know, It handles/processes one request at a time. I searched it on net and found that its not mongrel which handles single request at a time. Its rails which handles one request at a time whereas mongrel can handle multiple request. But nothing was clear and most of the posts were old. I Have few questions regarding all this -

1. What is exact cause for single request handling/processing - mongrel or rails or anything else? 2. Why it is so ? 3. Why this has not been improved yet? If has been improved then in which version ?

Thanks :slight_smile:

Hi All,

I was finding issues with mongrel. As I know, It handles/processes one request at a time. I searched it on net and found that its not mongrel which handles single request at a time. Its rails which handles one request at a time whereas mongrel can handle multiple request. But nothing was clear and most of the posts were old. I Have few questions regarding all this -

1. What is exact cause for single request handling/processing - mongrel or rails or anything else? 2. Why it is so ? 3. Why this has not been improved yet? If has been improved then in which version ?

it was rails because rails wasn't multithread safe. It is as of 2.2
(but IIRC the locking mongrel did around dispatches to rails was in
mongrel itself)

Fred