All Projects → defunkt → mapreducerb

defunkt / mapreducerb

Licence: other
Simple map/reduce in Ruby

Programming Languages

ruby
36898 projects - #4 most used programming language
By Blaine Cook.

http://romeda.org/blog/2007/04/mapreduce-in-36-lines-of-ruby.html

If you want to add `dinject` (reduce) please do:
http://github.com/defunkt/mapreducerb

In your shell:
$ sudo gem install RingyDingy
$ sudo gem install ruby2ruby
$ ring_server &
$ ruby mapreduce_runner.rb &
$ ruby mapreduce_runner.rb &

In IRB:
>> require 'mapreduce_enumerable'
>> (1..100).to_a.dmap { |v| v * 2 }
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].