Skip to content
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

Can i use autopipeline feature with all keys and hashes ? #1935

Open
taltal78 opened this issue Dec 16, 2024 · 0 comments
Open

Can i use autopipeline feature with all keys and hashes ? #1935

taltal78 opened this issue Dec 16, 2024 · 0 comments

Comments

@taltal78
Copy link

Hi,
Reading autopipelining docu https://github.com/redis/ioredis#autopipelining it states:

When using Redis Cluster, one pipeline per node is created. Commands are assigned to pipelines according to which node serves the slot.
A pipeline will thus contain commands using different slots but that ultimately are assigned to the same node.
Note that the same slot limitation within a single command still holds, as it is a Redis limitation.

To make sure i understand, autopipieline is supported with any key that i use?
multiple keys (even in same node) are scattered among different hash slot (According to key) - so this sill works?
if some keys (in same node) are scattered in 3 hashslot, there wil be one pipeline with 3 commands?

what are the drawbacks or when not to use autopipelining ?

Will it be more beneficial to create pooling? (or in addition to autopipelining)

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant