Skip to content

Does MicroRaft support Sharding? #44

Closed Answered by metanet
bootjp asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bootjp. Welcome back! I am happy to support your use case. Please share your experience of using MicroRaft and I can take your input for planning future work!

With MicroRaft, you can run multiple Raft groups in the same system. Raft groups are identified by unique ids which is set in RaftNodeBuilder:

RaftNodeBuilder setGroupId(@Nonnull Object groupId);

which is carried in RaftMessage objects:

Basically you can map your logical shards into Raft groups whe…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bootjp
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants