Something like riteraft. What do you want. #351
Closed
akiradeveloper
started this conversation in
Ideas
Replies: 1 comment
-
I won't do this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To get users, I am planning to make a simple layer like riteraft.
In former lol, we had a module named
simple
that implements a simple layer to construct aRaftApp
. Here is the link.lolraft needs three components,
RaftApp
,RaftLogStore
andRaftBallotStore
, to build a Raft process. Here, my question is should we hide this abstraction? In theory, we can provide a conversion layer like formersimple
module but I understand this forces users to understand about the said three abstractions and probably it is not what they want. I assume they even simpler layer where all they have to know is about theSimpleRaftApp
that has three functionsapply(&[u8])
,snapshot()->Vec<u8>
andrestore(&[u8])
as in riteraft.Oops my another question arises: Should we hide the fact that we use gRPC?
I want your opinions.
Beta Was this translation helpful? Give feedback.
All reactions