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

[SYNPY-1533] Lower the HTTPX connection limit to 5 #1142

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

BryanFauble
Copy link
Contributor

@BryanFauble BryanFauble commented Oct 7, 2024

https://sagebionetworks.jira.com/browse/SYNPY-1533

Problem:

  1. Found in this service desk ticket: https://sagebionetworks.jira.com/browse/SYNSD-1233 a collaborator was having issues uploading files for connection/read failures during the upload process.
  2. The default HTTPX library max_connections is 100, for non-storage operations I originally lowered this to 25 as I found this to not affect any performed. This has been further lowered to 5.

Solution:

  1. Lower max_connections to 5 for both storage operations (Like connecting to S3) and Synapse operations (REST API servers)

Testing:

  1. We will need to test on a flaky connection as well as re-run a portion of the download/upload benchmarking to assess performance of the change.

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.

1 participant