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

Create client library to reconnect / failover when using a cluster #1

Open
coryan opened this issue Aug 6, 2017 · 0 comments
Open

Comments

@coryan
Copy link
Owner

coryan commented Aug 6, 2017

Gee-H does not support multiple etcd servers, mostly because gRPC does not support them directly:

https://github.com/grpc/proposal/blob/master/A6-client-retries.md

we need to implement a client that wraps the gRPC calls and:

  1. Maintains the current list of etcd cluster members, as that list can change over time.
  2. Tries all cluster members before giving up on any operation.
  3. Defines some mechanism to timeout to avoid too many retries.
  4. Implements an exponential backoff strategy with jitter to avoid thundering herd problems when etcd servers restart.
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