Skip to content

How is pipelining and cluster with multiple shards handled by the go-redis library #2597

Answered by marcind
bibicu123 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bibicu123
Comment options

Answer selected by bibicu123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants