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

how to support Load balance and failover #85

Open
mhlywxl opened this issue Jan 25, 2024 · 1 comment
Open

how to support Load balance and failover #85

mhlywxl opened this issue Jan 25, 2024 · 1 comment

Comments

@mhlywxl
Copy link

mhlywxl commented Jan 25, 2024

how to support Load balance and failover

@vahid-sohrabloo
Copy link
Owner

vahid-sohrabloo commented Feb 2, 2024

for now, this libs doesn't support load balancer.
I'm planning to add this feature. but it's not easy. I don't want to add a simple round-robin. It needs to support checking the replication delay and other parameters.
But it supports failover. it would be best if you used multi-host( and port if its not default)
for example

host=host1 host=host3 host=host3 ...

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

2 participants