Got it. Thank you Asad ________________________________ From: Tsz Wo Sze <[email protected]> Sent: Wednesday, January 5, 2022 7:21:11 AM To: [email protected] <[email protected]> Subject: Re: Multiple state machines
Yes. We could implement a StateMachine using the composite pattern ( https://en.wikipedia.org/wiki/Composite_pattern ). The composite StateMachine forwards the writes to its child StateMachine(s). Tsz-Wo On Fri, Dec 31, 2021 at 12:29 PM Asad Awadia <[email protected]<mailto:[email protected]>> wrote: Is it possible to have multiple statemachines for a single raft group id? So I can have the same writes go to multiple DBs? Regards, Asad
