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

Redis Publish #556

Open
berrg opened this issue Apr 26, 2018 · 3 comments
Open

Redis Publish #556

berrg opened this issue Apr 26, 2018 · 3 comments

Comments

@berrg
Copy link

berrg commented Apr 26, 2018

I understand why subscribe can not be supported, but publish is not blocking and I can not see why not this is a supported Redis command.

If Twemproxy support publish we could have non-Twemproxy connectors to Redis with blocking subscribe listener.

@charsyam
Copy link
Contributor

@berrg There is a problem, which redis node do you subscribe?

@berrg
Copy link
Author

berrg commented Apr 26, 2018

You can e.g. listen with subscribe on all the nodes, or duplicate the sharding logic from twemproxy.

How to implement the subscribe logic is up to the external script/code since subscribe is still an unsupported twemproxy command.

@m50
Copy link

m50 commented Oct 9, 2020

#557

There is a pull request for it.

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