KeyDB – The faster Redis Alternative

KeyDB now has support with multiple masters when replicating, and It’s a drop in replacement to REDIS.

When KeyDB connects with multiple masters it behaves differently than with traditional replication:

Multiple invocations of the replicaof command will result in adding additional masters, not replacing the current one
KeyDB will not drop its database when sync’ing with the master
KeyDB will merge any reads/writes from the master with its own internal database
KeyDB will default to last operation wins

This means that a replica with multiple masters will contain a superset of the data of all its masters. If two masters have a value with the same key it is undefined which key will be taken. If a master deletes a key that exists on another master the replica will no longer contain a copy of that key.

Source: KeyDB – The faster Redis Alternative

Comments are closed.