Repository navigation
|
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? |
Answered by
marcind
May 15, 2023
Replies: 1 comment 3 replies
|
|
3 replies
Answer selected by
bibicu123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ClusterClientwill 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.