Active-replication

Hello KeyDB Community,

Is it possible to use active-replica on 3+ servers? If supported, would it be a mesh where each server is a replicaof other 2+ servers, or would a ring or tree where each server is a replicaof exactly one other server be recommended?

Yes it is possible if you also enable multi-master in your configuration file. A ring topology will reduce the amount of bandwidth used communicating between your cluster, at the expense of slightly higher latency before each node is updated. Both mesh and ring topologies are tested and should work.

Regardless of what topology you use or how you connect your nodes KeyDB will detect duplicate messages and discard them.