-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Cross-slot command execution in Cluster #673
Labels
enhancement
New feature or request
Comments
anatolysergeev
changed the title
Support Cross-slot command execution
Support Cross-slot command execution in Cluster
Nov 12, 2022
anatolysergeev
added a commit
to anatolysergeev/zio-redis
that referenced
this issue
Feb 9, 2023
…y commands with the limitation that all keys have to be in the same slot zio#673
anatolysergeev
added a commit
to anatolysergeev/zio-redis
that referenced
this issue
Feb 12, 2023
anatolysergeev
added a commit
to anatolysergeev/zio-redis
that referenced
this issue
Feb 12, 2023
…y commands with the limitation that all keys have to be in the same slot zio#673
anatolysergeev
added a commit
to anatolysergeev/zio-redis
that referenced
this issue
Feb 12, 2023
anatolysergeev
added a commit
to anatolysergeev/zio-redis
that referenced
this issue
Feb 12, 2023
anatolysergeev
added a commit
to anatolysergeev/zio-redis
that referenced
this issue
Feb 12, 2023
anatolysergeev
added a commit
to anatolysergeev/zio-redis
that referenced
this issue
Feb 12, 2023
anatolysergeev
added a commit
to anatolysergeev/zio-redis
that referenced
this issue
Feb 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We can add support for some commands like it's been done in lettuce
Regular Redis Cluster commands are limited to single-slot keys operation – either single key commands or multi-key commands that share the same hash slot.
The cross slot limitation can be mitigated by using the advanced cluster API for a set of selected multi-key commands. Commands that operate on keys with different slots are decomposed into multiple commands. The single commands are fired in a fork/join fashion. The commands are issued concurrently to avoid synchronous chaining. Results are synchronized before the command is completed.
Following commands can be supported for cross-slot command execution:
Following commands can be executed on multiple cluster nodes operations:
The text was updated successfully, but these errors were encountered: