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/Keva] Pub/sub for Sentinel #24

Open
duongcongtoai opened this issue Aug 11, 2021 · 0 comments
Open

[Sentinel/Keva] Pub/sub for Sentinel #24

duongcongtoai opened this issue Aug 11, 2021 · 0 comments

Comments

@duongcongtoai
Copy link
Collaborator

duongcongtoai commented Aug 11, 2021

Sentinels that monitor the same Redis instance discovers each other by subscribing to the channel "sentinel:hello" of that Redis instance, and publish its own information to this channel each 1 second, so that other sentinels know about it.

Keva does not have Pub/sub yet, but Sentinels need an intermediary to communicate.

At first, i think we can workaround by including sentinels information in Redis INFO command result, and sentinel can get that when it periodically make call to the instance.
And another internal endpoint for Sentinels to introduce itself to Redis instances.

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