Skip to content

Maricaya/raft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implement distributed kv from scratch

Part A:Implement leader election

To get up and running, execute the following commands.

cd src/raft
go test -run PartA -race

python3 ../tools/dstest.py PartA -p 30 -n 100 
dstest PartA -p 30 -n 100 

View detailed logs

VERBOSE=0 go test -run PartA | tee out.txt
VERBOSE=0 go test -run TestBasicAgreePartB | tee out.txt
VERBOSE=0 go test -run TestFigure8PartC | tee out.txt


../tools/dslogs -c 5 out.txt

About

Implement a distributed kv from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages