[Backgroundrb-devel] Worker start lag

hemant gethemant at gmail.com
Wed Nov 14 04:34:16 EST 2007

On Nov 13, 2007 2:01 AM, Danila Ulyanov <du at bestwaytech.com> wrote:
> I am trying to use backgroundrb to execute searches that may take a long
> time in the background. So a user connects, executes search worker, then
> periodically pulls to see if result is available using asynchronous
> javascript request. This way a few long searches don't make the site
> unusable to rest by freezing up mongrel connections.
> Here is the problem - I seem to get a 2-3 second lag from the moment
> worker is created and before the worker actually starts running. It's ok
> for long searches, but it is very noticeable for short searches, since
> it turns 0.3 second searches into 3.3 seconds searches.
> Is there anything I can optimize to have workers start faster?

Checkout new version of plugin and you will find your lags disappear.

Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.


More information about the Backgroundrb-devel mailing list