Support for running ruby tasks via drb (druby) on multiple cores and/or systems.
the infrastructure for pushing drb servers to remote systems,
checking that gems are installed on remote systems,
starting and stopping the remote drb server(s)
cleaning up the remote system by stopping and removing drb servers
An article on using drbman is available at: royw.wordpress.com/2009/07/15/a-manager-for-drb/
In a nut shell, write your drb server object then add:
require 'drbman_server' class YourServer include DrbmanServer ... end DrbmanServer.start_service(YourServer)
Then create a Drbman instance and use it:
Drbman.new(@logger, choices) do |drbman| loop do drbman.get_object do |your_drb_server| your_drb_server.your_method end end end
sudo gem install royw-drbman –source gems.github.com
drbman uses yard comments so you can generate yard documents using:
Copyright © 2009 Roy Wright. See LICENSE for details.