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

[Question] - Command split #117

Closed
samber opened this issue Mar 15, 2017 · 2 comments
Closed

[Question] - Command split #117

samber opened this issue Mar 15, 2017 · 2 comments

Comments

@samber
Copy link

samber commented Mar 15, 2017

Hi,

First, thanks for you great work! 🎉

Why do you do command splitting ?
Is it to reduce redis lock time of large MGET/MSET/DEL/... ?
Did you make some measurements ?

@doyoubi
Copy link
Contributor

doyoubi commented Mar 15, 2017

Sorry, I think I don't fully understand the redis lock time you said.
Note that in redis cluster, all the keys in MGET/MSET... must be in the same shard. A large MGET will block the single node for a long time, which can have great impact on other requests in this node.

@samber
Copy link
Author

samber commented Mar 15, 2017

ok, I understand why you split: to read or write from multiple redis shards in the same command ;)

Thanks

@samber samber closed this as completed Mar 15, 2017
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

2 participants