BT

InfoQ Article:Introduction to BackgrounDRb

by Obie Fernandez on Jun 27, 2006 |

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?

Read: Introduction to BackgrounDRb

Hello stranger!

You need to Register an InfoQ account or to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Missing javascript includes in view by Oliver Kiessler

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

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

Development has been swift... and some of the code in the article is now out-of-date.


progress_percent = MiddleMan.get_worker(session[:job_key]).progress


Should nowadays just be:


progress_percent = MiddleMan.worker(session[:job_key]).progress

installing problem by andrew d

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

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.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

5 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2013 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT