/caspax

An Elixir implementation of the CASPaxos distributed compare-and-set KV store.

Primary LanguageElixir

Caspax

An Elixir implementation of the CASPaxos distributed compare-and-set KV.

Currently incomplete, but the main portion of the protocol is implemented for erlang nodes. Test with mix run test.exs.

Still to do: deletion, GC

Related reading:

Installation

If available in Hex, the package can be installed by adding caspax to your list of dependencies in mix.exs:

def deps do
  [
    {:caspax, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/caspax.