SkillAgentSearch skills...

Rclref

sample key-value store implemented with riak-core-lite for google summer of code

Install / Use

/learn @rotaki/Rclref
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

rclref

A reference implementation of a distributed key-value store using riak_core_lite. More information on this project is provided here <https://wattlebirdaz.github.io/rclref>_.

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:

  • rclref development site <https://wattlebirdaz.github.io/rclref>_
  • Getting Started Guide <https://riak-core-lite.github.io/blog/pages/getting-started/>_
  • Riak Core Lite Site <https://riak-core-lite.github.io/>_

License

Copyright 2020 Riki Otaki

Licensed under the Apache License, Version 2.0

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated3y ago
Forks6

Languages

Erlang

Security Score

70/100

Audited on May 21, 2022

No findings