InfoQ Article:Introduction to BackgrounDRb
As the problem domain of your Rails applications expands, you may need to run computationally intensive or long running background tasks. How can you run these long background tasks without your web server timing out? And how do you display the progress to your users?
drb and novarug
Corrections, for new versions
progress_percent = MiddleMan.get_worker(session[:job_key]).progress
Should nowadays just be:
progress_percent = MiddleMan.worker(session[:job_key]).progress
This Article is Obsolete
Above Article on BackgrounDRb is completely obsolete. Please do not use instructions provided here as a tutorial for using BackgrounDRb. It has caused enough pain and agony for many users. New documentation for bdrb is available at, backgroundrb.rubyforge.org and one should look there before referring anything else.
Jim Driscoll Dec 08, 2013