Let there be a FreeBSD host running ZFS with Nextcloud (a PHP application). The Nextcloud documentation states:
For this discussion, let's ignore the PHP opcode cache and solely focus on the "data cache" (i.e. files hosted by Nextcloud).
My question is this: ZFS already does in-memory caching of frequently used data in ARC (and optionally L2ARC). Is there any real-world benefit of still slapping Redis on top of this?
I don't doubt that this can make a difference on large scale, high-performance installations but for your every-day five-people-use-it type scenario running on your own server - Would running Redis in this scenario yield any feel-able performance gains?
It then proceeds by suggesting using Redis as a data cache.You can significantly improve your Nextcloud server performance with memory caching, where frequently-requested objects are stored in memory for faster retrieval. There are two types of caches to use: a PHP opcode cache, which is commonly called opcache, and data caching for your Web server.
For this discussion, let's ignore the PHP opcode cache and solely focus on the "data cache" (i.e. files hosted by Nextcloud).
My question is this: ZFS already does in-memory caching of frequently used data in ARC (and optionally L2ARC). Is there any real-world benefit of still slapping Redis on top of this?
I don't doubt that this can make a difference on large scale, high-performance installations but for your every-day five-people-use-it type scenario running on your own server - Would running Redis in this scenario yield any feel-able performance gains?