Skip to content

A minimal example application with rust async-raft

Notifications You must be signed in to change notification settings

dylanjt/async-raft-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

async-raft-example

A minimal example application with rust async-raft

  • RaftStorage: async-raft's memstore
  • RaftNetwork: axum/reqwest based HTTP transport
  • Peer address hardcoded as 127.0.0.1:5000, 127.0.0.1:5001 and 127.0.0.1:5002

To try it, open 3 terminal windows and run:

# window 1
NODE_ID=0 ./async-raft-example
# window 2
NODE_ID=1 ./async-raft-example
# window 3
NODE_ID=2 ./async-raft-example

About

A minimal example application with rust async-raft

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%