juicefs icon indicating copy to clipboard operation
juicefs copied to clipboard

Enable Redis client cache

Open davies opened this issue 5 years ago • 3 comments

What would you like to be added:

We can enable the redis client cache by command options, which could be useful for readonly workload.

Why is this needed:

Faster is always good.

davies avatar Jan 21 '21 02:01 davies

After looking into the details of client cache, it's complicated, so we move this out of 1.0 milestone.

davies avatar Jan 21 '21 08:01 davies

I recently was trying out juicefs with a Redis instance that had a network latency of over 20ms. I was wondering whether Redis client caching is part of any foreseeable future milestones?

bigzed avatar Oct 05 '22 08:10 bigzed

Hi @davies,

Would you consider using https://github.com/redis/rueidis? It has the client cache implemented.

rueian avatar Sep 09 '23 15:09 rueian