Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (19 sloc) 917 Bytes

jprime

jprime is an experimental distributed prime number generator written in Ruby.

Configuration

Adjust the job size and target number in jprime_server.rb

Usage

  1. Launch jprime_server.rb
  2. Launch a jprime_worker.rb for every processor/core across all the computers you want to distribute these calculations to! Or try jprime_worker_launcher.rb which will try to launch the appropriate number of workers for you.

File descriptions

  • jprime_worker_launcher.rb - Helper app to launch a worker instance for each processor on the system.
  • jprime_worker.rb - The distributable application that will perform the prime number calculations.
  • jprime_server.rb - The server component that keeps everything from falling apart.
  • proofer.rb - Verifies the generated prime numbers in a compressed data set.

Copyright

Distributes under the same terms as Ruby