An open API service indexing awesome lists of open source software.

https://github.com/dlarocque/raft

Raft consensus algorithm
https://github.com/dlarocque/raft

consensus-algorithm distributed-systems

Last synced: 5 months ago
JSON representation

Raft consensus algorithm

Awesome Lists containing this project

README

          

# Raft

Based off of MIT Distributed Systems Lab 2: https://pdos.csail.mit.edu/6.824/labs/lab-raft.html

## Run tests

In `internal/raft`,

```sh
go test
```

## Running Tests With Logging

If you have `internal/raft/dslogs` in your path,

```sh
VERBOSE=1 go test | dslogs -c
```

To run a specific test with logs,

```sh
VERBOSE=1 go test -run | dslogs -c
```