BackgrounDRb 0.2.0 Released!

Posted by ezmobius Mon, 30 Oct 2006 01:41:00 GMT

I am really happy to announce the release of BackgrounDRb 0.2.0 . This is a complete rewrite and re-architecture of this codebase. I want to thank skaar for all of his hard work. I put out a call for help with the new architecture and skaar stepped up bigtime. I had already written the new scheduler and cron compatible syntax and moved to multi process architecture. But he took what I had that wasn’t very whole and did a whopping 100 svn commits to the project! Big ups to skaar for this release!

= BackgrounDRb 0.2.0

!! Note that this is in an entirely different svn repo then the old plugin. Make sure you remove the old before you install the new.

http://svn.devjavu.com/backgroundrb/tags/release-0.2.0/README http://svn.devjavu.com/backgroundrb/tags/release-0.2.0 (latest release) http://svn.devjavu.com/backgroundrb/trunk (svn trunk) http://backgroundrb.devjavu.com (trac) http://backgroundrb.rubyforge.org (rdoc)

Copyright© 2006 Ezra Zygmuntowicz and skaar[at]waste[dot]org

Read more...

Tags , ,  | 6 comments

Update to BackgrounDRb

Posted by ezmobius Tue, 01 Aug 2006 22:04:00 GMT

So I just pushed out a new release of this plugin that refactors some stuff I wasn’t happy with and adds a few very cool features. Thanks to some nice patches from Michael Siebert on the mailing list we now have support for workers to start up automatically when the drb server is started. And you can also have your workers repeat thier jobs at timed intervals like cron but simpler. Check out the README for more info on the autostart feature. Here is a little example of a worker that runs its task evey ten minutes starting from whenever the worker gets created with MiddleMan.new_worker:

class TimedWorker <BackgrounDRb::Rails  

  repeat_every 10.minutes
  first_run Time.now

  def do_work(args)
    # code in here gets called every 10 minutes 
  end

end

Tags , , , ,  | 3 comments