The ermlia is Erlang implementation of Kademlia. This is easy key-value store.
Erlang Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
deps
doc
ebin
examples
include
log
priv/www/css
scripts
src
test
.gitmodules
Makefile
README.markdown

README.markdown

ermlia

The ermlia is Erlang implementation of Kademlia.

Requirements

Building from Source

% cd /path/to
% git clone git://github.com/cooldaemon/ermlia.git
% cd ./ermlia
% git submodule init
% git submodule update
% make

How to Use

Start the first node.

% cd /path/to/ermlia
% ./scripts/start 10000

Start the second node and put a key/value on this node.

% cd /path/to/ermlia
% ./scripts/start 10001
1> ermlia:join({127, 0, 0, 1}, 10000).
2> ermlia:put(key, value).

Get a value from the first node.

1> ermlia:get(key).