Hi Ameya,

Are you looking to have multiple state machines for one raft group? If so,
what is the scenario for such a case?

I have seen an example in Ozone. In which a state machine is implemented in
a way that passes log entry to different state managers. In this example,
logically there is only one state machine for Ratis, but then you can have
multiple places to manage different states.


-Rui

On Fri, Oct 30, 2020 at 3:30 AM Mukul Kumar Singh <[email protected]>
wrote:

> Hi Ameya,
>
> It is possible to only have one state machine per raft group.
>
> Thanks,
>
> Mukul
>
> On 30/10/20 9:59 am, Ameya Yerpude 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