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

Improve connection_pool connection retry strategy #200

Open
anarthal opened this issue Dec 20, 2023 · 0 comments
Open

Improve connection_pool connection retry strategy #200

anarthal opened this issue Dec 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@anarthal
Copy link
Collaborator

  • The retry strategy is currently very simple (linear time between retries) and not configurable. When there are a lot of connections, this can saturate the network. A configurable retry strategy may be an option. An exponential backoff may be beneficial.
  • When initial_size is big, all connections attempt an establishment try at the same time. This can again cause congestion. We may want to limit this.
  • This may also cause trouble with https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_connect_errors
@anarthal anarthal added the enhancement New feature or request label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant