Skip to content
/ gutenberg Public

Riak Map/Reduce Examples Written in Erlang LFE

Notifications You must be signed in to change notification settings

lfex/gutenberg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gutenberg: Riak Map/Reduce Examples in Lisp Flavored Erlang

Dependencies

  • Rebar

Build

  • rebar get-deps
  • rebar compile

Install

  • Configure Riak
    • Update riak_kv settings with the path to /path/to/gutenberg/ebin, eg: {riak_kv, {add_paths, [“/Users/tim/Projects/gutenberg/ebin”]}}

Run

  • Boot Riak
    • cd /path/to/riak/rel/riak && ./bin/riak console
  • Add books to Riak
    • ./bin/setup.sh
  • Run the curl/json map/reduce jobs
    • ./bin/count.sh
    • ./bin/set.sh
  • Run the same jobs from the erlang/protobufs client
    • ./bin/test.escript count
    • ./bin/test.escript set

About

Riak Map/Reduce Examples Written in Erlang LFE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published