Skip to content

A RAFT based consensus protocol with automated membership changes

License

Notifications You must be signed in to change notification settings

WhatsApp/merge_raft

merge_raft

Build Status

See the CONTRIBUTING file for how to help out.

Installation

TBD

Usage

rebar3 shell

Node 1:

merge_raft_kv:start(kv).
net_kernel:start('1@localhost', #{name_domain => shortnames}).
merge_raft_kv:async_put(kv, key, value).

Node 2:

merge_raft_kv:start(kv).
net_kernel:start('2@localhost', #{name_domain => shortnames}).
net_kernel:connect_node('1@localhost').
merge_raft_kv:sync_get(kv, key).

Testing

rebar3 ct

License

merge_raft is Apache License Version 2.0 licensed, as found in the LICENSE file.

About

A RAFT based consensus protocol with automated membership changes

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •