Skip to content
Browser Map-Reduce: distributed word count example
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Browser / HTTP Map-Reduce driver

Working example of browser based, HTTP driven map-reduce for a distributed word count. The jobs are assigned by the job-server and computation is done by the clients browser, after which the results are posted back (emit) to the server and the cycle repeats until the computation is done.

Huh, why?

It's a proof of concept with the goal of lowering the barrier to entry for any online user to contribute some of their spare CPU cycles to a distributed computation. After all, what could be easier than clicking a link?

Launching example

(1) > ruby jobserver.rb -p 80 -e production
(2) > open your browser and point it to the jobserver

That's it.

For full details, take a look at:


Ilya Grigorik <> (Twitter: @igrigorik)

You can’t perform that action at this time.