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

vtgateproxy: add conn warmup time #465

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Commits on Jul 24, 2024

  1. add a warmup time option to discovery

    When there are a lot more targets than the number of connections in the pool,
    then it's possible that if the list of hosts changes, the builder might pick a
    totally new set of hosts than the previously selected ones, none of which will
    have established subconns.
    
    Instead of giving this new list to the picker immediately, first combine it
    with the list of hosts that were previously selected, so that those subconns
    have some time to warm up while the current set is still in the list.
    demmer committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    71273a5 View commit details
    Browse the repository at this point in the history