Samples of CouchDB and Riak MapReduce
Some notes from a workshop on CouchDB and Riak diving into their support for MapReduce. While the code might not look the same, if you pay close attention you’ll notice it is almost identical. Except Riak, MapReduce functions need to “deserialize” data.
Riak code
CouchDB code
In case you cannot see the code, please try refreshing the page. It looks like sometimes the syntax highlighter doesn’t load correctly :-(.
via: http://vermonster.com/2010/03/31/nosql-workshop-featuring-riak-and-couchdb/