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

fix: maximize chance of reusing the connection while updating #456

Merged
merged 2 commits into from
Feb 23, 2024

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented Feb 23, 2024

Previously we would gather which would open a flood of connections and since the cost of establishing the TLS connection do_handshake was higher than the actual request, it would take more wall clock time to update and was more resource intensive.

Previously we would gather which would open a flood of connections
@bdraco bdraco changed the title Maximize chance of reusing the connection while updating perf: maximize chance of reusing the connection while updating Feb 23, 2024
@bdraco bdraco marked this pull request as ready for review February 23, 2024 00:58
@alandtse
Copy link
Collaborator

Thanks. Did you notice any 408s or connection errors previously? I may consider it a fix in that case.

@bdraco
Copy link
Contributor Author

bdraco commented Feb 23, 2024

It went unavailable frequently before this change, but I didn't realize that until I looked at the history that they went away so I didn't put it in the comments as I didn't connect it until you asked

@alandtse alandtse changed the title perf: maximize chance of reusing the connection while updating fix: maximize chance of reusing the connection while updating Feb 23, 2024
@alandtse alandtse merged commit 0964170 into zabuldon:dev Feb 23, 2024
7 of 8 checks passed
alandtse added a commit that referenced this pull request Feb 23, 2024
fix: maximize chance of reusing the connection while updating (#456)
@alandtse
Copy link
Collaborator

Thanks. That's good enough for me to make it a fix.

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

Successfully merging this pull request may close these issues.

2 participants