github github
  • Home
  • Pricing and Signup
  • Training
  • Gist
  • Blog
  • Login

igrigorik / bmr-wordcount

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 19
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Switch Branches (1)
    • master ✓
  • Switch Tags (0)
  • Branch List
Sending Request…

Browser Map-Reduce: distributed word count example — Read more

  Cancel

http://www.igvita.com/2009/03/03/collaborative-map-reduce-in-the-browser/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

initial import 
igrigorik (author)
Tue Mar 03 08:24:27 -0800 2009
commit  64a0692f6e834cd2bbf5
tree    155f53cb1fd517448cd9
bmr-wordcount /
name age
history
message
file README.rdoc Tue Mar 03 08:24:27 -0800 2009 initial import [igrigorik]
directory data/ Tue Mar 03 08:24:27 -0800 2009 initial import [igrigorik]
file jobserver.rb Tue Mar 03 08:24:27 -0800 2009 initial import [igrigorik]
directory views/ Tue Mar 03 08:24:27 -0800 2009 initial import [igrigorik]
README.rdoc

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: www.igvita.com/2009/03/03/collaborative-map-reduce-in-the-browser/

Contact

Ilya Grigorik <ilya@igvita.com> (Twitter: @igrigorik)

Dedicated Server Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
  • Blog
  • Support
  • Training
  • Job Board
  • Shop
  • Contact
  • API
  • Status
  • © 2010 GitHub Inc. All rights reserved.
  • Terms of Service
  • Privacy
  • Security
  • English
  • Deutsch
  • Français
  • 日本語
  • Português (BR)
  • 中文
  • See all available languages

Your current locale selection: English. Choose another?

  • English
  • Afrikaans
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Српски
  • Svenska
  • 中文