[Mongrel] Long-running pages cause mongrel time-outs

Evan Weaver evan at cloudbur.st
Tue Dec 18 15:36:14 EST 2007


There's a library called Spawn, too, which is nice for doing
asynchronous but still request-triggered background processing. It
might get less nice once 1.9 comes around, though, but... bridges when
we come to them.

Evan

On Dec 18, 2007 1:34 PM, Mason Hale <masonhale at gmail.com> wrote:
> Hi Ezra --
>
> I found it interesting that you recommended Bj (backgroundjobs) and not
> BackgrounDrb. I hadn't heard of Bj before, and I'll check it out. Thanks for
> the link. Given that you initiated the development BackgrounDrb, I'm curious
> when and where you would recommend Bj over BackgrounDrb.
>
> Mason
>
>
>
>
> On Dec 17, 2007 6:18 PM, Ezra Zygmuntowicz <ezmobius at gmail.com> wrote:
> >
> >
> >
> >
> >        The best thing to do is to move any of your long running tasks off
> > into a work queue and out of the mongrel/rails request response cycle.
> > Something like Bj woudl help:
> >
> > http://codeforpeople.rubyforge.org/svn/bj/trunk/README
> >
> >
>
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>



-- 
Evan Weaver
Cloudburst, LLC


More information about the Mongrel-users mailing list