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

Add options to control HTTPX resource limits #713

Open
carl-baillargeon opened this issue Jun 13, 2024 · 0 comments · May be fixed by #680
Open

Add options to control HTTPX resource limits #713

carl-baillargeon opened this issue Jun 13, 2024 · 0 comments · May be fixed by #680
Assignees
Labels
framework-enhancement New feature or request

Comments

@carl-baillargeon
Copy link
Contributor

Currently, asynceapi uses the default resource limits settings of HTTPX which comes with default max_connections set to 100.

In ANTA, we should be able to control these resource limits or at least the max_connections settings. Since each connection uses a file description and consumes memory, that could become problematic at a high number of devices as it adds a lot of overhead for the ANTA runner.

We can also see better performance when running with max_connections set to 5-10 using this script on Python 3.12.

@carl-baillargeon carl-baillargeon added the framework-enhancement New feature or request label Jun 13, 2024
@carl-baillargeon carl-baillargeon linked a pull request Nov 8, 2024 that will close this issue
9 tasks
@carl-baillargeon carl-baillargeon self-assigned this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework-enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant