Replies: 1 comment
-
Hi @MAM-SYS, A sentinel client with the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've been following the discussions around the ReplicaOnly flag and its implementation in this package. We're currently migrating from go-redis to rueidis, and I'm trying to understand how to replicate a specific behavior we relied on.
In go-redis, there's a NewFailoverClusterClient function that allows you to create a Sentinel-based client, and it has an option to route all readable commands to replicas. But at the same time we can use this client to send write command to master node. This setup was quite helpful for scaling reads.
Is there an equivalent feature or recommended approach for achieving this in rueidis?
Thanks in advance for any guidance!
Beta Was this translation helpful? Give feedback.
All reactions