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

aiohttp does not support concurrent requests exceeding 500. #8419

Open
1 task done
LeeYunhang opened this issue May 20, 2024 · 0 comments
Open
1 task done

aiohttp does not support concurrent requests exceeding 500. #8419

LeeYunhang opened this issue May 20, 2024 · 0 comments
Labels

Comments

@LeeYunhang
Copy link

Describe the bug

Concurrent requests over 500 will result in a "connect ECONNRESET" error, which seems to be random. I've noticed that the server uses the loop.create_server API, but locally, this API can support more than 10,000 concurrent requests. Could there be an issue with aiohttp's implementation?

To Reproduce

Create an aiohttp web service and use a script to simulate 1000 concurrent requests. The requests at the end might result in errors.

Expected behavior

No error

Logs/tracebacks

connect ECONNRESET

Python Version

3.10.13

aiohttp Version

latest

multidict Version

None

yarl Version

$ python -m pip show yarl

OS

macOS & Linux

Related component

Server

Additional context

No response

Code of Conduct

  • I agree to follow the aio-libs Code of Conduct
@LeeYunhang LeeYunhang added the bug label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant