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

Add ability to randomize the reconnect backoff time #1

Open
nickdaugherty opened this issue May 25, 2013 · 0 comments
Open

Add ability to randomize the reconnect backoff time #1

nickdaugherty opened this issue May 25, 2013 · 0 comments
Assignees

Comments

@nickdaugherty
Copy link
Owner

In the event of a dropped connection, it is likely that all clients connecting to the same service could experience the outage. For example, a Thrift server that suddenly crashes.

In this case, there will be repeated, (nearly) simultaneous reconnection attempts, which could overload some servers.

A better approach would be to add a small degree of randomization to the backoff period to ensure each connection hits the target server at different times.

@ghost ghost assigned nickdaugherty May 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant