mopp / brownie

Hobby Distributed Key-Value Store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brownie

Hobby Distributed Key-Value Store

Requirements

  • elixir
  • docker-compose

How to test

make run

On another console:

make attach

iex(one@brownie1.com)> Brownie.Coordinator.request({:create, "abc", "def"})
:ok

iex(one@brownie1.com)> Brownie.Coordinator.request({:read, "abc"})
{:ok, "def"}

iex(one@brownie1.com)> Brownie.Coordinator.request({:update, "abc", "xyz"})
{:ok, "xyz"}

iex(one@brownie1.com)> Brownie.Coordinator.request({:delete, "abc"})
:ok

iex(one@brownie1.com)> Brownie.test false

About

Hobby Distributed Key-Value Store


Languages

Language:Elixir 98.5%Language:Makefile 1.3%Language:Dockerfile 0.3%