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

Sentinel support #97

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Sentinel support #97

wants to merge 1 commit into from

Conversation

okharitonova
Copy link

Added sentinel support. Returns master/slave connection via master name.
Choice of slave supports round-robin balancer.
Example of use:

sentinel = await Sentinel.connect(host='localhost', port=6379)

master = await sentinel.master('mymaster')
data = await master.hgetall('key')

slave = await sentinel.slave('mymaster')
data = await slave.hgetall('key')

@danigosa
Copy link

Any news into integrate this to master and bump version?

@dikderoy
Copy link

btw, I am working on a full featured sentinel support in separate package (built on top of this one), with backoff-support and also planning to add preemptive connection reconfiguration (via listening of sentinel events) - if any one interested - here is a link

@jonathansp
Copy link

Any news here?

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

Successfully merging this pull request may close these issues.

4 participants