open-consul/docs/persistence/overview.mmd
Daniel Nephin f32d1ceeb5 Move contributing to docs
So that this documentation is more appropriated named.
2021-08-30 16:17:09 -04:00

35 lines
868 B
Plaintext

graph TB
requestLeader[request] --> RPCLeader
requestFollower[request] --> RPCFollower
class requestLeader,requestFollower req;
classDef req fill:transparent,color:#000,stroke-width:1;
subgraph Leader
RPCLeader[RPC]
RaftLeader[Raft]
StateStoreLeader[State Store]
FSMLeader[FSM]
end
RPCLeader -->|write| RaftLeader
RPCLeader -->|read| StateStoreLeader
RaftLeader ---> FSMLeader
FSMLeader --> StateStoreLeader
subgraph Follower
RPCFollower[RPC]
RaftFollower[Raft]
StateStoreFollower[State Store]
FSMFollower[FSM]
end
RaftLeader <-.->|consensus and replication| RaftFollower
RPCFollower -->|forward write to leader| RPCLeader
RPCFollower -->|read| StateStoreFollower
RaftFollower --> FSMFollower
FSMFollower --> StateStoreFollower