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?
InfoQ Homepage News InfoQ Article:Introduction to BackgrounDRb
Community comments
Missing javascript includes in view
by Oliver Kiessler,
drb and novarug
by Tom Copeland,
Corrections, for new versions
by Olle Jonsson,
installing problem
by andrew d,
This Article is Obsolete
by hemant kumar,
Missing javascript includes in view
by Oliver Kiessler,
Your message is awaiting moderation. Thank you for participating in the discussion.
In order to make your example work one needs to include the rails javascript libraries in the "start_background_task.rhtml" view:
<%= javascript_include_tag :defaults %>
drb and novarug
by Tom Copeland,
Your message is awaiting moderation. Thank you for participating in the discussion.
Brian Sletten just did a drb presentation at the Northern VA Ruby User's Group; slides and whatnot are on novarug.org.
Corrections, for new versions
by Olle Jonsson,
Your message is awaiting moderation. Thank you for participating in the discussion.
Development has been swift... and some of the code in the article is now out-of-date.
Should nowadays just be:
installing problem
by andrew d,
Your message is awaiting moderation. Thank you for participating in the discussion.
when installing and creating new workers, remember to restart your rails server. I was trying to run the example but it didn't work, once I restarted WEBrick everything worked
This Article is Obsolete
by hemant kumar,
Your message is awaiting moderation. Thank you for participating in the discussion.
Folks,
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.