Sha256: 022de381c254b1df533ae4de137a580389595e4d7e8b00302cf78111b939df3c

Contents?: true

Size: 1.08 KB

Versions: 4

Compression:

Stored size: 1.08 KB

Contents

= primes

Primes is an example of using drbman to parallelize part of an application across one or more systems.

== Usage

N is the upper bound on the primes you want to find.  For example to
find all primes below 200, N would be 200.

single drb instance on localhost using ssh public key authentication:
  bin/primes N
or
  bin/primes N -H localhost

two drb instances on localhost using ssh public key authentication:
  bin/primes N -H localhost,localhost

three drb instances on remote hosts using ssh public key authentication:
  bin/primes N -H one.example.com,two.example.com,three.example.com

single drb instance on remote host using different account and ssh public key authentication:
  bin/primes H -H username@example.com

single drb instance on remote host using ssh passward authentication:
  bin/primes H -H username:sekret@example.com

help
  bin/primes --help

== Installation

primes is installed as an example in drbman

== Notes

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

rake yardoc

== Copyright

Copyright (c) 2009 Roy Wright. See LICENSE for details.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
royw-drbman-0.0.3 examples/primes/README.rdoc
royw-drbman-0.0.4 examples/primes/README.rdoc
royw-drbman-0.0.5 examples/primes/README.rdoc
royw-drbman-0.0.6 examples/primes/README.rdoc