-
Hi, 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.
Replies: 1 comment 2 replies
-
Hi @MAM-SYS, A sentinel client with the |
Beta Was this translation helpful? Give feedback.
With https://github.com/redis/rueidis/releases/tag/v1.0.62, the
SendToReplicas
option now works with sentinel clients. There is no need to use 2 clients for reads and writes.