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 : How to guarantee HA of redis-cluster-proxy #84

Open
LiuJin1987 opened this issue Oct 26, 2020 · 2 comments
Open

Question : How to guarantee HA of redis-cluster-proxy #84

LiuJin1987 opened this issue Oct 26, 2020 · 2 comments

Comments

@LiuJin1987
Copy link

I've tried this app out and find that it is very nice!
My question is: Considering that Redis itself has replica mode to guarantee HA, is there any measure to guarantee HA of redis-cluster-proxy?
If yes, then how to use redis-cluster-proxy in replica mode? If no, then do you have any plan about this?

@ShooterIT
Copy link
Contributor

AFAIK, proxy needn't have replica mode. This repo proxy also doesn't support. For HA, maybe you can use DNS/VIP that contain many proxies ip, you parse DNS/VIP to get all proxy instances, and connect one of them. Connect another proxy instance if one is failed. Moreover, you also add into new proxy instances into DNS/VIP to guarantee there always are some available proxy instances.

@arylee
Copy link

arylee commented Jan 27, 2021

We use "keepalived" to provide a virtual IP with 3 servers.

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