Ashon / _study-raft

raft consensus written in python async

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raft consensus with async python

Architecture

                           Consensus Modules
                             +---------------+
                        +--- | RaftTCPServer | -----+
                        |    +---------------+      V
+------------------+    |                       +-------+
| RaftStateMachine | <--+                       | Event |
+------------------+    |                       +-------+
                        |    +---------------+      A
                        +--- | RaftActor     | -----+
                        |    +---------------+
                        |
                        |  Subsystems
                        |    +-------------------+
                        +--- | RaftStateReporter |
                             +-------------------+

+-----------+
| DataStore |
+-----------+

About

raft consensus written in python async


Languages

Language:Python 99.6%Language:Dockerfile 0.4%