dragonflydb / dragonfly

A modern replacement for Redis and Memcached
https://www.dragonflydb.io/
Other
24.5k stars 884 forks source link

Horizontal Scaling #3114

Open robd003 opened 1 month ago

robd003 commented 1 month ago

Is your feature request related to a problem? Please describe. Right now Dragonfly only scales vertically. I'd like to be able to scale out to multiple hosts.

Describe the solution you'd like The ability to connect to any host in the cluster and perform commands on any key. If that key is not on the current node then the request would be forwarded to the node that holds the key. Changes would be persisted out to replicas. The cluster should be kept in sync with Raft.

Describe alternatives you've considered Paying for Redis Enterprise, but I really don't want to.

romange commented 1 month ago

AFAIK, Redis Enterprise does not allow forwarding commands for any key. You did not explain why multiple hosts is the requirement for your use-case.