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

should route to backend according to the key if server_connections > 1 #353

Open
idning opened this issue Apr 28, 2015 · 2 comments
Open

Comments

@idning
Copy link
Contributor

idning commented Apr 28, 2015

in the case of server_connections > 1

if one proxy receive 2 pipelined request:

set k v
del k

it has possibility that the del and set cmd will go to different server_connection.

and del may executed before set, so after this pipeline returned, we may find that the command in the pipeline is out of order.

this will be a problem especially in the case of import lot's of data using pipeline.

@charsyam
Copy link
Contributor

@idning yes, and actually twemproxy don't recommend server_connections > 1 in Redis.

@manjuraj
Copy link
Collaborator

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

3 participants