Skip to content
The ermlia is Erlang implementation of Kademlia. This is easy key-value store. http://d.hatena.ne.jp/cooldaemon/
Find file
Pull request Compare This branch is even with cooldaemon:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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).
Something went wrong with that request. Please try again.