Hello Andreas,

Thursday, March 18, 2004, 3:29:36 PM, you wrote:

AS> Hi,

AS> I'm using FastCGI with a web application that occasionally has to make
AS> slow (a few seconds) MySQL queries. With only one Ruby Thread acceptng
AS> connections all other requests are blocked by such a query; the solution
AS> could be to start multiple ruby processes, but this is a waste of memory
AS> (Amrita requires huge amounts); so I think it would be the best solution
AS> to use Ruby threads. Is that possible? Or do you have any other
AS> suggestions?

They also block. The MySQL client library has a blocking API.
Wait until we get native threads in ruby or use multiple ruby
processes.

-- 
Best regards,
 Lothar                            mailto:mailinglists / scriptolutions.com