This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 1fdaf47a1fcf7a77e721379b1efa9cc0a510f72f
tree 07fb4b09ad70f2428769a4079c7916db8ebc76f8
parent cec510f5419793e3331c5dd97487764133e6e79e
tree 07fb4b09ad70f2428769a4079c7916db8ebc76f8
parent cec510f5419793e3331c5dd97487764133e6e79e
tokyo-recipes / map-reduce
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
README.rdoc | Wed Jul 08 22:09:26 -0700 2009 | |
| |
wordcount.lua | Wed Jul 08 22:09:26 -0700 2009 | |
| |
wordcount.rb | Wed Jul 08 22:09:26 -0700 2009 |
map-reduce/README.rdoc
Map-Reduce with Tokyo Cabinet
Executing map-reduce jobs within Tokyo Cabinet
Starting server with incr extension
> ttserver -ext wordcount.lua test.tch
Executing from command line
> tcrmgr put localhost 1 "This is a pen."
> tcrmgr put localhost 2 "Hello world"
> tcrmgr put localhost 2 "Life is good"
> tcrmgr ext localhost wordcount
a 1
good 1
is 2
life 1
pen 1
this 1
Executing via Ruby
> ruby wordcount.rb
a 1
beautiful 1
bob 1
hello 2
what 1
world 2
Source: alpha.mixi.co.jp/blog/?p=566







