Hi, I am investigating if Dragonfly can be used as a Redis or Memcached implementation for Nextcloud.
Dragonfly is a multithreaded in-memory database that scales out very well with increased core count, as a contrast to Redis which is single threaded only.
The Nextcloud requirements doesn’t specify what minimum Redis API version is required, so I wanted to ask if anyone has tested or investigated this?
It should normaly be no major problem to replace redis with dragonfly.
The problem is, that dragonfly has minimal support requirements (SSE4, AVX2) that a processor should support. If you want to use it on older hardware, you have to build it yourself.
But you can try, it should be completely transparent. Simply change the redis connection settings in config/config.php to point to the dragonfly deamon.
If it works, please report it here.
If it does not work, you can simply switch back
Yea, dragonfly isn’t packaged for my distro, so I built from sources.
So far there are no issues using Dragonfly with Nextcloud. I’ve noticed that for a single instance stuff like occ files:scan --all is somewhat slower. However, switching to unix socket instead of tcp almost made the files scan about 50% faster for both Redis and Dragonfly, which was a nice find