Skip to content

amodkala/raft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raft

Implementation of the Raft consensus protocol for distributed log consistency

Use (Package)

To use the Raft implementation in your own project, import the package after running the following command

go get github.com/amodkala/raft/pkg/raft

Use (Container)

A container image running a demo Raft peer is available via the GitHub Container Registry

docker pull ghcr.io/amodkala/raft:main

Build (Binary)

With a Flake-enabled Nix installation, simply run

nix build github:amodkala/raft#bin

NOTE: the WAL is written to /var/{id}.wal, so sudo privileges are required

sudo ./result/bin/cmd

Build (Container Image)

With a Flake-enabled Nix installation:

nix build github:amodkala/raft#docker

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages