`Replicated state machine framework based on Raft consensus algorithm