juicefs icon indicating copy to clipboard operation
juicefs copied to clipboard

Using valkey instead of redis

Open lyderic opened this issue 6 months ago • 4 comments

What would you like to be added:

I would like to have support for valkey (redis clone).

Why is this needed:

I am running my stack on Arch linux, where redis has been replaced by valkey in the default repository.

Many thanks for looking into this :-)

Also: thanks for juicefs, this is a fantastic piece of software!

L. (from EU)

lyderic avatar Jul 16 '25 08:07 lyderic

Valkey should be supported out of the box as Valkey is a fork of Redis OSS v7.2.4.

solracsf avatar Jul 16 '25 09:07 solracsf

Sorry, my feature request was misleading: valkey is indeed a drop-in replacement for redis. However, it doesn't show up in the documentation as a redis compatible database.

IMHO it would be a good idea to add it, as was done for KeyDB (another fork of redis), especially for Arch linux users as it is the default for this distro.

lyderic avatar Jul 16 '25 10:07 lyderic

I think Valkey can be used directly without any additional explanation. If you have deeper insights into Valkey—such as its new features or performance improvements compared to Redis—a PR to add those details to the documentation is welcome.

jiefenghuang avatar Jul 18 '25 02:07 jiefenghuang

I don't have any insights into Valkey, I'm afraid. So far, I use it as a replacement for Redis when needed. The URL redis://xxx works as per documentation.

Thanks.

lyderic avatar Jul 18 '25 15:07 lyderic