I have been working on a simple map/reduce tool called Meguro built on top of Spidermonkey and Tokyo Cabinet. It does the heavy lifting in C, leaving the user to fill in the map/reduce logic with javascript. We have been using it a lot at Kosmix to help solve some of the "non webscale" problems.
Check out the documentation to get started on a simple example.