Sha256: 780e18491e0f16ee481651c33d77c010d5a1acbeca80c8dc7081126fc5f569dc

Contents?: true

Size: 856 Bytes

Versions: 9

Compression:

Stored size: 856 Bytes

Contents

Comparison of workers with scbi_mapreduce vs ruby-threads
=========================================================

This application is only useful for testing. You can modify the files
to perform other tasks. There are other templates available, you 
can list them by issuing this command:

scbi_mapreduce

You can launch the tests application right now with the following command:

  time ruby main.rb
  
  
This launches 4 workers that do some simple calculations (only to keep busy 
the processor), to demonstrate the gain speed agains threads. 4 workers are 
used for a quad-core processor. Adjust it accordingly to your processor cores. 


To launch the threaded version of the application, you can do:

  time ruby threads_implementation.rb
  
You can compare the two times obtained. Threaded version will last the same with 1 thread or with 100.

Version data entries

9 entries across 8 versions & 1 rubygems

Version Path
scbi_mapreduce-0.0.45 skeleton/old/dummy_calculations/README.txt
scbi_mapreduce-0.0.45 skeleton/dummy_calcs/README.txt
scbi_mapreduce-0.0.40 skeleton/dummy_calcs/README.txt
scbi_mapreduce-0.0.38 skeleton/dummy_calcs/README.txt
scbi_mapreduce-0.0.37 skeleton/dummy_calcs/README.txt
scbi_mapreduce-0.0.36 skeleton/dummy_calcs/README.txt
scbi_mapreduce-0.0.35 skeleton/dummy_calcs/README.txt
scbi_mapreduce-0.0.31 skeleton/dummy_calcs/README.txt
scbi_mapreduce-0.0.29 skeleton/dummy_calcs/README.txt