Skip to content
An experimental distributed prime number generator written in Ruby.
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
legacy
lib
README.markdown
jprime_server.rb
jprime_worker.rb
jprime_worker_launcher.rb
proofer.rb

README.markdown

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

Something went wrong with that request. Please try again.