Categorygithub.com/amodkala/raft
module
0.0.0-20240803234500-9a1655dccb6c
Repository: https://github.com/amodkala/raft.git
Documentation: pkg.go.dev

# README

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

# Packages

No description provided by the author
No description provided by the author