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

Built-in load balancing and failover #12

Closed
lautaromei opened this issue Jul 21, 2014 · 2 comments
Closed

Built-in load balancing and failover #12

lautaromei opened this issue Jul 21, 2014 · 2 comments

Comments

@lautaromei
Copy link

It would be great to have high avaliability and clustering support.

@majst01
Copy link
Collaborator

majst01 commented Jul 21, 2014

Basic HA and failover is already implemented. If you configure your dns that for the given url (e.g. influxdbcluster ) all ips of all cluster members are returned, then the underlaying http connector (okhtttp) will fail over to the next server in this list, once a server does not work.

I know this is not optimal. For the long term i want to implement the ability to specify multiple server addresses, but this is not started yet.

@lautaromei
Copy link
Author

Thank you for your answer. Finally, I solved the trouble by adding some code that tries to reconnect using a hosts list, directly in the influx write try/catch.

@majst01 majst01 closed this as completed Feb 24, 2015
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