[Rails] Re: Re: Database Concurrency Without a Web Server?

Don Stocks
Wed, 12 Jul 2006 18:00:10 -0000

Ezra Zygmuntowicz wrote:

> 	Have a look at my BackgrounDRb plugin[1]. It aims to solve the
> background worker task problem. Its a multi threaded enviropnent that
> runs with ActiveRecord::Base.allow_concurrency=true so you should get
> more performance out of it.
>
> Cheers-
> -Ezra

Thanks Ezra.  I''ll have a peek.  But I would like to use what I have
without introducing anything extra.  I don''t think that my background
service needs DRb functionality.  It is working fine now with the
exception that it''s only using one db connection.  That''s
causing a
major bottleneck.

Is there no way to get script/runner to use db connection pooling?

 - Don