0.0
No commit activity in last 3 years
No release in over 3 years
Support for running ruby tasks via drb (druby) on multiple cores and/or systems.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.9.12
>= 1.0.5
>= 1.0.2
>= 2.0.11
>= 1.1.6
>= 0.0.4
 Project Readme

drbman¶ ↑

Support for running ruby tasks via drb (druby) on multiple cores and/or systems.

Drbman provides:

  • 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

Usage¶ ↑

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)

Next in your client app set up: choices, choices, choices, choices

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

Installation¶ ↑

sudo gem install royw-drbman –source gems.github.com

Notes¶ ↑

drbman uses yard comments so you can generate yard documents using:

rake yardoc

Copyright © 2009 Roy Wright. See LICENSE for details.