Ratis supports multiple groups in a server.  Each group could be
initialized with a different state machine using StateMachine.Registry.
See TestStateMachine.testStateMachineRegistry as an example.

Tsz-Wo

On Fri, Oct 30, 2020 at 1:15 PM Ameya Yerpude <[email protected]>
wrote:

> Hello Developers,
>
>  I am a master's student of University Of San Francisco working on a
> project which uses distributed census and found the ratis library
> really useful. But after going through the source code, i wanted to know if
> a certain raft group can have more than 1 state machine or not because i
> could not find more about it.
>
> Let me know if anything can be done and also let me know if anything is
> required from my side.
>
> Thank you!
>
> Have a nice day!
>
> Best,
> Ameya
>

Reply via email to