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

more graceful connect retry behavior #150

Open
thinkingfish opened this issue Jul 6, 2018 · 2 comments
Open

more graceful connect retry behavior #150

thinkingfish opened this issue Jul 6, 2018 · 2 comments

Comments

@thinkingfish
Copy link

connect is a fairly expensive operation for the cache server, at large volume it can easily overwhelm the server thread accepting new connections temporarily, leading to test instabilities. Since it's currently impossible to coordinate different rpcperf instances at a fine granularity, I think we should introduce a few features into the connect behavior to reduce the chance of "reconnect storms":

  • allow connect to be rate-limited, and the rate can be set in the config;
  • allow timeouts to be retried with an exponential backoff, with a max cap that can be configured.
@brayniac
Copy link
Contributor

brayniac commented Aug 7, 2018

partially implemented in #162

@brayniac
Copy link
Contributor

brayniac commented Sep 9, 2019

#236 should also help with this by allowing for "soft timeouts"

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