Skip to content

Latest commit

 

History

History
63 lines (38 loc) · 971 Bytes

README.rst

File metadata and controls

63 lines (38 loc) · 971 Bytes

rclref

A reference implementation of a distributed key-value store using riak_core_lite. More information on this project is provided here.

Build

make release

Test

make ct

Run

make console

Try

Erlang interface (replication = 3)

1> rclref_client:put(<<"dog">>, <<"cat">>).
ok

2> rclref_client:get(<<"dog">>).
{ok,[<<"cat">>,<<"cat">>,<<"cat">>]}

3> rclref_client:list_keys().
{ok,[<<"dog">>]}

4>rclref_client:delete(<<"dog">>).
ok

5> rclref_client:get(<<"dog">>).
{error,not_found}

More information:

License

Copyright 2020 Riki Otaki

Licensed under the Apache License, Version 2.0