I would highly recommend using delayed_job (
http://github.com/tobi/delayed_job/tree/master). We've recently integrated
this into the BioCatalogue (http://www.biocatalogue.org) to great effect.
This is what GitHub use I believe (http://github.com/blog/197-the-new-queue
).

Useful blog post that walks you through setting up delayed_job -
http://www.magnionlabs.com/2009/2/28/background-job-processing-in-rails-with-delayed_job

Useful FAQ: http://wiki.github.com/tobi/delayed_job

Examples: http://github.com/igal/rubyqueues/tree/master/delayed_job_eg/

Comparisons:
http://github.com/igal/rubyqueues/raw/802998678c012ed17b27324a41a4cd42a377a678/comparison.html

Hope that helps.

Jits


2009/6/13 Chris <[email protected]>

>
> Thanks a lot for the pointers and the great suggestions.
>
> I really do find BackgrounDrb too heavy for my implementation - and
> think the gems you described make sense.
>
> Spawn plugin and Javan-whenever is great.  And there is a Railscast
> that is really good in explaining:
> http://railscasts.com/episodes/164-cron-in-ruby
>
>
> On Jun 8, 7:35 am, Sandip Ransing <[email protected]> wrote:
> > @Bharat,
> >
> > Can you give brief why to use javan instead backgroundrb ?
> > As, i am using backgroundrb for heavy upload duties and it works fine for
> > me.
> >
> > - Sandip R~
> >
> > On Sun, Jun 7, 2009 at 11:26 PM, Bharat <[email protected]> wrote:
> >
> > > Two pointers from personal experience:
> >
> > > 1.  Don't use backgroundrb for asynchronous processing
> > > 2.  Do use javan-whenever to automate your cron jobs (available on
> > > Github)
> >
> > > Bharat
> >
> > --
> > Ruby on Rails Developerhttp://sandip.sosblog.comhttp://
> funonrails.wordpress.comwww.joshsoftware.com
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to