Skip to content

Implementing key-value clusters controlled by Raft consensus and available over HTTP

License

Notifications You must be signed in to change notification settings

dencoded/http2raft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http2raft - Raft based clusters exposed as HTTP server

http2raft is a simple framework to build fault-tolerant key-value clusters controlled by Raft consensus and available over HTTP. It allows to implement easily Raft-cluster with custom implementation of your own state machine. Raft will "feed" your state machine with committed log entries and your implementation is responsible to process these entries.

Implementation

The idea is simple - http2raft runs HTTP server and Raft-node at the same time. All GET requests to HTTP server turn into reads of your Raft-cluster state. All POST, PUT, PATCH and DELETE HTTP requests will turn in to change state of your Raft-cluster.

Please have a look at Examples

NOTE: http2raft is an experiment and IS NOT supposed to be used in production!

About

Implementing key-value clusters controlled by Raft consensus and available over HTTP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages