-
I am using go-redis v8.11.5 with an AWS MemoryDB Redis instance Imagine a pipeline with 2 commands: where aaa and bbb hash to different shards/nodes. Is the new v9 better at handling this situation? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
ClusterClient
will group commands by the nodes that their keys shard to and issue requests to each node in parallel. The v9 client does pretty much the same thing: https://github.com/redis/go-redis/blob/v9/cluster.go#L1203-L1238.