~ne02ptzero/libfloat

Ring agnostic, Consistent, C Raft implementation
a17da7a3 — Louis Solofrizzo 29 days ago
log: trigger an election when another leader send us an AE with the same term
21ab27a6 — Louis Solofrizzo 3 months ago
node: do not delete my own node from a cluster
87cb99dc — Louis Solofrizzo 8 months ago
log: Apply deep-sleep state from heartbeats / leaders instead of computing locally

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~ne02ptzero/libfloat
read/write
git@git.sr.ht:~ne02ptzero/libfloat

You can also use your local clone with git send-email.

#libfloat

Ring agnostic, Consistent, C Raft implementation

#Table of Contents

#About the project

libfloat is an effort to propose a very simple RAFT library, focusing on consistent data replication (eg; databases). It can be runned with or without an userspace, and does not implement networking or writes, leaving the implementation a lot of room for specific use cases.

This implementation is based on the RAFT paper, but does not implement FSM consistency.

#Getting Started

#Compilation

In order to compile, you will need the following programs:

  • A C Compiler gcc / clang
  • cmake

Clone the repository:

git clone https://git.sr.ht/~ne02ptzero/libfloat

cd & create the build directory:

cd libfloat && mkdir -p build && cd build && cmake ..

Compile everything:

make

#Contributing

If you want to contribute, please send your patches to ~ne02ptzero/libfloat@lists.sr.ht You can look at git-send-email.io if you need to setup your mail client.

#Bug Report

Please report your bugs by email at ~ne02ptzero/libfloat@lists.sr.ht