Hi Asad, I do not have a good answer. It depends on the application. What service and guarantees would the application provide? You may want to take a look at the Apache Ozone architecture as a reference. Another example is HBase which uses Ratis for its WALs.
Tsz-Wo On Fri, Nov 19, 2021 at 3:39 AM Asad Awadia <[email protected]> wrote: > Hello, > > What is the best strategy/code architecture to shard a piece of data > across different raft groups? > > Keep a mapping of data items to which raft group they belong to? Create > new raft groups as required? Connect to the proper raft group to read data? > > Is this too naive of an approach? > > Regards, > Asad >
