A raft implementation