Skip to content

filipecampos/raft4ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raft4WS - Raft for Web Services

Raft4WS is an implementation of the [Raft distributed consensus protocol] (https://ramcloud.stanford.edu/wiki/download/attachments/11370504/raft.pdf "In Search of an Understandable Consensus Algorithm") on the WS4D JMEDS Framework v2.0 beta10

Release History

  • 0.1: Initial release. (26 May, 2014)
  • 0.1.1: Update build to Java 8. (18 February, 2025)

Features

Raft4WS implements the following features of Raft:

  • Leader election
  • Log replication

Advanced features, such as log compaction or online cluster reconfiguration, still don't have an implementation timeline.

Installing and using Raft4WS

Follow the instructions on the INSTALL file to build the binary distribution package. It will be located at ./target/raft4ws-0.1-bin.zip. Extract the contents of the zip file and follow the following instructions to execute a Raft server or client.

  • To run a Raft server:

$ ./bin/server <server_id> <min_timeout(ms)> <max_timeout(ms)>

  • To run a Raft client:

$ ./bin/client

About

Raft implementation on DPWS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages